ovl: Use "buf" flexible array for memcpy() destination
In the Linux kernel, the following vulnerability has been resolved: ovl: Use "buf" flexible array for memcpy() destination The "buf" flexible array needs to be the memcpy() destination to avoid false positive run-time warning from the recent FORTIFY_SOURCE hardening: memcpy: detected field-spanning write (size 93) of single field "&fh->fb" at fs/overlayfs/export.c:799 (size 21)
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.248, 5.15.93, 6.1.11
- CVEs
- CVE-2022-49743
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:54 UTC · Revision 1
Source evidence
ovl: Use "buf" flexible array for memcpy() destination
core-osv · Original sourcePublished 27 Mar 2025, 16:42 UTC
In the Linux kernel, the following vulnerability has been resolved: ovl: Use "buf" flexible array for memcpy() destination The "buf" flexible array needs to be the memcpy() destination to avoid false positive run-time warning from the recent FORTIFY_SOURCE hardening: memcpy: detected field-spanning write (size 93) of single field "&fh->fb" at fs/overlayfs/export.c:799 (size 21)
osv:CVE-2022-49743
Kernel
Fixed versions: 5.10.248, 5.15.93, 6.1.11
Complete source record
{
"id": "b5ddead6f5102b3bdffde1cde6493e65a420695c05f2efca8167c59b6e890199",
"url": "https://osv.dev/vulnerability/CVE-2022-49743",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ovl: Use \"buf\" flexible array for memcpy() destination",
"summary": "In the Linux kernel, the following vulnerability has been resolved: ovl: Use \"buf\" flexible array for memcpy() destination The \"buf\" flexible array needs to be the memcpy() destination to avoid false positive run-time warning from the recent FORTIFY_SOURCE hardening: memcpy: detected field-spanning write (size 93) of single field \"&fh->fb\" at fs/overlayfs/export.c:799 (size 21)",
"evidence": "osv:CVE-2022-49743",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.248",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.93",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.11",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2022-49743",
"aliases": [
"CVE-2022-49743"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "cbe7fba8edfc8cb8e621599e376f8ac5c224fa72"
},
{
"fixed": "012cdef22000f3104e4fa8224ad29fde509b8caf"
},
{
"fixed": "a77141a06367825d639ac51b04703d551163e36c"
},
{
"fixed": "07a96977b2f462337a9121302de64277b8747ab1"
},
{
"fixed": "cf8aa9bf97cadf85745506c6a3e244b22c268d63"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49743.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.248"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.93"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.11"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49743.json"
}
}
],
"modified": "2026-10-28T02:30:22.021659070Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/012cdef22000f3104e4fa8224ad29fde509b8caf",
"https://git.kernel.org/stable/c/07a96977b2f462337a9121302de64277b8747ab1",
"https://git.kernel.org/stable/c/a77141a06367825d639ac51b04703d551163e36c",
"https://git.kernel.org/stable/c/cf8aa9bf97cadf85745506c6a3e244b22c268d63",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49743.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-49743",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49743.json"
}
},
"related_cves": [
{
"value": "CVE-2022-49743",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 487967,
"published_at": "2025-03-27T16:42:54.289+00:00"
}