Vendors › Linux
CVE-2025-40054
High (7.8) EPSS 0.2% Linux · fs
Linux kernel: f2fs: fix UAF issue in f2fs_merge_page_bio()
A vulnerability in the Linux kernel fs subsystem (fs/f2fs/data.c), assigned CVE-2025-40054. The issue was introduced in kernel 5.5 and is fixed in 5.10.266, 5.15.217, 6.1.184, 6.6.153, 6.12.105, 6.17.3, 6.18. Updating to a fixed stable release resolves it.
| Published | 2025-10-28 |
| Updated | 2026-08-23 |
| Affected | Linux kernel 5.5 and later, before the fix (fixed in 5.10.266, 5.15.217, 6.1.184, 6.6.153, 6.12.105, 6.17.3, 6.18) |
| Fix | Update to kernel 5.10.266, 5.15.217, 6.1.184, 6.6.153, 6.12.105, 6.17.3, 6.18 or later |
| Vendor advisory | https://cve.org/CVERecord/?id=CVE-2025-40054 |
CVEs (1)
| CVE | CWE | Type | Impact | Links |
|---|---|---|---|---|
| CVE-2025-40054 | — | Other | Other | NVD · CVE.org · EUVD |
CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.
Open in the CVEMesh app Create a free account
Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.
CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.