PT-2026-162678

CVE-2026-138818

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
misc: tifm: don't clear dev->driver in tifm device remove()
tifm device remove() sets sock->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 removing a card from a TI FlashMedia reader oopses:
BUG: kernel NULL pointer dereference, address: 0000000000000090 Workqueue: tifm tifm 7xx1 switch media [tifm 7xx1] RIP: 0010:device unbind cleanup+0x16/0xb0 Call Trace: device release driver internal+0x220/0x260 device release driver+0x12/0x20 bus remove device+0xf9/0x1c0 device del+0x161/0x3b0 device unregister+0x17/0x70 tifm 7xx1 switch media.cold+0x6b/0xbd [tifm 7xx1] process one work+0x1ac/0x3d0 worker thread+0x1b8/0x360 kthread+0xf7/0x130 ret from fork+0x195/0x2a0 ret from fork asm+0x1a/0x30
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.
The problem was found and the fix written with the help of an AI coding assistant. Tested on a Dell Precision M6500 (TI PCIxx12 FlashMedia, 104c:803b) running a 7.0 kernel: removing an SD card oopsed every time without the fix; with it, insert, read and remove work.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾