← VULNERABILITIES

CVE-2026-99487

rust: bug: pass TAINT_WARN to warn_slowpath_fmt() on UML

UnscoredFix available
CVSS
—
EPSS
0.17% (p6)
Published
2026-11-19
Age
15d old
Modified
2026-11-19
Product
Linux 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.

Fixed in

8a16e766cf58c26d5aa5e41cc88e649e9cd97157 · 951d09ca450ca76a695016ea76c3fa653bd20439 · e05c740e7536fbd5dd85b437eea50f39e45fc87d

Affected packages

EcosystemPackageRangeFixed
vendorLinux>=dff64b072708ffef23c117fa1ee1ea59eb417807, <8a16e766cf58c26d5aa5e41cc88e649e9cd971578a16e766cf58c26d5aa5e41cc88e649e9cd97157
vendorLinux>=dff64b072708ffef23c117fa1ee1ea59eb417807, <951d09ca450ca76a695016ea76c3fa653bd20439951d09ca450ca76a695016ea76c3fa653bd20439
vendorLinux>=dff64b072708ffef23c117fa1ee1ea59eb417807, <e05c740e7536fbd5dd85b437eea50f39e45fc87de05c740e7536fbd5dd85b437eea50f39e45fc87d

Sources

  • NVD · first seen 15d ago · NVD terms of use
  • CVE List · first seen 15d ago · CVE Terms of Use

References

JSON