VDB

CVE-2026-53403

CVE-2026-53403 PUBLISHED

fbdev: Fix fb_new_modelist to prevent null-ptr-deref in fb_videomode_to_var

Reported by linux · Published July 19, 2026

In the Linux kernel, the following vulnerability has been resolved: fbdev: Fix fb_new_modelist to prevent null-ptr-deref in fb_videomode_to_var info->var, a framebuffer's current mode, is expected to have a matching entry in info->modelist. var_to_display() relies on this and treats a failed fb_match_mode() as "This should not happen". fb_set_var() keeps it true by adding the mode to the list on every change, and do_register_framebuffer() does the same at registration. store_modes() replaces the modelist from userspace. fb_new_modelist() validates the new modes but does not check that info->var still has a match. It relies on fbcon_new_modelist() to re-point consoles, but that only handles consoles mapped to the framebuffer. With fbcon unbound there are none, so info->var is left describing a mode that is no longer in the list. A later console takeover runs var_to_display(), where fb_match_mode() returns NULL and leaves fb_display[i].mode NULL. fbcon_switch() passes it to display_to_var(), and fb_videomode_to_var() dereferences the NULL mode. Keep the current mode in the list in fb_new_modelist(), the same way fb_set_var() does.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux1:6.1.177-224.371.amzn2023
kernel-develAmazon Linux1:6.1.177-224.371.amzn2023
kernel-livepatch-6.18.38-73.137Amazon Linux1:1.0-0.amzn2023
kernel-toolsAmazon Linux1:6.1.177-224.371.amzn2023
kernel6.18-headersAmazon Linux1:6.18.38-73.137.amzn2023
kernel-headersAmazon Linux1:6.1.177-224.371.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.38-73.137.amzn2023
kernel-livepatch-6.12.95-124.187Amazon Linux1:1.0-0.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.95-124.187.amzn2023
perf6.18Amazon Linux1:6.18.38-73.137.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.38-73.137.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.38-73.137.amzn2023

13 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.10.260
amazon:2023kernel-tools-devel0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.18.38-73.1370
amazon:2023kernel-tools0
amazon:2023kernel6.18-headers0
amazon:2023kernel-headers0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.12.95-124.1870
amazon:2023kernel6.12-tools-devel0
amazon:2023perf6.180
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023python3-perf6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.12-headers0
amazon:2023perf0
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool0

…and 18 more

Timeline

  • Jul 19, 2026 Coalition ESS Score
  • Jul 19, 2026 CVE Published
  • Jul 20, 2026 Security Advisory (31 in total, the first dated here)
  • Aug 7, 2026 EPSS Score (8 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (30 in total, the first dated here)
  • Aug 17, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53403
vulnetix vdb fixes CVE-2026-53403

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53403/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›