{"id":"CVE-2026-99007","aliases":["CVE-2026-99007"],"related":[],"kind":"vulnerability","state":"published","title":"drm/fb-helper: defer setup when fbdev_probe() fails, not just on -EAGAIN","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/fb-helper: defer setup when fbdev_probe() fails, not just on -EAGAIN\n\n__drm_fb_helper_initial_config_and_unlock() calls\ndrm_client_modeset_probe() first, which already fills in each\nmode_set->mode/num_connectors for every connected output, and only\nafterwards calls drm_fb_helper_single_fb_probe() to create\nfb_helper->fb and wire it into those mode_sets via\ndrm_setup_crtcs_fb().\n\nIf drm_fb_helper_single_fb_probe() fails with anything other than\n-EAGAIN (e.g. dev->driver->fbdev_probe() itself fails), the function\nbails out before drm_setup_crtcs_fb() runs and before setting\nfb_helper->deferred_setup. The client is left with mode_sets that\nhave a mode and connectors but mode_set->fb == NULL, and nothing\nmarks this fb_helper as needing a retry.\n\n__drm_fb_helper_restore_fbdev_mode_unlocked() only skips committing\nwhen fb_helper->deferred_setup is set, so a later .restore() call\n(drm_lastclose() on process exit, in this report) commits the stale\nmode_set through drm_client_modeset_commit() ->\ndrm_client_modeset_commit_atomic() -> __drm_atomic_helper_set_config(),\nwhich hits WARN_ON(!set->fb).\n\nMark fb_helper->deferred_setup on any drm_fb_helper_single_fb_probe()\nfailure, not just -EAGAIN, so restore keeps skipping the commit until\na later hotplug event successfully re-probes and re-populates\nmode_set->fb. The real error code is still returned to the caller\nunchanged.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/fb-helper: defer setup when fbdev_probe() fails, not just on -EAGAIN\n\n__drm_fb_helper_initial_config_and_unlock() calls\ndrm_client_modeset_probe() first, which already fills in each\nmode_set->mode/num_connectors for every connected output, and only\nafterwards calls drm_fb_helper_single_fb_probe() to create\nfb_helper->fb and wire it into those mode_sets via\ndrm_setup_crtcs_fb().\n\nIf drm_fb_helper_single_fb_probe() fails with anything other than\n-EAGAIN (e.g. dev->driver->fbdev_probe() itself fails), the function\nbails out before drm_setup_crtcs_fb() runs and before setting\nfb_helper->deferred_setup. The client is left with mode_sets that\nhave a mode and connectors but mode_set->fb == NULL, and nothing\nmarks this fb_helper as needing a retry.\n\n__drm_fb_helper_restore_fbdev_mode_unlocked() only skips committing\nwhen fb_helper->deferred_setup is set, so a later .restore() call\n(drm_lastclose() on process exit, in this report) commits the stale\nmode_set through drm_client_modeset_commit() ->\ndrm_client_modeset_commit_atomic() -> __drm_atomic_helper_set_config(),\nwhich hits WARN_ON(!set->fb).\n\nMark fb_helper->deferred_setup on any drm_fb_helper_single_fb_probe()\nfailure, not just -EAGAIN, so restore keeps skipping the commit until\na later hotplug event successfully re-probes and re-populates\nmode_set->fb. The real error code is still returned to the caller\nunchanged.","source":"cvelist"}],"published":"2026-10-23T12:20:32.381Z","modified":"2026-10-30T13:21:35.327Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ca91a2758fcef6635626993557dd51cfbb6dd134","fixed":"423c871a586cff8b29f48db00e3c45c21d0e8121","status":"affected"},{"type":"git","introduced":"ca91a2758fcef6635626993557dd51cfbb6dd134","fixed":"e5f8f6e0f0a18c77c04b757d72319d897a0b4bc1","status":"affected"},{"type":"git","introduced":"ca91a2758fcef6635626993557dd51cfbb6dd134","fixed":"9124411cb91b129ff3ffb0d723ecba7a5bf893f9","status":"affected"},{"type":"git","introduced":"ca91a2758fcef6635626993557dd51cfbb6dd134","fixed":"4a2006c675758f0c765b36fec6b49d17e89159cf","status":"affected"},{"type":"git","introduced":"ca91a2758fcef6635626993557dd51cfbb6dd134","fixed":"3b303696f61461b3569019d7fcac6a646652b2b4","status":"affected"},{"type":"git","introduced":"ca91a2758fcef6635626993557dd51cfbb6dd134","fixed":"4e7b508c7c60dec7a86b7eb2a1b7e6d174afa457","status":"affected"},{"type":"git","introduced":"ca91a2758fcef6635626993557dd51cfbb6dd134","fixed":"d510ed273854177f0a3ed330145858b2fe667f81","status":"affected"},{"type":"git","introduced":"ca91a2758fcef6635626993557dd51cfbb6dd134","fixed":"755c94d178b7e972bb766199d34e4ba4f63a89eb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.11","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/423c871a586cff8b29f48db00e3c45c21d0e8121","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e5f8f6e0f0a18c77c04b757d72319d897a0b4bc1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9124411cb91b129ff3ffb0d723ecba7a5bf893f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a2006c675758f0c765b36fec6b49d17e89159cf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b303696f61461b3569019d7fcac6a646652b2b4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4e7b508c7c60dec7a86b7eb2a1b7e6d174afa457","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d510ed273854177f0a3ed330145858b2fe667f81","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/755c94d178b7e972bb766199d34e4ba4f63a89eb","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99007","url":"https://www.cve.org/CVERecord?id=CVE-2026-99007","licence":"CVE Terms of Use","modified":"2026-10-30T12:40:51.342Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99007","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99007","licence":"Public domain","modified":"2026-10-30T13:21:35.327Z"}],"updatedAt":"2026-11-25T22:59:46.944Z","epss":{"score":0.00211,"percentile":0.12006,"date":"2026-12-02T12:00:21.000Z"}}