CVE-2026-99007 (GCVE-0-2026-99007)
Vulnerability from cvelistv5
Published
2026-10-23 12:20
Modified
2026-10-30 12:40
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: ca91a2758fcef6635626993557dd51cfbb6dd134
Version: ca91a2758fcef6635626993557dd51cfbb6dd134
Version: ca91a2758fcef6635626993557dd51cfbb6dd134
Version: ca91a2758fcef6635626993557dd51cfbb6dd134
Version: ca91a2758fcef6635626993557dd51cfbb6dd134
Version: ca91a2758fcef6635626993557dd51cfbb6dd134
Version: ca91a2758fcef6635626993557dd51cfbb6dd134
Version: ca91a2758fcef6635626993557dd51cfbb6dd134
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/drm_fb_helper.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "423c871a586cff8b29f48db00e3c45c21d0e8121",
              "status": "affected",
              "version": "ca91a2758fcef6635626993557dd51cfbb6dd134",
              "versionType": "git"
            },
            {
              "lessThan": "e5f8f6e0f0a18c77c04b757d72319d897a0b4bc1",
              "status": "affected",
              "version": "ca91a2758fcef6635626993557dd51cfbb6dd134",
              "versionType": "git"
            },
            {
              "lessThan": "9124411cb91b129ff3ffb0d723ecba7a5bf893f9",
              "status": "affected",
              "version": "ca91a2758fcef6635626993557dd51cfbb6dd134",
              "versionType": "git"
            },
            {
              "lessThan": "4a2006c675758f0c765b36fec6b49d17e89159cf",
              "status": "affected",
              "version": "ca91a2758fcef6635626993557dd51cfbb6dd134",
              "versionType": "git"
            },
            {
              "lessThan": "3b303696f61461b3569019d7fcac6a646652b2b4",
              "status": "affected",
              "version": "ca91a2758fcef6635626993557dd51cfbb6dd134",
              "versionType": "git"
            },
            {
              "lessThan": "4e7b508c7c60dec7a86b7eb2a1b7e6d174afa457",
              "status": "affected",
              "version": "ca91a2758fcef6635626993557dd51cfbb6dd134",
              "versionType": "git"
            },
            {
              "lessThan": "d510ed273854177f0a3ed330145858b2fe667f81",
              "status": "affected",
              "version": "ca91a2758fcef6635626993557dd51cfbb6dd134",
              "versionType": "git"
            },
            {
              "lessThan": "755c94d178b7e972bb766199d34e4ba4f63a89eb",
              "status": "affected",
              "version": "ca91a2758fcef6635626993557dd51cfbb6dd134",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/drm_fb_helper.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.14"
            },
            {
              "lessThan": "4.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.273",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.224",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.113",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.57",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.273",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.224",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.191",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.113",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.57",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.11",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "4.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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-\u003emode/num_connectors for every connected output, and only\nafterwards calls drm_fb_helper_single_fb_probe() to create\nfb_helper-\u003efb 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-\u003edriver-\u003efbdev_probe() itself fails), the function\nbails out before drm_setup_crtcs_fb() runs and before setting\nfb_helper-\u003edeferred_setup. The client is left with mode_sets that\nhave a mode and connectors but mode_set-\u003efb == 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-\u003edeferred_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() -\u003e\ndrm_client_modeset_commit_atomic() -\u003e __drm_atomic_helper_set_config(),\nwhich hits WARN_ON(!set-\u003efb).\n\nMark fb_helper-\u003edeferred_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-\u003efb. The real error code is still returned to the caller\nunchanged."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-30T12:40:51.342Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/423c871a586cff8b29f48db00e3c45c21d0e8121"
        },
        {
          "url": "https://git.kernel.org/stable/c/e5f8f6e0f0a18c77c04b757d72319d897a0b4bc1"
        },
        {
          "url": "https://git.kernel.org/stable/c/9124411cb91b129ff3ffb0d723ecba7a5bf893f9"
        },
        {
          "url": "https://git.kernel.org/stable/c/4a2006c675758f0c765b36fec6b49d17e89159cf"
        },
        {
          "url": "https://git.kernel.org/stable/c/3b303696f61461b3569019d7fcac6a646652b2b4"
        },
        {
          "url": "https://git.kernel.org/stable/c/4e7b508c7c60dec7a86b7eb2a1b7e6d174afa457"
        },
        {
          "url": "https://git.kernel.org/stable/c/d510ed273854177f0a3ed330145858b2fe667f81"
        },
        {
          "url": "https://git.kernel.org/stable/c/755c94d178b7e972bb766199d34e4ba4f63a89eb"
        }
      ],
      "title": "drm/fb-helper: defer setup when fbdev_probe() fails, not just on -EAGAIN",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99007",
    "datePublished": "2026-10-23T12:20:32.381Z",
    "dateReserved": "2026-09-25T10:25:14.385Z",
    "dateUpdated": "2026-10-30T12:40:51.342Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…