rust: bug: pass TAINT_WARN to warn_slowpath_fmt() on UML
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8a16e766cf58c26d5aa5e41cc88e649e9cd97157, Kernel 951d09ca450ca76a695016ea76c3fa653bd20439, Kernel e05c740e7536fbd5dd85b437eea50f39e45fc87d and 2 more.
In the Linux kernel, the following vulnerability has been resolved: rust: bug: pass TAINT_WARN to warn_slowpath_fmt() on UML On UML, `warn_flags!` calls `warn_slowpath_fmt()` directly. Its third argument is a taint number, but `warn_on!` passes its bug flags there. As a result, `add_taint()` gets 2304 instead of 9 (`TAINT_WARN`). The warning is not recorded: `/proc/sys/kernel/tainted` stays 0 after `warn_on!` fires, where it should be 512. It also causes an out-of-bounds write in `add_taint()`. Pass `TAINT_WARN` directly, as C does on UML.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.17, >=dff64b072708ffef23c117fa1ee1ea59eb417807 <8a16e766cf58c26d5aa5e41cc88e649e9cd97157, >=dff64b072708ffef23c117fa1ee1ea59eb417807 <951d09ca450ca76a695016ea76c3fa653bd20439, >=dff64b072708ffef23c117fa1ee1ea59eb417807 <e05c740e7536fbd5dd85b437eea50f39e45fc87d | 8a16e766cf58c26d5aa5e41cc88e649e9cd97157, 951d09ca450ca76a695016ea76c3fa653bd20439, e05c740e7536fbd5dd85b437eea50f39e45fc87d |
| linux-kernel: Kernel | >=6.17.0 <6.18.64, >=6.19.0 <7.3.2 | 6.18.64, 7.3.2 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket