drm/fb-helper: defer setup when fbdev_probe() fails, not just on -EAGAIN (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: drm/fb-helper: defer setup when fbdev_probe() fails, not just on -EAGAIN __drm_fb_helper_initial_config_and_unlock() calls drm_client_modeset_probe() first, which already fills in each mode_set->mode/num_connectors for every connected output, and only afterwards calls drm_fb_helper_single_fb_probe() to create fb_helper->fb and wire it into those mode_sets via drm_setup_crtcs_fb(). If drm_fb_helper_single_fb_probe() fails with anything other than -EAGAIN (e.g. dev->driver->fbdev_probe() itself fails), the function bails out before drm_setup_crtcs_fb() runs and before setting fb_helper->deferred_setup. The client is left with mode_sets that have a mode and connectors but mode_set->fb == NULL, and nothing marks this fb_helper as needing a retry. __drm_fb_helper_restore_fbdev_mode_unlocked() only skips committing when fb_helper->deferred_setup is set, so a later .restore() call (drm_lastclose() on process exit, in this report) commits the stale mode_set through drm_client_modeset_commit() -> drm_client_modeset_commit_atomic() -> __drm_atomic_helper_set_config(), which hits WARN_ON(!set->fb). Mark fb_helper->deferred_setup on any drm_fb_helper_single_fb_probe() failure, not just -EAGAIN, so restore keeps skipping the commit until a later hotplug event successfully re-probes and re-populates mode_set->fb. The real error code is still returned to the caller unchanged.
References
- https://git.kernel.org/stable/c/423c871a586cff8b29f48db00e3c45c21d0e8121
- https://git.kernel.org/stable/c/e5f8f6e0f0a18c77c04b757d72319d897a0b4bc1
- https://git.kernel.org/stable/c/9124411cb91b129ff3ffb0d723ecba7a5bf893f9
- https://git.kernel.org/stable/c/4a2006c675758f0c765b36fec6b49d17e89159cf
- https://git.kernel.org/stable/c/3b303696f61461b3569019d7fcac6a646652b2b4
- https://git.kernel.org/stable/c/4e7b508c7c60dec7a86b7eb2a1b7e6d174afa457
- https://git.kernel.org/stable/c/d510ed273854177f0a3ed330145858b2fe667f81
- https://git.kernel.org/stable/c/755c94d178b7e972bb766199d34e4ba4f63a89eb
European references
- ENISA EUVD · EUVD-2026-108801
- GCVE · GCVE-0-2026-99007
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-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
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ ca91a2758fcef6635626993557dd51cfbb6dd134 < 423c871a586cff8b29f48db00e3c45c21d0e8121 affected : ≥ ca91a2758fcef6635626993557dd51cfbb6dd134 < e5f8f6e0f0a18c77c04b757d72319d897a0b4bc1 affected : ≥ ca91a2758fcef6635626993557dd51cfbb6dd134 < 9124411cb91b129ff3ffb0d723ecba7a5bf893f9 affected : ≥ ca91a2758fcef6635626993557dd51cfbb6dd134 < 4a2006c675758f0c765b36fec6b49d17e89159cf affected : ≥ ca91a2758fcef6635626993557dd51cfbb6dd134 < 3b303696f61461b3569019d7fcac6a646652b2b4 affected : ≥ ca91a2758fcef6635626993557dd51cfbb6dd134 < 4e7b508c7c60dec7a86b7eb2a1b7e6d174afa457 affected : ≥ ca91a2758fcef6635626993557dd51cfbb6dd134 < d510ed273854177f0a3ed330145858b2fe667f81 affected : ≥ ca91a2758fcef6635626993557dd51cfbb6dd134 < 755c94d178b7e972bb766199d34e4ba4f63a89eb Other versions : unaffected |
| Linux · Linux | affected : 4.14 unaffected : ≥ 0 < 4.14 unaffected : ≥ 5.10.273 ≤ 5.10.* unaffected : ≥ 5.15.224 ≤ 5.15.* unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.113 ≤ 6.12.* unaffected : ≥ 6.18.57 ≤ 6.18.* unaffected : ≥ 7.2.11 ≤ 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 |