CVE-2026-143177

Source
https://cve.org/CVERecord?id=CVE-2026-143177
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143177.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143177
Downstream
Published
2026-12-03T09:20:10Z
Modified
2026-12-03T11:01:37Z
Summary
memstick: core: don't clear dev->driver in memstick_device_remove()
Details

In the Linux kernel, the following vulnerability has been resolved:

memstick: core: don't clear dev->driver in memstick_device_remove()

memstick_device_remove() sets card->dev.driver to NULL after calling the driver's remove() callback. Since commit a995fe1a3aa7 ("rust: driver: drop device private data post unbind"), device_unbind_cleanup() dereferences dev->driver after the bus remove() callback has returned, so this should result in a NULL pointer dereference whenever a MemoryStick card is removed or its driver is unbound.

The driver core clears dev->driver itself in device_unbind_cleanup(), so there is no need for the bus code to do it. Remove the assignment.

This was found by code inspection, with the help of an AI coding assistant, after hitting the same bug in the TI FlashMedia bus code (drivers/misc/tifm_core.c), which oopsed on SD card removal. It has only been compile-tested: no MemoryStick hardware was available.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143177.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a995fe1a3aa78b7d06cc1cc7b6b8436c5e93b07f
Fixed
8365c5aca9f43441968e6cd9d64afc6506619176
Fixed
6f2b998a52746892968741cbf8fc226985cbf286

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143177.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143177.json"