firmware: coreboot: Validate table bounds
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: firmware: coreboot: Validate table bounds The existing coreboot_table_populate() bounds checks limit individual entries to the mapped length. However, coreboot_table_probe() replaces the platform resource length with header and table sizes supplied by firmware before mapping the full table. A malformed table can overflow the 32-bit size addition or advertise an extent beyond the resource, causing the driver to map and parse memory outside the resource. A resource shorter than the fixed header is also mapped as though it contained a complete header. Reject resources shorter than the fixed header. After validating the signature, require a complete header, calculate the advertised extent with overflow checking, and reject extents beyond the resource before remapping the table.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From d384d6f43d1ec3f1225ab0275fd592c5980bd830 · fixed in 3cca0d6dd4c2636d2514234233cb02db76621607; From d384d6f43d1ec3f1225ab0275fd592c5980bd830 · fixed in f79f621215a0944c4a0e1b3b86b99e433ae8c527; From d384d6f43d1ec3f1225ab0275fd592c5980bd830 · fixed in d848fac90c6f0566e7b93066b0b86024f65f395e; From d384d6f43d1ec3f1225ab0275fd592c5980bd830 · fixed in 88027241c1d2c3213bac937a1c2cb89a5775a413; From d384d6f43d1ec3f1225ab0275fd592c5980bd830 · fixed in fd93859ecfa5b6495a6863c18fd923a7666def26; From d384d6f43d1ec3f1225ab0275fd592c5980bd830 · fixed in 2d98a3b89394f283f054a4a54587c14ee89acaf9; From d384d6f43d1ec3f1225ab0275fd592c5980bd830 · fixed in e82f260a74dea8cdd7857f2cc66f73d0da522bb3; From d384d6f43d1ec3f1225ab0275fd592c5980bd830 · fixed in a58a57a1076f8c5dae0327e3710899478c3be901
- Linux Linux
4.12
- KernelLinux
From 4.12.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 8
git.kernel.org
- stable/c/3cca0d6dd4c2636d2514234233cb02db76621607
- stable/c/f79f621215a0944c4a0e1b3b86b99e433ae8c527
- stable/c/d848fac90c6f0566e7b93066b0b86024f65f395e
- stable/c/88027241c1d2c3213bac937a1c2cb89a5775a413
- stable/c/fd93859ecfa5b6495a6863c18fd923a7666def26
- stable/c/2d98a3b89394f283f054a4a54587c14ee89acaf9
- stable/c/e82f260a74dea8cdd7857f2cc66f73d0da522bb3
- stable/c/a58a57a1076f8c5dae0327e3710899478c3be901