CVE-2024-41034

nilfs2: fix kernel bug on rename operation of broken directory

MEDIUM
5.5
CVSS Score
Published: July 29, 2024 at 02:31 PM UTC
Updated: August 5, 2026 at 12:04 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
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix kernel bug on rename operation of broken directory Syzbot reported that in rename directory operation on broken directory on nilfs2, __block_write_begin_int() called to prepare block write may fail BUG_ON check for access exceeding the folio/page size. This is because nilfs_dotdot(), which gets parent directory reference entry ("..") of the directory to be moved or renamed, does not check consistency enough, and may return location exceeding folio/page size for broken directories. Fix this issue by checking required directory entries ("." and "..") in the first chunk of the directory in nilfs_dotdot().

Affected

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

2.6.30 ≤ v < 4.19.3182.6.30 ≤ v < 5.10.2222.6.30 ≤ v < 5.15.1632.6.30 ≤ v < 5.4.2802.6.30 ≤ v < 6.1.1002.6.30 ≤ v < 6.102.6.30 ≤ v < 6.6.412.6.30 ≤ v < 6.9.104.20 ≤ v < 5.4.2805.11 ≤ v < 5.15.1635.16 ≤ v < 6.1.1005.5 ≤ v < 5.10.2226.2 ≤ v < 6.6.416.7 ≤ v < 6.9.102ba466d74ed74f073257f86e61519cb8f8f461846.10 rc16.10 rc26.10 rc36.10 rc46.10 rc56.10 rc66.10 rc7
Vendor states this is fixed in 1a8879c0771a68d70ee2e5e66eea34207e8c6231 (fixed)
Vendor states this is fixed in 24c1c8566a9b6be51f5347be2ea76e25fc82b11e (fixed)
Vendor states this is fixed in 298cd810d7fb687c90a14d8f9fd1b8719a7cb8a5 (fixed)
Vendor states this is fixed in 60f61514374e4a0c3b65b08c6024dd7e26150bfd (fixed)
Vendor states this is fixed in 7000b438dda9d0f41a956fc9bffed92d2eb6be0d (fixed)
Vendor states this is fixed in a9a466a69b85059b341239766a10efdd3ee68a4b (fixed)
Vendor states this is fixed in a9e1ddc09ca55746079cc479aa3eb6411f0d99d4 (fixed)
Vendor states this is fixed in ff9767ba2cb949701e45e6e4287f8af82986b703 (fixed)
Vendor states this is fixed in 2.6.30 (unaffected)
Vendor states this is fixed in 4.19.318 (unaffected)
Vendor states this is fixed in 5.10.222 (unaffected)
Vendor states this is fixed in 5.15.163 (unaffected)
Vendor states this is fixed in 5.4.280 (unaffected)
Vendor states this is fixed in 6.1.100 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.41 (unaffected)
Vendor states this is fixed in 6.9.10 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1a8879c0771a68d70ee2e5e66eea34207e8c6231
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24c1c8566a9b6be51f5347be2ea76e25fc82b11e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/298cd810d7fb687c90a14d8f9fd1b8719a7cb8a5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/60f61514374e4a0c3b65b08c6024dd7e26150bfd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7000b438dda9d0f41a956fc9bffed92d2eb6be0d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9a466a69b85059b341239766a10efdd3ee68a4b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9e1ddc09ca55746079cc479aa3eb6411f0d99d4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ff9767ba2cb949701e45e6e4287f8af82986b703

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