{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-138818","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.896Z","datePublished":"2026-11-30T13:25:16.137Z","dateUpdated":"2026-11-30T13:25:16.137Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:25:16.137Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: tifm: don't clear dev->driver in tifm_device_remove()\n\ntifm_device_remove() sets sock->dev.driver to NULL after calling the\ndriver's remove() callback. Since commit a995fe1a3aa7 (\"rust: driver:\ndrop device private data post unbind\"), device_unbind_cleanup()\ndereferences dev->driver after the bus remove() callback has returned,\nso removing a card from a TI FlashMedia reader oopses:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000090\n  Workqueue: tifm tifm_7xx1_switch_media [tifm_7xx1]\n  RIP: 0010:device_unbind_cleanup+0x16/0xb0\n  Call Trace:\n   device_release_driver_internal+0x220/0x260\n   device_release_driver+0x12/0x20\n   bus_remove_device+0xf9/0x1c0\n   device_del+0x161/0x3b0\n   device_unregister+0x17/0x70\n   tifm_7xx1_switch_media.cold+0x6b/0xbd [tifm_7xx1]\n   process_one_work+0x1ac/0x3d0\n   worker_thread+0x1b8/0x360\n   kthread+0xf7/0x130\n   ret_from_fork+0x195/0x2a0\n   ret_from_fork_asm+0x1a/0x30\n\nThe driver core clears dev->driver itself in device_unbind_cleanup(), so\nthere is no need for the bus code to do it. Remove the assignment.\n\nThe problem was found and the fix written with the help of an AI coding\nassistant. Tested on a Dell Precision M6500 (TI PCIxx12 FlashMedia,\n104c:803b) running a 7.0 kernel: removing an SD card oopsed every time\nwithout the fix; with it, insert, read and remove work."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/tifm_core.c"],"versions":[{"version":"a995fe1a3aa78b7d06cc1cc7b6b8436c5e93b07f","lessThan":"f1e465275afb9a09bb0f552b3cdaae051c7ffcaa","status":"affected","versionType":"git"},{"version":"a995fe1a3aa78b7d06cc1cc7b6b8436c5e93b07f","lessThan":"2b23952d70d43321a90dd8a06bcaab04a1a73118","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/misc/tifm_core.c"],"versions":[{"version":"6.19","status":"affected"},{"version":"0","lessThan":"6.19","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/f1e465275afb9a09bb0f552b3cdaae051c7ffcaa"},{"url":"https://git.kernel.org/stable/c/2b23952d70d43321a90dd8a06bcaab04a1a73118"}],"title":"misc: tifm: don't clear dev->driver in tifm_device_remove()","x_generator":{"engine":"bippy-1.2.0"}}}}