CVE-2024-50230

nilfs2: fix kernel bug due to missing clearing of checked flag

HIGH
7.8
CVSS Score
Published: November 9, 2024 at 10:14 AM UTC
Updated: August 5, 2026 at 12:05 PM 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
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix kernel bug due to missing clearing of checked flag Syzbot reported that in directory operations after nilfs2 detects filesystem corruption and degrades to read-only, __block_write_begin_int(), which is called to prepare block writes, may fail the BUG_ON check for accesses exceeding the folio/page size, triggering a kernel bug. This was found to be because the "checked" flag of a page/folio was not cleared when it was discarded by nilfs2's own routine, which causes the sanity check of directory entries to be skipped when the directory page/folio is reloaded. So, fix that. This was necessary when the use of nilfs2's own page discard routine was applied to more than just metadata files.

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.1713.10 ≤ v < 5.4.2853.10 ≤ v < 6.1.1163.10 ≤ v < 6.11.73.10 ≤ v < 6.123.10 ≤ v < 6.6.604.20 ≤ v < 5.4.2855.11 ≤ v < 5.15.1715.16 ≤ v < 6.1.1165.5 ≤ v < 5.10.2296.2 ≤ v < 6.6.606.7 ≤ v < 6.11.76.12 rc16.12 rc26.12 rc36.12 rc46.12 rc58c26c4e2694a163d525976e804d81cd955bbb40c
Vendor states this is fixed in 41e192ad2779cae0102879612dfe46726e4396aa (fixed)
Vendor states this is fixed in 56c6171932a7fb267ac6cb4ff8759b93ee1d0e2e (fixed)
Vendor states this is fixed in 64afad73e4623308d8943645e5631f2c7a2d7971 (fixed)
Vendor states this is fixed in 994b2fa13a6c9cf3feca93090a9c337d48e3d60d (fixed)
Vendor states this is fixed in aa0cee46c5d3fd9a39575a4c8a4f65f25f095b89 (fixed)
Vendor states this is fixed in cd0cdb51b15203fa27d4b714be83b7dfffa0b752 (fixed)
Vendor states this is fixed in f05dbebb8ee34882505d53d83af7d18f28a49248 (fixed)
Vendor states this is fixed in f2f1fa446676c21edb777e6d2bc4fa8f956fab68 (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.171 (unaffected)
Vendor states this is fixed in 5.4.285 (unaffected)
Vendor states this is fixed in 6.1.116 (unaffected)
Vendor states this is fixed in 6.11.7 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.60 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/41e192ad2779cae0102879612dfe46726e4396aa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/56c6171932a7fb267ac6cb4ff8759b93ee1d0e2e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/64afad73e4623308d8943645e5631f2c7a2d7971
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/994b2fa13a6c9cf3feca93090a9c337d48e3d60d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aa0cee46c5d3fd9a39575a4c8a4f65f25f095b89
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cd0cdb51b15203fa27d4b714be83b7dfffa0b752
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f05dbebb8ee34882505d53d83af7d18f28a49248
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f2f1fa446676c21edb777e6d2bc4fa8f956fab68

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

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

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

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