Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
d384d6f43d1ec3f1225ab0275fd592c5980bd830 to < 3cca0d6dd4c2636d2514234233cb02db76621607affectedd384d6f43d1ec3f1225ab0275fd592c5980bd830 to < f79f621215a0944c4a0e1b3b86b99e433ae8c527affectedd384d6f43d1ec3f1225ab0275fd592c5980bd830 to < d848fac90c6f0566e7b93066b0b86024f65f395eaffectedd384d6f43d1ec3f1225ab0275fd592c5980bd830 to < 88027241c1d2c3213bac937a1c2cb89a5775a413affectedd384d6f43d1ec3f1225ab0275fd592c5980bd830 to < fd93859ecfa5b6495a6863c18fd923a7666def26affectedd384d6f43d1ec3f1225ab0275fd592c5980bd830 to < 2d98a3b89394f283f054a4a54587c14ee89acaf9affectedd384d6f43d1ec3f1225ab0275fd592c5980bd830 to < e82f260a74dea8cdd7857f2cc66f73d0da522bb3affectedd384d6f43d1ec3f1225ab0275fd592c5980bd830 to < a58a57a1076f8c5dae0327e3710899478c3be901affected
Linux Linux
Default version status: affected
4.12affected0 to < 4.12unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3cca0d6dd4c2636d2514234233cb02db76621607 ↗
- https://git.kernel.org/stable/c/f79f621215a0944c4a0e1b3b86b99e433ae8c527 ↗
- https://git.kernel.org/stable/c/d848fac90c6f0566e7b93066b0b86024f65f395e ↗
- https://git.kernel.org/stable/c/88027241c1d2c3213bac937a1c2cb89a5775a413 ↗
- https://git.kernel.org/stable/c/fd93859ecfa5b6495a6863c18fd923a7666def26 ↗
- https://git.kernel.org/stable/c/2d98a3b89394f283f054a4a54587c14ee89acaf9 ↗
- https://git.kernel.org/stable/c/e82f260a74dea8cdd7857f2cc66f73d0da522bb3 ↗
- https://git.kernel.org/stable/c/a58a57a1076f8c5dae0327e3710899478c3be901 ↗