Lucene search

K
cveLinuxCVE-2024-44948
HistorySep 04, 2024 - 7:15 p.m.

CVE-2024-44948

2024-09-0419:15:29
Linux
web.nvd.nist.gov
28
vulnerability resolved
x86 cpus
mtrrs
linux kernel

AI Score

7

Confidence

Low

EPSS

0

Percentile

13.7%

In the Linux kernel, the following vulnerability has been resolved:

x86/mtrr: Check if fixed MTRRs exist before saving them

MTRRs have an obsolete fixed variant for fine grained caching control
of the 640K-1MB region that uses separate MSRs. This fixed variant has
a separate capability bit in the MTRR capability MSR.

So far all x86 CPUs which support MTRR have this separate bit set, so it
went unnoticed that mtrr_save_state() does not check the capability bit
before accessing the fixed MTRR MSRs.

Though on a CPU that does not support the fixed MTRR capability this
results in a #GP. The #GP itself is harmless because the RDMSR fault is
handled gracefully, but results in a WARN_ON().

Add the missing capability check to prevent this.

Affected configurations

Vulners
Node
linuxlinux_kernelRange2.6.224.19.320
OR
linuxlinux_kernelRange4.20.05.4.282
OR
linuxlinux_kernelRange5.5.05.10.224
OR
linuxlinux_kernelRange5.11.05.15.165
OR
linuxlinux_kernelRange5.16.06.1.105
OR
linuxlinux_kernelRange6.2.06.6.46
OR
linuxlinux_kernelRange6.7.06.10.5
OR
linuxlinux_kernelRange6.11.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": [
      "arch/x86/kernel/cpu/mtrr/mtrr.c"
    ],
    "versions": [
      {
        "version": "2b1f6278d77c",
        "lessThan": "34f36e6ee5bd",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2b1f6278d77c",
        "lessThan": "06c1de44d378",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2b1f6278d77c",
        "lessThan": "450b6b22acda",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2b1f6278d77c",
        "lessThan": "ca7d00c5656d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2b1f6278d77c",
        "lessThan": "8aa79dfb216b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2b1f6278d77c",
        "lessThan": "8a90d3fc7c24",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2b1f6278d77c",
        "lessThan": "388f1c954019",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "2b1f6278d77c",
        "lessThan": "919f18f961c0",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "arch/x86/kernel/cpu/mtrr/mtrr.c"
    ],
    "versions": [
      {
        "version": "2.6.22",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "2.6.22",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.320",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.282",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.224",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.165",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.105",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.46",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.5",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

7

Confidence

Low

EPSS

0

Percentile

13.7%