tracing: Hold trace_types_lock when resetting last boot data from readers
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d6d991afe775ab7fcf89523a2502b7ca3be56ffd, Kernel 1f06cfe0b60a878619d1d8efe1cd0f515b7dc2aa, Kernel 5a6bd62f09147b49b31fd19d4eba122cb5f941a1 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: tracing: Hold trace_types_lock when resetting last boot data from readers update_last_data_if_empty() is called from tracing_open() with O_TRUNC, tracing_read_pipe() and tracing_buffers_read() without trace_types_lock. Two readers can both pass the LAST_BOOT test and free module_delta twice, and a module notifier can update module_delta while it is being freed. Take trace_types_lock in those paths and keep the callers that already hold it on an unlocked variant.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=32dc0042528d385d83bf458e4cf3a49c5110afea <d6d991afe775ab7fcf89523a2502b7ca3be56ffd, >=32dc0042528d385d83bf458e4cf3a49c5110afea <1f06cfe0b60a878619d1d8efe1cd0f515b7dc2aa, >=32dc0042528d385d83bf458e4cf3a49c5110afea <5a6bd62f09147b49b31fd19d4eba122cb5f941a1, >=32dc0042528d385d83bf458e4cf3a49c5110afea <92b69f6db640dadc0851762ee2e12db99f083cad, =6.16 | d6d991afe775ab7fcf89523a2502b7ca3be56ffd, 1f06cfe0b60a878619d1d8efe1cd0f515b7dc2aa, 5a6bd62f09147b49b31fd19d4eba122cb5f941a1, 92b69f6db640dadc0851762ee2e12db99f083cad |
| linux-kernel: Kernel | >=6.19.0 <7.2.14, >=7.3.0 <7.3.1, >=6.16.0 <6.18.60 | 7.2.14, 7.3.1, 6.18.60 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket