{"id":"CVE-2026-89749","aliases":["CVE-2026-89749"],"related":[],"kind":"vulnerability","state":"published","title":"tracing: Fix crash passing ERR_PTR to kthread_stop()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Fix crash passing ERR_PTR to kthread_stop()\n\nevent_test_stuff() calls kthread_run() and unconditionally passes the\nreturned task_struct pointer to kthread_stop(). kthread_run() returns an\nerror pointer such as ERR_PTR(-ENOMEM) when kthread creation fails, for\nexample under memory pressure during the boot-time event self-test.\nkthread_stop() then dereferences the invalid pointer, crashing the kernel.\n\nCheck the result of kthread_run() before passing it to kthread_stop(). Use\nWARN_ON() so that a failure to create the self-test thread does not go\nunnoticed, matching the ring-buffer self-test fix in commit\n91542863abad (\"ring-buffer: Fix crash passing ERR_PTR to kthread_stop()\").","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Fix crash passing ERR_PTR to kthread_stop()\n\nevent_test_stuff() calls kthread_run() and unconditionally passes the\nreturned task_struct pointer to kthread_stop(). kthread_run() returns an\nerror pointer such as ERR_PTR(-ENOMEM) when kthread creation fails, for\nexample under memory pressure during the boot-time event self-test.\nkthread_stop() then dereferences the invalid pointer, crashing the kernel.\n\nCheck the result of kthread_run() before passing it to kthread_stop(). Use\nWARN_ON() so that a failure to create the self-test thread does not go\nunnoticed, matching the ring-buffer self-test fix in commit\n91542863abad (\"ring-buffer: Fix crash passing ERR_PTR to kthread_stop()\").","source":"cvelist"}],"published":"2026-09-11T19:46:53.822Z","modified":"2026-10-19T09:18:17.873Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e6187007d6c365b551c69ea3df46f06fd1c8bd19","fixed":"c1a4fb7aa290f158d50654d640292e49d9055fd1","status":"affected"},{"type":"git","introduced":"e6187007d6c365b551c69ea3df46f06fd1c8bd19","fixed":"42ccb215ef0a552acbbd32f81009bfe4b278ba77","status":"affected"},{"type":"git","introduced":"e6187007d6c365b551c69ea3df46f06fd1c8bd19","fixed":"98d06fb9865a490e12ebe32d65b9ffac6108614d","status":"affected"},{"type":"git","introduced":"e6187007d6c365b551c69ea3df46f06fd1c8bd19","fixed":"ceb1707aef5824cf024eb82d10787b7621e2ff35","status":"affected"},{"type":"git","introduced":"e6187007d6c365b551c69ea3df46f06fd1c8bd19","fixed":"12a499f741fc5be3731c8b0a0d909406575cc2eb","status":"affected"},{"type":"git","introduced":"e6187007d6c365b551c69ea3df46f06fd1c8bd19","fixed":"adadf4192f700bca82abfda9fa6d58c0bf37cc04","status":"affected"},{"type":"git","introduced":"e6187007d6c365b551c69ea3df46f06fd1c8bd19","fixed":"c40e0b4fa365969e67011529eabdfb66d1022256","status":"affected"},{"type":"git","introduced":"e6187007d6c365b551c69ea3df46f06fd1c8bd19","fixed":"649bc7df3e5d7be6f7996a95084037dbf3cad1e5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.31","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.31","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c1a4fb7aa290f158d50654d640292e49d9055fd1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/42ccb215ef0a552acbbd32f81009bfe4b278ba77","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98d06fb9865a490e12ebe32d65b9ffac6108614d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ceb1707aef5824cf024eb82d10787b7621e2ff35","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/12a499f741fc5be3731c8b0a0d909406575cc2eb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/adadf4192f700bca82abfda9fa6d58c0bf37cc04","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c40e0b4fa365969e67011529eabdfb66d1022256","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/649bc7df3e5d7be6f7996a95084037dbf3cad1e5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89749","url":"https://www.cve.org/CVERecord?id=CVE-2026-89749","licence":"CVE Terms of Use","modified":"2026-10-19T08:52:03.128Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89749","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89749","licence":"Public domain","modified":"2026-10-19T09:18:17.873Z"}],"updatedAt":"2026-11-25T22:59:38.135Z","epss":{"score":0.00217,"percentile":0.12945,"date":"2026-12-01T12:00:22.000Z"}}