{"id":"CVE-2022-49743","aliases":["CVE-2022-49743"],"related":[],"kind":"vulnerability","state":"published","title":"ovl: Use \"buf\" flexible array for memcpy() destination","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: Use \"buf\" flexible array for memcpy() destination\n\nThe \"buf\" flexible array needs to be the memcpy() destination to avoid\nfalse positive run-time warning from the recent FORTIFY_SOURCE\nhardening:\n\n  memcpy: detected field-spanning write (size 93) of single field \"&fh->fb\"\n  at fs/overlayfs/export.c:799 (size 21)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\novl: Use \"buf\" flexible array for memcpy() destination\n\nThe \"buf\" flexible array needs to be the memcpy() destination to avoid\nfalse positive run-time warning from the recent FORTIFY_SOURCE\nhardening:\n\n  memcpy: detected field-spanning write (size 93) of single field \"&fh->fb\"\n  at fs/overlayfs/export.c:799 (size 21)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ovl: Usar la matriz flexible \"buf\" para el destino de memcpy() La matriz flexible \"buf\" debe ser el destino de memcpy() para evitar una advertencia de tiempo de ejecución de falsos positivos del reciente endurecimiento de FORTIFY_SOURCE: memcpy: se detectó una escritura que abarca el campo (tamaño 93) de un solo campo \"&amp;fh-&gt;fb\" en fs/overlayfs/export.c:799 (tamaño 21)","source":"nvd"}],"published":"2025-03-27T16:42:54.289Z","modified":"2026-10-15T22:17:24.880Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"cbe7fba8edfc8cb8e621599e376f8ac5c224fa72","fixed":"012cdef22000f3104e4fa8224ad29fde509b8caf","status":"affected"},{"type":"git","introduced":"cbe7fba8edfc8cb8e621599e376f8ac5c224fa72","fixed":"a77141a06367825d639ac51b04703d551163e36c","status":"affected"},{"type":"git","introduced":"cbe7fba8edfc8cb8e621599e376f8ac5c224fa72","fixed":"07a96977b2f462337a9121302de64277b8747ab1","status":"affected"},{"type":"git","introduced":"cbe7fba8edfc8cb8e621599e376f8ac5c224fa72","fixed":"cf8aa9bf97cadf85745506c6a3e244b22c268d63","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.93","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.11","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.15.93"},{"status":"affected","introduced":"5.16","fixed":"6.1.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/012cdef22000f3104e4fa8224ad29fde509b8caf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a77141a06367825d639ac51b04703d551163e36c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07a96977b2f462337a9121302de64277b8747ab1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf8aa9bf97cadf85745506c6a3e244b22c268d63","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-15T21:18:12.828Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49743","url":"https://www.cve.org/CVERecord?id=CVE-2022-49743","licence":"CVE Terms of Use","modified":"2026-10-15T21:21:07.990Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49743","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49743","licence":"Public domain","modified":"2026-10-15T22:17:24.880Z"}],"updatedAt":"2026-11-25T22:58:20.841Z","epss":{"score":0.00691,"percentile":0.48152,"date":"2026-11-30T12:00:22.000Z"}}