Description
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 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
dff64b072708ffef23c117fa1ee1ea59eb417807 to < 8a16e766cf58c26d5aa5e41cc88e649e9cd97157affecteddff64b072708ffef23c117fa1ee1ea59eb417807 to < e05c740e7536fbd5dd85b437eea50f39e45fc87daffecteddff64b072708ffef23c117fa1ee1ea59eb417807 to < 951d09ca450ca76a695016ea76c3fa653bd20439affected
Linux Linux
Default version status: affected
6.17affected0 to < 6.17unaffected6.18.64 to ≤ 6.18.*unaffected7.3.2 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected