HID: sony: fix UAF of ghl_poke_timer / ghl_urb at driver unbind
In the Linux kernel, the following vulnerability has been resolved: HID: sony: fix UAF of ghl_poke_timer / ghl_urb at driver unbind For GHL (Guitar Hero Live) dongles, sony_probe() arms a periodic timer: ghl_magic_poke() (the timer callback) submits sc->ghl_urb, and the URB completion ghl_magic_poke_cb() re-arms the timer with mod_timer(). sony_remove() drained the timer with timer_delete_sync() and then freed the URB with usb_free_urb(): timer_delete_sync(&sc->ghl_poke_timer); usb_free_urb(sc->ghl_urb); timer_delete_sync() does not block re-arming, and while the URB is in flight the timer is not pending, so the sync delete is a no-op. A URB completion that runs after the delete re-arms the timer, and usb_free_urb() only drops a reference -- it does not kill an in-flight URB. sc is allocated with devm_kzalloc() and freed once sony_remove() returns, so the re-armed ghl_poke_timer (embedded in sc) then fires on freed memory, a use-after-free from timer softirq. This is a disconnect/rmmod race. Poison the URB first, then shut the timer down, before freeing the URB. usb_poison_urb() kills any in-flight URB and permanently rejects further submissions, so a poke timer that is still pending cannot re-submit the URB from ghl_magic_poke() in the window before timer_shutdown_sync() runs. usb_kill_urb() would not suffice: it only cancels the in-flight URB and leaves it submittable once it returns, so the pending timer could re-submit it and put a fresh URB in flight over the freed sc. t
CVE-2026-89625
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-89625
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "cc894ac553605c9193a7a94372ff2f8af5766f46",
"lessThan": "56ef23198bdd51644372b1a9917802544b30987a",
"versionType": "git"
},
{
"status": "affected",
"version": "cc894ac553605c9193a7a94372ff2f8af5766f46",
"lessThan": "0e3d42ef008f0931e3878b4f1b046b6e45a95bde",
"versionType": "git"
},
{
"status": "affected",
"version": "cc894ac553605c9193a7a94372ff2f8af5766f46",
"lessThan": "114a58640aaf3c2eb97b5b01c75ab5e541d15d9c",
"versionType": "git"
},
{
"status": "affected",
"version": "cc894ac553605c9193a7a94372ff2f8af5766f46",
"lessThan": "3155dc327344d286f17345cd371be05e255a4328",
"versionType": "git"
},
{
"status": "affected",
"version": "cc894ac553605c9193a7a94372ff2f8af5766f46",
"lessThan": "a26705bd2e2728833e7a538ce91e58a5eeff496a",
"versionType": "git"
}
],
"programFiles": [
"drivers/hid/hid-sony.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.11"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.11",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.50",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/hid/hid-sony.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-89625
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46688 · Revision 1
- Added to Heist Feed
- Publisher date