CVE-2024-42295

nilfs2: handle inconsistent state in nilfs_btnode_create_block()

State
Published
Severity
Not scored
Published
Aug 17, 2024
Updated
May 11, 2026
Reserved
Jul 30, 2024

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a60be987d45dd510aeb54389526f9957cfab106c to before 19cce46238ffe3546e44b9c74057103ff8b24c62Affected
  • a60be987d45dd510aeb54389526f9957cfab106c to before 02b87e6334a38c65eef49848d3f1ac422f0b2a44Affected
  • a60be987d45dd510aeb54389526f9957cfab106c to before 5f0a6800b8aec1b453c7fe4c44fcaac5ffe9d52eAffected
  • a60be987d45dd510aeb54389526f9957cfab106c to before e34191cce3ee63dfa5fb241904aaf2a042d5b6d8Affected
  • a60be987d45dd510aeb54389526f9957cfab106c to before 012be828a118bf496e666ef1fc47fc0e7358ada2Affected
  • a60be987d45dd510aeb54389526f9957cfab106c to before be56dfc9be0604291267c07b0e27a69a6bda4899Affected
  • a60be987d45dd510aeb54389526f9957cfab106c to before 366c3f688dd0288cbe38af1d3a886b5c62372e4aAffected
  • a60be987d45dd510aeb54389526f9957cfab106c to before 4811f7af6090e8f5a398fbdd766f903ef6c0d787Affected
LinuxLinux
  • 2.6.30Affected
  • before 2.6.30Not affected
  • 4.19.320 through 4.19.*Not affected
  • 5.4.282 through 5.4.*Not affected
  • 5.10.224 through 5.10.*Not affected
  • 5.15.165 through 5.15.*Not affected
  • 6.1.103 through 6.1.*Not affected
  • 6.6.44 through 6.6.*Not affected
  • 6.10.3 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.