Medium severity · published Jul 12, 2024
CVE-2024-40984
ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."
5.5
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 22% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
2.6.32 before 4.19.317; 4.20 before 5.4.279; 5.5 before 5.10.221; 5.11 before 5.15.162; 5.16 before 6.1.96; 6.2 before 6.6.36; +5 more · source: NVD
LI
Linux · Linux
d410ee5109a1633a686a5663c6743a92e1181f9b before 435ecc978c3d5d0c4e172ec5b956dc1904061d98; d410ee5109a1633a686a5663c6743a92e1181f9b before ae465109d82f4fb03c5adbe85f2d6a6a3d59124c; d410ee5109a1633a686a5663c6743a92e1181f9b before 6eca23100e9030725f69c1babacd58803f29ec8d; d410ee5109a1633a686a5663c6743a92e1181f9b before dc5017c57f5eee80020c73ff8b67ba7f9fd08b1f; d410ee5109a1633a686a5663c6743a92e1181f9b before ddc1f5f124479360a1fd43f73be950781d172239; d410ee5109a1633a686a5663c6743a92e1181f9b before 434c6b924e1f4c219aab2d9e05fe79c5364e37d3; +3 more · source: vendor
RR
RUGGEDCOM RST2428P · Siemens
before V3.1 · source: CISA
SX
SCALANCE XCM-/XRM-/XCH-/XRH-300 family · Siemens
before V3.1 · source: CISA
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
before V1.1.1 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-40984
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-40984
Patch
https://git.kernel.org/stable/c/434c6b924e1f4c219aab2d9e05fe79c5364e37d3
Patch
https://git.kernel.org/stable/c/435ecc978c3d5d0c4e172ec5b956dc1904061d98
Patch
https://git.kernel.org/stable/c/6eca23100e9030725f69c1babacd58803f29ec8d
Patch
https://git.kernel.org/stable/c/a83e1385b780d41307433ddbc86e3c528db031f0
Patch
https://git.kernel.org/stable/c/ae465109d82f4fb03c5adbe85f2d6a6a3d59124c
Patch
https://git.kernel.org/stable/c/dc5017c57f5eee80020c73ff8b67ba7f9fd08b1f
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
