EnvMap GitHub

CVE-2026-143177

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

Not scored yetEPSS 0.19%Received

Description

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.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from a995fe1a3aa78b7d06cc1cc7b6b8436c5e93b07f before 8365c5aca9f43441968e6cd9d64; from a995fe1a3aa78b7d06cc1cc7b6b8436c5e93b07f before 6f2b998a52746892968741cbf8f; 6.19

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.19% chance of exploitation in the next 30 days, higher than 9% of all CVEs (as of 4 December 2026).

References

Record

Published10:17 UTC, 3 December 2026
Last changed10:17 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-143177 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.