ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine." (Linux Linux)

CVE-2024-40984
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.30 % · percentile 23 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d410ee5109a1633a686a5663c6743a92e1181f9b < 435ecc978c3d5d0c4e172ec5b956dc1904061d98 ; affected d410ee5109a1633a686a5663c6743a92e1181f9b < ae465109d82f4fb03c5adbe85f2d6a6a3d59124c ; affected d410ee5109a1633a686a5663c6743a92e1181f9b < 6eca23100e9030725f69c1babacd58803f29ec8d ; affected d410ee5109a1633a686a5663c6743a92e1181f9b < dc5017c57f5eee80020c73ff8b67ba7f9fd08b1f ; affected d410ee5109a1633a686a5663c6743a92e1181f9b < ddc1f5f124479360a1fd43f73be950781d172239 ; affected d410ee5109a1633a686a5663c6743a92e1181f9b < 434c6b924e1f4c219aab2d9e05fe79c5364e37d3
Linux · Linuxaffected 2.6.32 ; unaffected 0 < 2.6.32 ; unaffected 4.19.317 ≤ 4.19.* ; unaffected 5.4.279 ≤ 5.4.* ; unaffected 5.10.221 ≤ 5.10.* ; unaffected 5.15.162 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD