EFI/CPER: don't dump the entire memory region
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.252, Kernel 5.15.202, Kernel 6.1.165 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: EFI/CPER: don't dump the entire memory region The current logic at cper_print_fw_err() doesn't check if the error record length is big enough to handle offset. On a bad firmware, if the ofset is above the actual record, length -= offset will underflow, making it dump the entire memory. The end result can be: - the logic taking a lot of time dumping large regions of memory; - data disclosure due to the memory dumps; - an OOPS, if it tries to dump an unmapped memory region. Fix it by checking if the section length is too small before doing a hex dump. [ rjw: Subject tweaks ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >5.7 <5.10.252, >=5.11 <5.15.202, >=5.16 <6.1.165, >=6.13 <6.18.16, >=6.19 <6.19.6, >=6.2 <6.6.128, >=6.7 <6.12.75, =5.7, >=3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 <0e09b522f2622841389c3b2f9ac4969e35c0809d, >=3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 <54e131db4cdffd946db890ff33ff2647053fd4f6, >=3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 <55cc6fe5716f678f06bcb95140882dfa684464ec, >=3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 <5a9b1dda8481b82851a655c3bcc5b44879b95334, >=3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 <64ae5aaa7ac93c83da456039e8ec747bfa8a7cff, >=3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 <7780c0bad2a3a70a8c0113a33c02f4151d901eb3, >=3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 <a8419f5f2c5f2d80848ddabb2b95cf0da84a5f91, >=3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 <02de64ab54b4bb0f1b21bb324aeff3b08612be33 | 5.10.252, 5.15.202, 6.1.165, 6.18.16, 6.19.6, 6.6.128, 6.12.75, 0e09b522f2622841389c3b2f9ac4969e35c0809d, 54e131db4cdffd946db890ff33ff2647053fd4f6, 55cc6fe5716f678f06bcb95140882dfa684464ec, 5a9b1dda8481b82851a655c3bcc5b44879b95334, 64ae5aaa7ac93c83da456039e8ec747bfa8a7cff, 7780c0bad2a3a70a8c0113a33c02f4151d901eb3, a8419f5f2c5f2d80848ddabb2b95cf0da84a5f91, 02de64ab54b4bb0f1b21bb324aeff3b08612be33 |
| linux-kernel: Kernel | >=5.11.0 <5.15.202, >=5.16.0 <6.1.165, >=5.7.0 <5.10.252, >=6.13.0 <6.18.16, >=6.19.0 <6.19.6, >=6.2.0 <6.6.128, >=6.7.0 <6.12.75 | 5.15.202, 6.1.165, 5.10.252, 6.18.16, 6.19.6, 6.6.128, 6.12.75 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket