CVE-2024-44948

Source
https://cve.org/CVERecord?id=CVE-2024-44948
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44948.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-44948
Downstream
Related
Published
2024-09-04T18:35:48.980Z
Modified
2026-03-20T12:38:54.860414Z
Summary
x86/mtrr: Check if fixed MTRRs exist before saving them
Details

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 mtrrsavestate() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/44xxx/CVE-2024-44948.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2b1f6278d77c1f2f669346fc2bb48012b5e9495a
Fixed
34f36e6ee5bd7eff8b2adcd9fcaef369f752d82e
Fixed
06c1de44d378ec5439db17bf476507d68589bfe9
Fixed
450b6b22acdaac67a18eaf5ed498421ffcf10051
Fixed
ca7d00c5656d1791e28369919e3e10febe9c3b16
Fixed
8aa79dfb216b865e96ff890bc4ea71650f9bc8d7
Fixed
8a90d3fc7c24608548d3a750671f9dac21d1a462
Fixed
388f1c954019f253a8383f7eb733f38d541e10b6
Fixed
919f18f961c03d6694aa726c514184f2311a4614

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-44948.json"