CVE-2024-50116

nilfs2: fix kernel bug due to missing clearing of buffer delay flag

MEDIUM
5.5
CVSS Score
Published: November 5, 2024 at 05:10 PM UTC
Updated: June 17, 2026 at 08:03 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: fix kernel bug due to missing clearing of buffer delay flag Syzbot reported that after nilfs2 reads a corrupted file system image and degrades to read-only, the BUG_ON check for the buffer delay flag in submit_bh_wbc() may fail, causing a kernel bug. This is because the buffer delay flag is not cleared when clearing the buffer state flags to discard a page/folio or a buffer head. So, fix this. This became necessary when the use of nilfs2's own page clear routine was expanded. This state inconsistency does not occur if the buffer is written normally by log writing.

Affected

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

3.10 ≤ v < 4.19.3233.10 ≤ v < 5.10.2293.10 ≤ v < 5.15.1703.10 ≤ v < 5.4.2853.10 ≤ v < 6.1.1153.10 ≤ v < 6.11.63.10 ≤ v < 6.123.10 ≤ v < 6.6.594.20 ≤ v < 5.4.2855.11 ≤ v < 5.15.1705.16 ≤ v < 6.1.1155.5 ≤ v < 5.10.2296.2 ≤ v < 6.6.596.7 ≤ v < 6.11.66.12 rc16.12 rc26.12 rc36.12 rc48c26c4e2694a163d525976e804d81cd955bbb40c
Vendor states this is fixed in 033bc52f35868c2493a2d95c56ece7fc155d7cb3 (fixed)
Vendor states this is fixed in 27524f65621f490184f2ace44cd8e5f3685af4a3 (fixed)
Vendor states this is fixed in 412a30b1b28d6073ba29c46a2b0f324c5936293f (fixed)
Vendor states this is fixed in 6ed469df0bfbef3e4b44fca954a781919db9f7ab (fixed)
Vendor states this is fixed in 743c78d455e784097011ea958b27396001181567 (fixed)
Vendor states this is fixed in 822203f6355f4b322d21e7115419f6b98284be25 (fixed)
Vendor states this is fixed in 9f2ab98371c2f2488bf3bf3f9b2a73510545e9c1 (fixed)
Vendor states this is fixed in c6f58ff2d4c552927fe9a187774e668ebba6c7aa (fixed)
Vendor states this is fixed in 3.10 (unaffected)
Vendor states this is fixed in 4.19.323 (unaffected)
Vendor states this is fixed in 5.10.229 (unaffected)
Vendor states this is fixed in 5.15.170 (unaffected)
Vendor states this is fixed in 5.4.285 (unaffected)
Vendor states this is fixed in 6.1.115 (unaffected)
Vendor states this is fixed in 6.11.6 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.59 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/033bc52f35868c2493a2d95c56ece7fc155d7cb3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/27524f65621f490184f2ace44cd8e5f3685af4a3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/412a30b1b28d6073ba29c46a2b0f324c5936293f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6ed469df0bfbef3e4b44fca954a781919db9f7ab
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/743c78d455e784097011ea958b27396001181567
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/822203f6355f4b322d21e7115419f6b98284be25
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9f2ab98371c2f2488bf3bf3f9b2a73510545e9c1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c6f58ff2d4c552927fe9a187774e668ebba6c7aa

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

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

CVSS

5.5MEDIUMCISA-ADP
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