CVE-2026-99487: rust: bug: pass TAINT_WARN to warn_slowpath_fmt() on UML
In the Linux kernel, the following vulnerability has been resolved:
rust: bug: pass TAINTWARN to warnslowpathfmt() on UML
On UML, warnflags! calls warnslowpathfmt() directly. Its third argument is a taint number, but warnon! passes its bug flags there.
As a result, addtaint() gets 2304 instead of 9 (TAINTWARN). The warning is not recorded: /proc/sys/kernel/tainted stays 0 after warnon! fires, where it should be 512. It also causes an out-of-bounds write in addtaint().
Pass TAINTWARN directly, as C does on UML.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2