CVE-2026-53403
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools-devel | Amazon Linux | 1:6.1.177-224.371.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.177-224.371.amzn2023 |
| kernel-livepatch-6.18.38-73.137 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel-tools | Amazon Linux | 1:6.1.177-224.371.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.38-73.137.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.177-224.371.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.38-73.137.amzn2023 |
| kernel-livepatch-6.12.95-124.187 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.95-124.187.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.38-73.137.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.38-73.137.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.38-73.137.amzn2023 |
13 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 |
| Linux | Linux | 2.6.12, 0, 5.10.260 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-livepatch-6.18.38-73.137 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.95-124.187 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | bpftool | 0 |
…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