CVE-2024-42295

nilfs2: handle inconsistent state in nilfs_btnode_create_block()

MEDIUM
5.5
CVSS Score
Published: August 17, 2024 at 09:09 AM UTC
Updated: June 17, 2026 at 07:49 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.30 ≤ v < 4.19.3202.6.30 ≤ v < 5.10.2242.6.30 ≤ v < 5.15.1652.6.30 ≤ v < 5.4.2822.6.30 ≤ v < 6.1.1032.6.30 ≤ v < 6.10.32.6.30 ≤ v < 6.112.6.30 ≤ v < 6.6.444.20 ≤ v < 5.4.2825.11 ≤ v < 5.15.1655.16 ≤ v < 6.1.1035.5 ≤ v < 5.10.2246.2 ≤ v < 6.6.446.7 ≤ v < 6.10.32.6.30a60be987d45dd510aeb54389526f9957cfab106c
Vendor states this is fixed in 012be828a118bf496e666ef1fc47fc0e7358ada2 (fixed)
Vendor states this is fixed in 02b87e6334a38c65eef49848d3f1ac422f0b2a44 (fixed)
Vendor states this is fixed in 19cce46238ffe3546e44b9c74057103ff8b24c62 (fixed)
Vendor states this is fixed in 366c3f688dd0288cbe38af1d3a886b5c62372e4a (fixed)
Vendor states this is fixed in 4811f7af6090e8f5a398fbdd766f903ef6c0d787 (fixed)
Vendor states this is fixed in 5f0a6800b8aec1b453c7fe4c44fcaac5ffe9d52e (fixed)
Vendor states this is fixed in be56dfc9be0604291267c07b0e27a69a6bda4899 (fixed)
Vendor states this is fixed in e34191cce3ee63dfa5fb241904aaf2a042d5b6d8 (fixed)
Vendor states this is fixed in 2.6.30 (unaffected)
Vendor states this is fixed in 4.19.320 (unaffected)
Vendor states this is fixed in 5.10.224 (unaffected)
Vendor states this is fixed in 5.15.165 (unaffected)
Vendor states this is fixed in 5.4.282 (unaffected)
Vendor states this is fixed in 6.1.103 (unaffected)
Vendor states this is fixed in 6.10.3 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.44 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/012be828a118bf496e666ef1fc47fc0e7358ada2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/02b87e6334a38c65eef49848d3f1ac422f0b2a44
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/19cce46238ffe3546e44b9c74057103ff8b24c62
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/366c3f688dd0288cbe38af1d3a886b5c62372e4a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4811f7af6090e8f5a398fbdd766f903ef6c0d787
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5f0a6800b8aec1b453c7fe4c44fcaac5ffe9d52e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/be56dfc9be0604291267c07b0e27a69a6bda4899
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e34191cce3ee63dfa5fb241904aaf2a042d5b6d8

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card