CVE-2024-40984

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
12/07/2024
Last modified:
15/10/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."<br /> <br /> Undo the modifications made in commit d410ee5109a1 ("ACPICA: avoid<br /> "Info: mapping multiple BARs. Your kernel is fine.""). The initial<br /> purpose of this commit was to stop memory mappings for operation<br /> regions from overlapping page boundaries, as it can trigger warnings<br /> if different page attributes are present.<br /> <br /> However, it was found that when this situation arises, mapping<br /> continues until the boundary&amp;#39;s end, but there is still an attempt to<br /> read/write the entire length of the map, leading to a NULL pointer<br /> deference. For example, if a four-byte mapping request is made but<br /> only one byte is mapped because it hits the current page boundary&amp;#39;s<br /> end, a four-byte read/write attempt is still made, resulting in a NULL<br /> pointer deference.<br /> <br /> Instead, map the entire length, as the ACPI specification does not<br /> mandate that it must be within the same page boundary. It is<br /> permissible for it to be mapped across different regions.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 2.6.32 (including) 4.19.317 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 (including) 5.4.279 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.221 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.162 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.96 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.36 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.9.7 (excluding)
cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc4:*:*:*:*:*:*