CVE-2026-90066 (GCVE-0-2026-90066)

Vulnerability from cvelistv5 – Published: 2026-09-17 16:05 – Updated: 2026-09-17 16:05
VLAI
Title
samples/ftrace: Fix kthread_stop() on ERR_PTR in ftrace-direct-multi-modify
Summary
In the Linux kernel, the following vulnerability has been resolved: samples/ftrace: Fix kthread_stop() on ERR_PTR in ftrace-direct-multi-modify ftrace_direct_multi_init() assigns kthread_run()'s return value to simple_tsk without an IS_ERR() check. When kthread_run() fails it returns ERR_PTR(-ENOMEM), but init still returns 0, so the module loads with simple_tsk holding an error pointer. On unload, ftrace_direct_multi_exit() then passes that ERR_PTR to kthread_stop(), leading to a null-pointer-dereference. Check the return value of kthread_run() with IS_ERR(); on failure, unregister the ftrace direct call and propagate the error code.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: e1067a07cfbc5a36abad3752fafe4c79e06db1bb , < 7a96b9f6d5ba23dbce66c8a4a242effd4c01a830 (git)
Affected: e1067a07cfbc5a36abad3752fafe4c79e06db1bb , < 98b7b2a29ae87937aa02ab9391543ef8c602cd94 (git)
Affected: e1067a07cfbc5a36abad3752fafe4c79e06db1bb , < 626614df9080d7052fbe24dc90b5434717ab7a9f (git)
Affected: e1067a07cfbc5a36abad3752fafe4c79e06db1bb , < cf839636911d8313f3ecd098329fd0b96499e4cf (git)
Affected: e1067a07cfbc5a36abad3752fafe4c79e06db1bb , < 6727b7618f49401acf373fa3ec5712e2ec52e5cf (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.16
Unaffected: 0 , < 5.16 (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.110 , ≤ 6.12.* (semver)
Unaffected: 6.18.52 , ≤ 6.18.* (semver)
Unaffected: 7.2.6 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "samples/ftrace/ftrace-direct-multi-modify.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7a96b9f6d5ba23dbce66c8a4a242effd4c01a830",
              "status": "affected",
              "version": "e1067a07cfbc5a36abad3752fafe4c79e06db1bb",
              "versionType": "git"
            },
            {
              "lessThan": "98b7b2a29ae87937aa02ab9391543ef8c602cd94",
              "status": "affected",
              "version": "e1067a07cfbc5a36abad3752fafe4c79e06db1bb",
              "versionType": "git"
            },
            {
              "lessThan": "626614df9080d7052fbe24dc90b5434717ab7a9f",
              "status": "affected",
              "version": "e1067a07cfbc5a36abad3752fafe4c79e06db1bb",
              "versionType": "git"
            },
            {
              "lessThan": "cf839636911d8313f3ecd098329fd0b96499e4cf",
              "status": "affected",
              "version": "e1067a07cfbc5a36abad3752fafe4c79e06db1bb",
              "versionType": "git"
            },
            {
              "lessThan": "6727b7618f49401acf373fa3ec5712e2ec52e5cf",
              "status": "affected",
              "version": "e1067a07cfbc5a36abad3752fafe4c79e06db1bb",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "samples/ftrace/ftrace-direct-multi-modify.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.16"
            },
            {
              "lessThan": "5.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsamples/ftrace: Fix kthread_stop() on ERR_PTR in ftrace-direct-multi-modify\n\nftrace_direct_multi_init() assigns kthread_run()\u0027s return value to\nsimple_tsk without an IS_ERR() check. When kthread_run() fails it\nreturns ERR_PTR(-ENOMEM), but init still returns 0, so the module loads\nwith simple_tsk holding an error pointer. On unload,\nftrace_direct_multi_exit() then passes that ERR_PTR to kthread_stop(),\nleading to a null-pointer-dereference.\n\nCheck the return value of kthread_run() with IS_ERR(); on failure,\nunregister the ftrace direct call and propagate the error code."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-17T16:05:48.921Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7a96b9f6d5ba23dbce66c8a4a242effd4c01a830"
        },
        {
          "url": "https://git.kernel.org/stable/c/98b7b2a29ae87937aa02ab9391543ef8c602cd94"
        },
        {
          "url": "https://git.kernel.org/stable/c/626614df9080d7052fbe24dc90b5434717ab7a9f"
        },
        {
          "url": "https://git.kernel.org/stable/c/cf839636911d8313f3ecd098329fd0b96499e4cf"
        },
        {
          "url": "https://git.kernel.org/stable/c/6727b7618f49401acf373fa3ec5712e2ec52e5cf"
        }
      ],
      "title": "samples/ftrace: Fix kthread_stop() on ERR_PTR in ftrace-direct-multi-modify",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90066",
    "datePublished": "2026-09-17T16:05:48.921Z",
    "dateReserved": "2026-09-11T19:38:34.784Z",
    "dateUpdated": "2026-09-17T16:05:48.921Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-90066",
      "date": "2026-09-25",
      "epss": "0.002",
      "percentile": "0.08783"
    },
    "microsoft_vex": {
      "current_release_date": "2026-09-24T01:31:35.000Z",
      "cve": "CVE-2026-90066",
      "id": "msrc_CVE-2026-90066",
      "initial_release_date": "2026-09-19T01:11:18.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "samples/ftrace: Fix kthread_stop() on ERR_PTR in ftrace-direct-multi-modify",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-90066.json",
      "version": "4"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "samples/ftrace/ftrace-direct-multi-modify.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "7a96b9f6d5ba23dbce66c8a4a242effd4c01a830",
                    "status": "affected",
                    "version": "e1067a07cfbc5a36abad3752fafe4c79e06db1bb",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "98b7b2a29ae87937aa02ab9391543ef8c602cd94",
                    "status": "affected",
                    "version": "e1067a07cfbc5a36abad3752fafe4c79e06db1bb",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "626614df9080d7052fbe24dc90b5434717ab7a9f",
                    "status": "affected",
                    "version": "e1067a07cfbc5a36abad3752fafe4c79e06db1bb",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "cf839636911d8313f3ecd098329fd0b96499e4cf",
                    "status": "affected",
                    "version": "e1067a07cfbc5a36abad3752fafe4c79e06db1bb",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6727b7618f49401acf373fa3ec5712e2ec52e5cf",
                    "status": "affected",
                    "version": "e1067a07cfbc5a36abad3752fafe4c79e06db1bb",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "samples/ftrace/ftrace-direct-multi-modify.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.16"
                  },
                  {
                    "lessThan": "5.16",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.157",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.110",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.52",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsamples/ftrace: Fix kthread_stop() on ERR_PTR in ftrace-direct-multi-modify\n\nftrace_direct_multi_init() assigns kthread_run()\u0027s return value to\nsimple_tsk without an IS_ERR() check. When kthread_run() fails it\nreturns ERR_PTR(-ENOMEM), but init still returns 0, so the module loads\nwith simple_tsk holding an error pointer. On unload,\nftrace_direct_multi_exit() then passes that ERR_PTR to kthread_stop(),\nleading to a null-pointer-dereference.\n\nCheck the return value of kthread_run() with IS_ERR(); on failure,\nunregister the ftrace direct call and propagate the error code."
          }
        ],
        "id": "CVE-2026-90066",
        "lastModified": "2026-09-17T17:16:55.437",
        "metrics": {},
        "published": "2026-09-17T17:16:55.437",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/626614df9080d7052fbe24dc90b5434717ab7a9f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6727b7618f49401acf373fa3ec5712e2ec52e5cf"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7a96b9f6d5ba23dbce66c8a4a242effd4c01a830"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/98b7b2a29ae87937aa02ab9391543ef8c602cd94"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/cf839636911d8313f3ecd098329fd0b96499e4cf"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…