CVE-2024-40984
ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."
Check your servers for CVE-2024-40984
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-40984 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.30%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 24.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d410ee5109a1633a686a5663c6743a92e1181f9b, before 435ecc978c3d5d0c4e172ec5b956dc1904061d98 affected from d410ee5109a1633a686a5663c6743a92e1181f9b, before ae465109d82f4fb03c5adbe85f2d6a6a3d59124c affected from d410ee5109a1633a686a5663c6743a92e1181f9b, before 6eca23100e9030725f69c1babacd58803f29ec8d affected from d410ee5109a1633a686a5663c6743a92e1181f9b, before dc5017c57f5eee80020c73ff8b67ba7f9fd08b1f affected from d410ee5109a1633a686a5663c6743a92e1181f9b, before ddc1f5f124479360a1fd43f73be950781d172239 affected from d410ee5109a1633a686a5663c6743a92e1181f9b, before 434c6b924e1f4c219aab2d9e05fe79c5364e37d3 affected from d410ee5109a1633a686a5663c6743a92e1181f9b, before e21a4c9129c72fa54dd00f5ebf71219b41d43c04 affected from d410ee5109a1633a686a5663c6743a92e1181f9b, before a83e1385b780d41307433ddbc86e3c528db031f0
Other versions: unaffected
|
| Linux |
affected 2.6.32 unaffected before 2.6.32 unaffected from 4.19.317 up to and including 4.19.* unaffected from 5.4.279 up to and including 5.4.* unaffected from 5.10.221 up to and including 5.10.* unaffected from 5.15.162 up to and including 5.15.* unaffected from 6.1.96 up to and including 6.1.* unaffected from 6.6.36 up to and including 6.6.* unaffected from 6.9.7 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-40984 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-40984
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-40984
trivy image --scanners vuln IMAGE | grep CVE-2024-40984
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/435ecc978c3d5d0c4e172ec5b956dc1904061d98 git.kernel.org
- https://git.kernel.org/stable/c/ae465109d82f4fb03c5adbe85f2d6a6a3d59124c git.kernel.org
- https://git.kernel.org/stable/c/6eca23100e9030725f69c1babacd58803f29ec8d git.kernel.org
- https://git.kernel.org/stable/c/dc5017c57f5eee80020c73ff8b67ba7f9fd08b1f git.kernel.org
- https://git.kernel.org/stable/c/ddc1f5f124479360a1fd43f73be950781d172239 git.kernel.org
- https://git.kernel.org/stable/c/434c6b924e1f4c219aab2d9e05fe79c5364e37d3 git.kernel.org
- https://git.kernel.org/stable/c/e21a4c9129c72fa54dd00f5ebf71219b41d43c04 git.kernel.org
- https://git.kernel.org/stable/c/a83e1385b780d41307433ddbc86e3c528db031f0 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html cert-portal.siemens.com
Source: the record CVE-2024-40984 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse