CVE-2026-138818

Not scored yetLast modified Nov 30, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138819In the Linux kernel, the following vulnerability has been resolved: serial: 8250_exar: store the GPIO platform device in struct exar8250 TCVE-2026-138829.6Race in USB in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the renderer process to potentially perforCVE-2026-138820In the Linux kernel, the following vulnerability has been resolved: arm64/mm: Treat faults taken by EFI runtime firmware as kernel faults CVE-2026-1388217.0In the Linux kernel, the following vulnerability has been resolved: fbdev: sh_mobile_lcdc: check for fb_deferred_io_init() error fb_deferrCVE-2026-138822In the Linux kernel, the following vulnerability has been resolved: fbdev: smscufx: check for fb_deferred_io_init() error fb_deferred_io_iCVE-2026-138823In the Linux kernel, the following vulnerability has been resolved: fbdev: udlfb: check for fb_deferred_io_init() error fb_deferred_io_iniCVE-2026-138824In the Linux kernel, the following vulnerability has been resolved: fbdev: xen-fbfront: check for fb_deferred_io_init() error fb_deferred_CVE-2026-138825In the Linux kernel, the following vulnerability has been resolved: fbdev: core: Initialize modelist in framebuffer_alloc() framebuffer_alCVE-2026-138826In the Linux kernel, the following vulnerability has been resolved: fbdev: sh_mobile_lcdcfb: Restore the per-overlay sysfs attributes The CVE-2026-138827In the Linux kernel, the following vulnerability has been resolved: platform/x86/amd: hfi: Fix out-of-bounds reads when parsing ranking datCVE-2026-138828In the Linux kernel, the following vulnerability has been resolved: platform/x86: asus-wmi: Serialize WMI method evaluations with a mutex CVE-2026-138829In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-bioscfg: fix 16-byte heap overflow for empty auth toke
CVE-2026-138818: Unscored | Vulnix