{"id":"CVE-2026-99487","summary":"rust: bug: pass TAINT_WARN to warn_slowpath_fmt() on UML","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrust: bug: pass TAINT_WARN to warn_slowpath_fmt() on UML\n\nOn UML, `warn_flags!` calls `warn_slowpath_fmt()` directly. Its third\nargument is a taint number, but `warn_on!` passes its bug flags there.\n\nAs a result, `add_taint()` gets 2304 instead of 9 (`TAINT_WARN`). The\nwarning is not recorded: `/proc/sys/kernel/tainted` stays 0 after\n`warn_on!` fires, where it should be 512. It also causes an\nout-of-bounds write in `add_taint()`.\n\nPass `TAINT_WARN` directly, as C does on UML.","modified":"2026-11-19T17:01:23.411758242Z","published":"2026-11-19T14:43:26.282Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99487.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a16e766cf58c26d5aa5e41cc88e649e9cd97157"},{"type":"WEB","url":"https://git.kernel.org/stable/c/951d09ca450ca76a695016ea76c3fa653bd20439"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e05c740e7536fbd5dd85b437eea50f39e45fc87d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99487.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99487"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dff64b072708ffef23c117fa1ee1ea59eb417807"},{"fixed":"8a16e766cf58c26d5aa5e41cc88e649e9cd97157"},{"fixed":"e05c740e7536fbd5dd85b437eea50f39e45fc87d"},{"fixed":"951d09ca450ca76a695016ea76c3fa653bd20439"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99487.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99487.json"}}],"schema_version":"1.9.2"}