CVEvulnerability

CVE-2024-41034

5.5 MEDIUM Published 2024-07-29 Modified 2026-08-04 Official page ↗
Status
Modified
Published
2024-07-29
Last modified
2026-08-04
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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 configurations

• linux linux kernel (>= 2.6.30 < 4.19.318) • linux linux kernel (>= 4.20 < 5.4.280) • linux linux kernel (>= 5.5 < 5.10.222) • linux linux kernel (>= 5.11 < 5.15.163) • linux linux kernel (>= 5.16 < 6.1.100) • linux linux kernel (>= 6.2 < 6.6.41) • linux linux kernel (>= 6.7 < 6.9.10) • linux linux kernel 6.10

References