CVE-2024-41014
published high CVSS 3.1 · 7.1xfs: add bounds checking to xlog_recover_process_data
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d1e3efe783365db59da88f08a2e0bfe1cc95b143 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7cd9f0a33e738cd58876f1bc8d6c1aa5bc4fc8c1 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fb63435b7c7dc112b1ae1baea5486e0a6e27b196 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 6.1.120 through 6.1.* (unaffected · semver) · 6.6.64 through 6.6.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-809 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.128-1~deb11u1 | DLA-4076-1 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-kvm | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-kvm | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.22.1.rt7.363.el8_10 | ALSA-2024:7001 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.22.1.el8_10 | ALSA-2024:7000 |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.42.1.el9_4 | ALSA-2024:8617 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: xfs: add bounds checking to xlog_recover_process_data There is a lack of verification of the space occupied by fixed members of xlog_op_header in the xlog_recover_process_data. We can create a crafted image to trigger an out of bounds read by following these steps: 1) Mount an image of xfs, and do some file operations to leave records 2) Before umounting, copy the image for subsequent steps to simulate abnormal exit. Because umount will ensure that tail_blk and head_blk are the same, which will result in the inability to enter xlog_recover_process_data 3) Write a tool to parse and modify the copied image in step 2 4) Make the end of the xlog_op_header entries only 1 byte away from xlog_rec_header->h_size 5) xlog_rec_header->h_num_logops++ 6) Modify xlog_rec_header->h_crc Fix: Add a check to make sure there is sufficient space to access fixed members of xlog_op_header.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:L - The vulnerable code is only reached through XFS log recovery at mount time (`xfs_log_mount()` → `xlog_recover()` → `xlog_do_recovery_pass()`), which requires the crafted filesystem image to be presented locally as a block device or loop-mounted file. There is no network-facing path to `xlog_recover_process_data()`. AC:L - The attacker fully controls the on-disk log: placing the final `xlog_op_header` one byte short of `h_len`, incrementing `h_num_logops`, and recomputing `h_crc` makes the overrun fire deterministically on every mount, with no race or memory-layout condition outside attacker control. PR:N - The attacker needs no account or privilege on the target system — they only supply the malicious image (e.g. a USB stick or disk image), and the mount is performed by the victim or by an automounter such as udisks2/systemd on a desktop or kiosk. UI:R - Exploitation requires a separate party to mount the crafted XFS filesystem, since `xfs_fs_type` lacks `FS_USERNS_MOUNT` and mounting needs CAP_SYS_ADMIN in the initial user namespace or an automounter acting for a physically present user. S:U - The out-of-bounds read and its consequences are confined to the kernel's own memory and the mounting kernel's security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Up to 11 bytes of kernel heap memory adjacent to the `kvzalloc()`ed log buffer are read out of bounds, and `xlog_recover_process_ophdr()` then emits those bytes into the kernel log via `xfs_warn("bad clientid 0x%x")`/`("bad length 0x%x")`, disclosing adjacent heap contents. I:N - There is no out-of-bounds write, and because `dp > end` after the overrun the `dp + len > end` check in `xlog_recover_process_ophdr()` unconditionally returns `-EFSCORRUPTED` before any of the OOB-derived values (`oh_tid`, `oh_flags`) are used, so no kernel or filesystem state is modified. A:H - If the log buffer came from the `kvzalloc()` vmalloc fallback, the read crosses into the guard page and oopses the mounting task with recovery locks held; additionally the path executes `WARN_ON(1)` (panic on `panic_on_warn` systems) and `ASSERT(0)`/`ASSERT(dp <= end)` panics on `CONFIG_XFS_ASSERT_FATAL` builds.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d1e3efe783365db59da88f08a2e0bfe1cc95b143 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 7cd9f0a33e738cd58876f1bc8d6c1aa5bc4fc8c1 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fb63435b7c7dc112b1ae1baea5486e0a6e27b196 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)6.1.120 through 6.1.* (unaffected · semver)6.6.64 through 6.6.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
xfs: add bounds checking to xlog_recover_process_data
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1b71129e86bef5aa228061742a87f9fdfc677ac07ca65c4a0114d4513ad6239e
- Ingested
- 23 Sep 2026, 08:26:02 UTC
- Source record
- Official CVE record