# CVE-2026-99487: rust: bug: pass TAINT_WARN to warn_slowpath_fmt() on UML

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-11-19T14:43:26.282Z
- Modified: 2026-11-19T15:18:03.500Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from dff64b072708ffef23c117fa1ee1ea59eb417807 before 8a16e766cf58c26d5aa5e41cc88e649e9cd97157; from dff64b072708ffef23c117fa1ee1ea59eb417807 before e05c740e7536fbd5dd85b437eea50f39e45fc87d; from dff64b072708ffef23c117fa1ee1ea59eb417807 before 951d09ca450ca76a695016ea76c3fa653bd20439; 6.17 (not affected: before 6.17; from 6.18.64 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/8a16e766cf58c26d5aa5e41cc88e649e9cd97157>
- <https://git.kernel.org/stable/c/e05c740e7536fbd5dd85b437eea50f39e45fc87d>
- <https://git.kernel.org/stable/c/951d09ca450ca76a695016ea76c3fa653bd20439>

## Sources

- CVE List: [CVE-2026-99487](https://www.cve.org/CVERecord?id=CVE-2026-99487), CVE Terms of Use, modified 2026-11-19
- NVD: [CVE-2026-99487](https://nvd.nist.gov/vuln/detail/CVE-2026-99487), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-99487 · Whole record: https://cve.day/CVE-2026-99487.json · Rebuilt by cve.day 2026-11-25T22:59:52.090Z
