rust: bug: pass TAINT_WARN to warn_slowpath_fmt() on UML
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 6.17.0, < 6.18.64→ 6.18.64 ≥ 6.19.0, < 7.3.2→ 7.3.2 |
6.18.64 7.3.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-99487 linux-lts Fix available
- Debian DEBIAN-CVE-2026-99487 linux Fix available
- Ubuntu UBUNTU-CVE-2026-99487 linux-vmware, linux-starfive-6.5, linux-starfive-6.2 +118 more No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com