f2fs: fix dentry folio leak in find_in_level
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix dentry folio leak in find_in_level find_in_level() gets a dentry folio with f2fs_find_data_folio() before calling find_in_block(). If find_in_block() returns an error, the function stores the error in res_folio and breaks out of the loop without dropping the dentry folio. This leaks the folio reference on the find_in_block() error path. Drop the dentry folio before returning the error to the caller.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.224, 6.1.191, 6.12.112, 6.18.51, 6.6.160, 7.2.5
- CVEs
- CVE-2026-89837
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:58 UTC · Revision 1
Source evidence
f2fs: fix dentry folio leak in find_in_level
core-osv · Original sourcePublished 16 Sept 2026, 10:31 UTC
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix dentry folio leak in find_in_level find_in_level() gets a dentry folio with f2fs_find_data_folio() before calling find_in_block(). If find_in_block() returns an error, the function stores the error in res_folio and breaks out of the loop without dropping the dentry folio. This leaks the folio reference on the find_in_block() error path. Drop the dentry folio before returning the error to the caller.
osv:CVE-2026-89837
Kernel
Fixed versions: 5.15.224, 6.1.191, 6.6.160, 6.12.112, 6.18.51, 7.2.5
Complete source record
{
"id": "e753a5b874f8aadd74052f2ef47d7e0b92c9b87039ebd48af73f1082c95035fc",
"url": "https://osv.dev/vulnerability/CVE-2026-89837",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "f2fs: fix dentry folio leak in find_in_level",
"summary": "In the Linux kernel, the following vulnerability has been resolved: f2fs: fix dentry folio leak in find_in_level find_in_level() gets a dentry folio with f2fs_find_data_folio() before calling find_in_block(). If find_in_block() returns an error, the function stores the error in res_folio and breaks out of the loop without dropping the dentry folio. This leaks the folio reference on the find_in_block() error path. Drop the dentry folio before returning the error to the caller.",
"evidence": "osv:CVE-2026-89837",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.224",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.191",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.160",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.112",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.51",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-89837",
"aliases": [
"CVE-2026-89837"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "7ad08a58bf67594057362e45cbddd3e27e53e557"
},
{
"fixed": "d2011b371fcb9247b2ef4ea2d852401a6c82ab88"
},
{
"fixed": "3b8593f7965fcb22672d98b55ae2e9410ea3d9f7"
},
{
"fixed": "b6c0e77d950bf80ab357e2b4b9667f4389ed417c"
},
{
"fixed": "af9cc316d31371824de8d409260a2ab9759dd51c"
},
{
"fixed": "aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922"
},
{
"fixed": "93a3e6a4c9e726a13a935963e8dc43d181db1527"
},
{
"fixed": "cca7d3e30bf30333314e31bc70b9a739f1342167"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89837.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.224"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.191"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.160"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.112"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.51"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89837.json"
}
}
],
"modified": "2026-11-01T02:30:17.939405390Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/3b8593f7965fcb22672d98b55ae2e9410ea3d9f7",
"https://git.kernel.org/stable/c/93a3e6a4c9e726a13a935963e8dc43d181db1527",
"https://git.kernel.org/stable/c/aefb4b0f465b6f95fe02b52d1822a3fb4a9ae922",
"https://git.kernel.org/stable/c/af9cc316d31371824de8d409260a2ab9759dd51c",
"https://git.kernel.org/stable/c/b6c0e77d950bf80ab357e2b4b9667f4389ed417c",
"https://git.kernel.org/stable/c/cca7d3e30bf30333314e31bc70b9a739f1342167",
"https://git.kernel.org/stable/c/d2011b371fcb9247b2ef4ea2d852401a6c82ab88",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89837.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-89837",
"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/2026/89xxx/CVE-2026-89837.json"
}
},
"related_cves": [
{
"value": "CVE-2026-89837",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 504981,
"published_at": "2026-09-16T10:31:11.557+00:00"
}