Lucene search

K
cveLinuxCVE-2024-40984
HistoryJul 12, 2024 - 1:15 p.m.

CVE-2024-40984

2024-07-1213:15:19
Linux
web.nvd.nist.gov
37
linux kernel
acpica
vulnerability

AI Score

6.3

Confidence

High

EPSS

0

Percentile

13.4%

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.

Affected configurations

Vulners
Node
linuxlinux_kernelRange2.6.324.19.317
OR
linuxlinux_kernelRange4.20.05.4.279
OR
linuxlinux_kernelRange5.5.05.10.221
OR
linuxlinux_kernelRange5.11.05.15.162
OR
linuxlinux_kernelRange5.16.06.1.96
OR
linuxlinux_kernelRange6.2.06.6.36
OR
linuxlinux_kernelRange6.7.06.9.7
OR
linuxlinux_kernelRange6.10.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/acpi/acpica/exregion.c"
    ],
    "versions": [
      {
        "version": "d410ee5109a1",
        "lessThan": "435ecc978c3d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d410ee5109a1",
        "lessThan": "ae465109d82f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d410ee5109a1",
        "lessThan": "6eca23100e90",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d410ee5109a1",
        "lessThan": "dc5017c57f5e",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d410ee5109a1",
        "lessThan": "ddc1f5f12447",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d410ee5109a1",
        "lessThan": "434c6b924e1f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d410ee5109a1",
        "lessThan": "e21a4c9129c7",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "d410ee5109a1",
        "lessThan": "a83e1385b780",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/acpi/acpica/exregion.c"
    ],
    "versions": [
      {
        "version": "2.6.32",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.32",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.317",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.279",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.221",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.162",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.96",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.36",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.7",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.3

Confidence

High

EPSS

0

Percentile

13.4%