{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a995fe1a3aa78b7d06cc1cc7b6b8436c5e93b07f"
            },
            {
              "fixed": "8365c5aca9f43441968e6cd9d64afc6506619176"
            },
            {
              "fixed": "6f2b998a52746892968741cbf8fc226985cbf286"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143177.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmemstick: core: don't clear dev-\u003edriver in memstick_device_remove()\n\nmemstick_device_remove() sets card-\u003edev.driver to NULL after calling the\ndriver's remove() callback. Since commit a995fe1a3aa7 (\"rust: driver:\ndrop device private data post unbind\"), device_unbind_cleanup()\ndereferences dev-\u003edriver after the bus remove() callback has returned,\nso this should result in a NULL pointer dereference whenever a\nMemoryStick card is removed or its driver is unbound.\n\nThe driver core clears dev-\u003edriver itself in device_unbind_cleanup(), so\nthere is no need for the bus code to do it. Remove the assignment.\n\nThis was found by code inspection, with the help of an AI coding\nassistant, after hitting the same bug in the TI FlashMedia bus code\n(drivers/misc/tifm_core.c), which oopsed on SD card removal. It has\nonly been compile-tested: no MemoryStick hardware was available.",
  "id": "CVE-2026-143177",
  "modified": "2026-12-03T10:46:10.309817534Z",
  "published": "2026-12-03T09:20:10.898Z",
  "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/6f2b998a52746892968741cbf8fc226985cbf286"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8365c5aca9f43441968e6cd9d64afc6506619176"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143177.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143177"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "memstick: core: don't clear dev-\u003edriver in memstick_device_remove()"
}