CVE-2024-42295

published 17 Aug 2024 · updated 11 May 2026

nilfs2: handle inconsistent state in nilfs_btnode_create_block()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 012be828a118bf496e666ef1fc47fc0e7358ada2, Kernel 02b87e6334a38c65eef49848d3f1ac422f0b2a44, Kernel 19cce46238ffe3546e44b9c74057103ff8b24c62 and 5 more.

In the Linux kernel, the following vulnerability has been resolved: nilfs2: handle inconsistent state in nilfs_btnode_create_block() Syzbot reported that a buffer state inconsistency was detected in nilfs_btnode_create_block(), triggering a kernel bug. It is not appropriate to treat this inconsistency as a bug; it can occur if the argument block address (the buffer index of the newly created block) is a virtual block number and has been reallocated due to corruption of the bitmap used to manage its allocation state. So, modify nilfs_btnode_create_block() and its callers to treat it as a possible filesystem error, rather than triggering a kernel bug.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.30, >=a60be987d45dd510aeb54389526f9957cfab106c <012be828a118bf496e666ef1fc47fc0e7358ada2, >=a60be987d45dd510aeb54389526f9957cfab106c <02b87e6334a38c65eef49848d3f1ac422f0b2a44, >=a60be987d45dd510aeb54389526f9957cfab106c <19cce46238ffe3546e44b9c74057103ff8b24c62, >=a60be987d45dd510aeb54389526f9957cfab106c <366c3f688dd0288cbe38af1d3a886b5c62372e4a, >=a60be987d45dd510aeb54389526f9957cfab106c <4811f7af6090e8f5a398fbdd766f903ef6c0d787, >=a60be987d45dd510aeb54389526f9957cfab106c <5f0a6800b8aec1b453c7fe4c44fcaac5ffe9d52e, >=a60be987d45dd510aeb54389526f9957cfab106c <be56dfc9be0604291267c07b0e27a69a6bda4899, >=a60be987d45dd510aeb54389526f9957cfab106c <e34191cce3ee63dfa5fb241904aaf2a042d5b6d8012be828a118bf496e666ef1fc47fc0e7358ada2, 02b87e6334a38c65eef49848d3f1ac422f0b2a44, 19cce46238ffe3546e44b9c74057103ff8b24c62, 366c3f688dd0288cbe38af1d3a886b5c62372e4a, 4811f7af6090e8f5a398fbdd766f903ef6c0d787, 5f0a6800b8aec1b453c7fe4c44fcaac5ffe9d52e, be56dfc9be0604291267c07b0e27a69a6bda4899, e34191cce3ee63dfa5fb241904aaf2a042d5b6d8

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-42295 severity on Zeptric[![CVE-2024-42295](https://zeptric.io/badge/cve/CVE-2024-42295.svg)](https://zeptric.io/cve/CVE-2024-42295)