PT-2024-7683 · Linux+2 · Linux Kernel+2
Gaurav Batra
·
Published
2024-02-19
·
Updated
2024-11-01
·
CVE-2024-26847
CVSS v3.1
5.1
Medium
| Vector | AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.8.0-rc4
Description
The vulnerability is caused by the incorrect spelling of a function name in the RTAS function table, leading to failed reverse lookups and warnings. The PAPR spec spells the function name as "ibm,reset-pe-dma-windows", but the firmware uses the singular form "ibm,reset-pe-dma-window". This mismatch causes issues when lockdep is enabled or the RTAS tracepoints are active, as these paths dereference the result of the lookup.
Recommendations
To resolve the issue, use the correct spelling of the function name to match the firmware's behavior, adjusting the related constants to match. Specifically, update the RTAS function table to use the correct spelling "ibm,reset-pe-dma-window" instead of "ibm,reset-pe-dma-windows".
Note: The provided information does not specify the exact steps or patches required to fix the vulnerability for each affected version. However, based on the description, the resolution involves correcting the function name spelling in the RTAS function table.
Exploit
Fix
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Red Os