uio: Fix stale info pointer in failed registration path (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.15 % · percentile 4 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: uio: Fix stale info pointer in failed registration path After device_add(), the UIO device is visible to userspace and /dev/uioX can be opened. If a later setup step fails, __uio_register_device() unwinds the device but leaves idev->info pointing at the caller-owned struct uio_info. That is unsafe when an opener races with the failed registration path. The open file keeps a reference to the uio_device, while the caller sees registration failure and may free its struct uio_info. Later file operations can then follow idev->info and dereference freed memory. Handle post-device_add() failures like unregister: remove UIO attributes while the info pointer is still valid, then clear idev->info under info_lock and wake existing waiters/async users before removing the device and minor. This makes already-open file descriptors observe the same "device gone" state as normal uio_unregister_device().
References
- https://git.kernel.org/stable/c/63eaa7663335d482a8825c231213e312cacea567
- https://git.kernel.org/stable/c/df4faf65194ec6c315a59be4c6749eaeb3009243
- https://git.kernel.org/stable/c/506b43dde5f9ac0068b1360e6b5dbee07fda59fb
- https://git.kernel.org/stable/c/15340b00e665af805523b08515294a1aa1778151
- https://git.kernel.org/stable/c/234156f6c6d9ec35dc47abbcc3adc3c79fc6a5ac
- https://git.kernel.org/stable/c/16695e9059d80ea6661e8399064b0c01f641dd8c
- https://git.kernel.org/stable/c/ec5bd6731183eb6f619140c9bef2ee11ed818c20
- https://git.kernel.org/stable/c/67b6fc084b034a91c3ec7907a3fed89a2450f30b
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-82164
- GCVE · GCVE-0-2026-93054
CERT-FR advisories
- CERTFR-2026-AVI-1636 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · 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-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE · 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-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · 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 : ≥ a93e7b331568227500186a465fee3c2cb5dffd1f < 63eaa7663335d482a8825c231213e312cacea567 affected : ≥ a93e7b331568227500186a465fee3c2cb5dffd1f < df4faf65194ec6c315a59be4c6749eaeb3009243 affected : ≥ a93e7b331568227500186a465fee3c2cb5dffd1f < 506b43dde5f9ac0068b1360e6b5dbee07fda59fb affected : ≥ a93e7b331568227500186a465fee3c2cb5dffd1f < 15340b00e665af805523b08515294a1aa1778151 affected : ≥ a93e7b331568227500186a465fee3c2cb5dffd1f < 234156f6c6d9ec35dc47abbcc3adc3c79fc6a5ac affected : ≥ a93e7b331568227500186a465fee3c2cb5dffd1f < 16695e9059d80ea6661e8399064b0c01f641dd8c affected : ≥ a93e7b331568227500186a465fee3c2cb5dffd1f < ec5bd6731183eb6f619140c9bef2ee11ed818c20 affected : ≥ a93e7b331568227500186a465fee3c2cb5dffd1f < 67b6fc084b034a91c3ec7907a3fed89a2450f30b affected : 085d735c858934e5d5bfaedb1fc98bd9135e6ff1 affected : ≥ 4.14.100 < 4.15 Other versions : unaffected |
| Linux · Linux | affected : 4.18 unaffected : ≥ 0 < 4.18 unaffected : ≥ 5.10.270 ≤ 5.10.* unaffected : ≥ 5.15.221 ≤ 5.15.* unaffected : ≥ 6.1.188 ≤ 6.1.* unaffected : ≥ 6.6.157 ≤ 6.6.* unaffected : ≥ 6.12.110 ≤ 6.12.* unaffected : ≥ 6.18.52 ≤ 6.18.* unaffected : ≥ 7.2.6 ≤ 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 |