{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e6187007d6c365b551c69ea3df46f06fd1c8bd19"
            },
            {
              "fixed": "12a499f741fc5be3731c8b0a0d909406575cc2eb"
            },
            {
              "fixed": "adadf4192f700bca82abfda9fa6d58c0bf37cc04"
            },
            {
              "fixed": "c40e0b4fa365969e67011529eabdfb66d1022256"
            },
            {
              "fixed": "649bc7df3e5d7be6f7996a95084037dbf3cad1e5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.31"
            },
            {
              "fixed": "6.12.109"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.50"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89749.json"
  },
  "details": "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()\").",
  "id": "CVE-2026-89749",
  "modified": "2026-09-13T03:30:39.375326340Z",
  "published": "2026-09-11T19:46:53.822Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/12a499f741fc5be3731c8b0a0d909406575cc2eb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/649bc7df3e5d7be6f7996a95084037dbf3cad1e5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/adadf4192f700bca82abfda9fa6d58c0bf37cc04"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c40e0b4fa365969e67011529eabdfb66d1022256"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89749.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89749"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "tracing: Fix crash passing ERR_PTR to kthread_stop()"
}