CVE-2024-41034
kernel: nilfs2: fix kernel bug on rename operation of broken directory
Overview
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().
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 108 fixes
Oracle Linux 3 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | kernel-uek-headers +1 | 4.14.35-2047.541.4.1.el7uek |
| 7 | kernel-uek-container +1 | 5.4.17-2136.335.4.el7 |
| 7 | kernel-uek +8 | 5.4.17-2136.335.4.el7uek |
| 8 | bpftool +13 | 5.15.0-210.163.7.el8uek |
| 9 | bpftool +13 | 5.15.0-210.163.7.el9uek |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | bpftool +9 | 5.10.222-1.ph4 |
| 5.0 | bpftool +10 | 6.1.102-1.ph5 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 5.10.223-1 |
| 11 | linux-6-1 | 6.1.119-1~deb11u1 |
| 12 | linux | 6.1.106-1 |
| 13 | linux | 6.9.10-1 |
| 14 | linux | 6.9.10-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.9.10-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 5.10.223-1 |
| 12 | rootio-linux | 6.1.106-1 |
| 13 | rootio-linux | 6.9.10-1 |
root.io ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | rootio-linux | 5.15.0-121.131 |
| 24.04 | rootio-linux | 6.8.0-48.48 |
ubuntu 5 releases · 49 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | linux +5 | affected |
| 18.04-ESM | linux-ibm-5-4 | 5.4.0-1079.84~18.04.1 |
| 18.04-ESM | linux-raspi-5-4 | 5.4.0-1116.128~18.04.1 |
| 18.04-ESM | linux-oracle-5-4 | 5.4.0-1131.140~18.04.1 |
| 18.04-ESM | linux-aws-5-4 | 5.4.0-1132.142~18.04.1 |
| 18.04-ESM | linux-gcp-5-4 | 5.4.0-1136.145~18.04.1 |
84 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-41034
- git.kernel.org https://git.kernel.org/linus/a9e1ddc09ca55746079cc479aa3eb6411f0d99d4 (6.10)
- git.kernel.org https://git.kernel.org/stable/c/1a8879c0771a68d70ee2e5e66eea34207e8c6231
- git.kernel.org https://git.kernel.org/stable/c/24c1c8566a9b6be51f5347be2ea76e25fc82b11e
- git.kernel.org https://git.kernel.org/stable/c/298cd810d7fb687c90a14d8f9fd1b8719a7cb8a5
- git.kernel.org https://git.kernel.org/stable/c/60f61514374e4a0c3b65b08c6024dd7e26150bfd
- git.kernel.org https://git.kernel.org/stable/c/7000b438dda9d0f41a956fc9bffed92d2eb6be0d
- git.kernel.org https://git.kernel.org/stable/c/a9a466a69b85059b341239766a10efdd3ee68a4b
- git.kernel.org https://git.kernel.org/stable/c/a9e1ddc09ca55746079cc479aa3eb6411f0d99d4
- git.kernel.org https://git.kernel.org/stable/c/ff9767ba2cb949701e45e6e4287f8af82986b703
Show all 38 references
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-41034.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-12779.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2024072922-CVE-2024-41034-7593@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-41034
- ubuntu.com https://ubuntu.com/security/notices/USN-7003-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7003-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7003-3
- ubuntu.com https://ubuntu.com/security/notices/USN-7003-4
- ubuntu.com https://ubuntu.com/security/notices/USN-7003-5
- ubuntu.com https://ubuntu.com/security/notices/USN-7006-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7007-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7007-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7007-3
- ubuntu.com https://ubuntu.com/security/notices/USN-7009-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7009-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7019-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7089-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7089-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7089-3
- ubuntu.com https://ubuntu.com/security/notices/USN-7089-4
- ubuntu.com https://ubuntu.com/security/notices/USN-7089-5
- ubuntu.com https://ubuntu.com/security/notices/USN-7089-6
- ubuntu.com https://ubuntu.com/security/notices/USN-7089-7
- ubuntu.com https://ubuntu.com/security/notices/USN-7090-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7095-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7156-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-41034
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.