Bug 2589799 (CVE-2026-143177) - CVE-2026-143177 kernel: Kernel: Denial of service via NULL pointer dereference during MemoryStick device removal
Summary: CVE-2026-143177 kernel: Kernel: Denial of service via NULL pointer dereferenc...
Keywords:
Status: NEW
Alias: CVE-2026-143177
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 09:45 UTC by OSIDB Bzimport
Modified: 2026-12-03 14:43 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 09:45:07 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.