VDB

CVE-2024-41014

CVE-2024-41014 PUBLISHED CVSS 7.1 HIGH

xfs: add bounds checking to xlog_recover_process_data

Reported by linux · Published July 29, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-develAmazon Linux6.1.124-134.200.amzn2023
kernelAmazon Linux6.1.124-134.200.amzn2023
kernel-toolsAmazon Linux6.1.124-134.200.amzn2023
kernel-modules-extraAmazon Linux6.1.124-134.200.amzn2023
kernel-libbpf-staticAmazon Linux6.1.124-134.200.amzn2023
kernel-modules-extra-commonAmazon Linux6.1.124-134.200.amzn2023
kernel-tools-develAmazon Linux6.1.124-134.200.amzn2023
python3-perfAmazon Linux6.1.124-134.200.amzn2023
kernel-livepatch-6.1.124-134.200Amazon Linux1.0-0.amzn2023
bpftoolAmazon Linux6.1.124-134.200.amzn2023
kernel-libbpfAmazon Linux6.1.124-134.200.amzn2023
kernel-headersAmazon Linux6.1.124-134.200.amzn2023

2 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 6.1.120
amazon:2023kernel-devel0
amazon:2023kernel0
amazon:2023kernel-tools0
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-tools-devel0
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.1.124-134.2000
amazon:2023bpftool0
amazon:2023kernel-libbpf0
amazon:2023kernel-headers0
amazon:2023perf0
linuxlinux_kernel2.6.12, 2.6.12, 2.6.12
amazon:2023kernel-libbpf-devel0
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Timeline

  • Jul 28, 2024 CVE Published
  • Jul 29, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (15 in total, the first dated here)
  • Jan 7, 2026 Security Advisory (164 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (156 in total, the first dated here)
  • Aug 4, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-41014
vulnetix vdb fixes CVE-2024-41014

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-41014/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›