CVE-2024-40984
ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."
Reported by linux · Published July 12, 2024
In the Linux kernel, the following vulnerability has been resolved: ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine." Undo the modifications made in commit d410ee5109a1 ("ACPICA: avoid "Info: mapping multiple BARs. Your kernel is fine.""). The initial purpose of this commit was to stop memory mappings for operation regions from overlapping page boundaries, as it can trigger warnings if different page attributes are present. However, it was found that when this situation arises, mapping continues until the boundary's end, but there is still an attempt to read/write the entire length of the map, leading to a NULL pointer deference. For example, if a four-byte mapping request is made but only one byte is mapped because it hits the current page boundary's end, a four-byte read/write attempt is still made, resulting in a NULL pointer deference. Instead, map the entire length, as the ACPI specification does not mandate that it must be within the same page boundary. It is permissible for it to be mapped across different regions.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-4.14.352-267.564 | Amazon Linux | 1.0-0.amzn2 |
| kernel-tools-devel | Amazon Linux | 6.1.96-102.177.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.96-102.177.amzn2023 |
| kernel-devel | Amazon Linux | 4.14.352-267.564.amzn2 |
| SCALANCE XCM-/XRM-/XCH-/XRH-300 family | Siemens | 3.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d410ee5109a1633a686a5663c6743a92e1181f9b, d410ee5109a1633a686a5663c6743a92e1181f9b, d410ee5109a1633a686a5663c6743a92e1181f9b |
| Linux | Linux | 2.6.32, 0, 4.19.317 |
| amazon:2 | kernel-livepatch-4.14.352-267.564 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | 0 |
| amazon:2 | kernel-devel | 0 |
| linux | linux_kernel | 2.6.32, 2.6.32, 2.6.32 |
| Siemens | RUGGEDCOM RST2428P | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | perf | 0 |
| amazon:2023 | kernel | 0 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2 | kernel-tools | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| Linux | Linux | *, 0, 5.4.279 |
| amazon:2023 | python3-perf | 0 |
…and 10 more
Timeline
- Jul 12, 2024 CVE Published
- Jul 13, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
- Jan 7, 2026 Security Advisory (283 in total, the first dated here)
- Apr 2, 2026 Distribution Patch (186 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-40984
vulnetix vdb fixes CVE-2024-40984
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-40984/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart