HID: sony: clean up device list on probe failure (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.36 % · percentile 31 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: HID: sony: clean up device list on probe failure sony_input_configured() adds some controllers to sony_device_list before HID core registers their input devices. input_register_device() can fail after the callback returns successfully. sony_probe() then observes that HID_CLAIMED_INPUT is clear and unwinds, but only stops the HID hardware. The devres-managed sony_sc is freed while its list node remains linked, so the next matching controller traverses freed memory. Initialize the list node and device ID to inactive states. Make list removal idempotent and run the driver-private cleanup on every probe failure path. This also makes a second cleanup safe when sony_input_configured() already unwound a partial initialization before sony_probe() handles the missing input claim. Found by 0sec (https://0sec.ai) using automated source analysis; verified against the HID input registration and probe unwind paths.
References
- https://git.kernel.org/stable/c/41d92c2e02788c04663b11335454b094dc4672bc
- https://git.kernel.org/stable/c/7ee50d42a6d5c8cf3d8afb3285273bcc58452214
- https://git.kernel.org/stable/c/b84544ef00a27e8081498d33af7dac33b6cb8418
- https://git.kernel.org/stable/c/3b4709e4864908bb06c48c500cc8db8d3d55d139
- https://git.kernel.org/stable/c/d044d796e2a369c6051c7e83dce88c7baa2494d4
- https://git.kernel.org/stable/c/7c65699a3a311198a07659a614fe64d45924839e
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-80649
- GCVE · GCVE-0-2026-90041
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 4f967f6d73746f66514528cc1191025f0b5d69b3 < 41d92c2e02788c04663b11335454b094dc4672bc affected : ≥ 4f967f6d73746f66514528cc1191025f0b5d69b3 < 7ee50d42a6d5c8cf3d8afb3285273bcc58452214 affected : ≥ 4f967f6d73746f66514528cc1191025f0b5d69b3 < b84544ef00a27e8081498d33af7dac33b6cb8418 affected : ≥ 4f967f6d73746f66514528cc1191025f0b5d69b3 < 3b4709e4864908bb06c48c500cc8db8d3d55d139 affected : ≥ 4f967f6d73746f66514528cc1191025f0b5d69b3 < d044d796e2a369c6051c7e83dce88c7baa2494d4 affected : ≥ 4f967f6d73746f66514528cc1191025f0b5d69b3 < 7c65699a3a311198a07659a614fe64d45924839e Other versions : unaffected |
| Linux · Linux | affected : 4.10 unaffected : ≥ 0 < 4.10 unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.111 ≤ 6.12.* unaffected : ≥ 6.18.51 ≤ 6.18.* unaffected : ≥ 7.2.5 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |