f2fs: fix information leak in f2fs_move_inline_dirents()
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix information leak in f2fs_move_inline_dirents() When converting an inline directory to a regular one, f2fs is leaking uninitialized memory to disk because it doesn't initialize the entire directory block. Fix this by zero-initializing the block. This bug was introduced by commit 4ec17d688d74 ("f2fs: avoid unneeded initializing when converting inline dentry"), which didn't consider the security implications of leaking uninitialized memory to disk. This was found by running xfstest generic/435 on a KMSAN-enabled kernel.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.14.308, 4.19.276, 5.10.173, 5.15.99, 5.4.235, 6.1.16, 6.2.3
- CVEs
- CVE-2023-53796
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 01:20 UTC · Revision 1
Source evidence
f2fs: fix information leak in f2fs_move_inline_dirents()
core-osv · Original sourcePublished 9 Dec 2025, 00:00 UTC
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix information leak in f2fs_move_inline_dirents() When converting an inline directory to a regular one, f2fs is leaking uninitialized memory to disk because it doesn't initialize the entire directory block. Fix this by zero-initializing the block. This bug was introduced by commit 4ec17d688d74 ("f2fs: avoid unneeded initializing when converting inline dentry"), which didn't consider the security implications of leaking uninitialized memory to disk. This was found by running xfstest generic/435 on a KMSAN-enabled kernel.
osv:CVE-2023-53796
Kernel
Fixed versions: 4.14.308, 4.19.276, 5.4.235, 5.10.173, 5.15.99, 6.1.16, 6.2.3
Complete source record
{
"id": "f3764b4aeb29c975152298452d91a1614c7c0687a240a90884c51014d5cfbc73",
"url": "https://osv.dev/vulnerability/CVE-2023-53796",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "f2fs: fix information leak in f2fs_move_inline_dirents()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: f2fs: fix information leak in f2fs_move_inline_dirents() When converting an inline directory to a regular one, f2fs is leaking uninitialized memory to disk because it doesn't initialize the entire directory block. Fix this by zero-initializing the block. This bug was introduced by commit 4ec17d688d74 (\"f2fs: avoid unneeded initializing when converting inline dentry\"), which didn't consider the security implications of leaking uninitialized memory to disk. This was found by running xfstest generic/435 on a KMSAN-enabled kernel.",
"evidence": "osv:CVE-2023-53796",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.14.308",
"evidence": "/affected/1/ranges"
},
{
"value": "4.19.276",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.235",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.173",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.99",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.16",
"evidence": "/affected/1/ranges"
},
{
"value": "6.2.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2023-53796",
"aliases": [
"CVE-2023-53796"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "4ec17d688d74b6b7cb10043c57ff4818cde2b0ca"
},
{
"fixed": "4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7"
},
{
"fixed": "a6807ef0f3b3d8508d3b07a2e35de8a91820a014"
},
{
"fixed": "2bef8314fcf94ddc27e22d03f237c0fafd00de33"
},
{
"fixed": "00b5587326625d0fddb2a5f5a3d4acd950102ace"
},
{
"fixed": "117d4f6687b1f74423b5d398ea95c63b262a8e73"
},
{
"fixed": "f07a8d61b6ea81bb3cbe0638af40f8824d6147fd"
},
{
"fixed": "eebaecef0095bb8f493c03982da75c6e7bae1056"
},
{
"fixed": "9a5571cff4ffcfc24847df9fd545cc5799ac0ee5"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53796.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.3.0"
},
{
"fixed": "4.14.308"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "4.19.276"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.235"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.173"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.99"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.16"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.2.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53796.json"
}
}
],
"modified": "2026-10-28T02:30:45.583946500Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/00b5587326625d0fddb2a5f5a3d4acd950102ace",
"https://git.kernel.org/stable/c/117d4f6687b1f74423b5d398ea95c63b262a8e73",
"https://git.kernel.org/stable/c/2bef8314fcf94ddc27e22d03f237c0fafd00de33",
"https://git.kernel.org/stable/c/4e3b4b170bd43db1d8a93a6bd0ea434b17cc86f7",
"https://git.kernel.org/stable/c/9a5571cff4ffcfc24847df9fd545cc5799ac0ee5",
"https://git.kernel.org/stable/c/a6807ef0f3b3d8508d3b07a2e35de8a91820a014",
"https://git.kernel.org/stable/c/eebaecef0095bb8f493c03982da75c6e7bae1056",
"https://git.kernel.org/stable/c/f07a8d61b6ea81bb3cbe0638af40f8824d6147fd",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53796.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-53796",
"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/2023/53xxx/CVE-2023-53796.json"
}
},
"related_cves": [
{
"value": "CVE-2023-53796",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 513799,
"published_at": "2025-12-09T00:00:52.919+00:00"
}