GHSA-JR84-X8FX-29XC

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32
VLAI
Details

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.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-138818"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:17:35Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: tifm: don\u0027t clear dev-\u003edriver in tifm_device_remove()\n\ntifm_device_remove() sets sock-\u003edev.driver to NULL after calling the\ndriver\u0027s remove() callback. Since commit a995fe1a3aa7 (\"rust: driver:\ndrop device private data post unbind\"), device_unbind_cleanup()\ndereferences dev-\u003edriver 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-\u003edriver 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.",
  "id": "GHSA-jr84-x8fx-29xc",
  "modified": "2026-11-30T15:32:04Z",
  "published": "2026-11-30T15:32:04Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138818"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2b23952d70d43321a90dd8a06bcaab04a1a73118"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f1e465275afb9a09bb0f552b3cdaae051c7ffcaa"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.