# CVE-2026-53403: fbdev: Fix fb\_new\_modelist to prevent null-ptr-deref in fb\_videomode\_to\_var

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-07-19T12:02:02.382Z
- **Modified:** 2026-11-06T17:18:29.193Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1458a4d804550b7101e8bb02c1cb941088e4c0c7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8707f02ac9f5f632039b60df2c9f3dc914709f72; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0d8c7f21ad8529d5c181e61f86be35b887ae2e4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7640b4f68acb54c2c4f6b4a8aee0e9849dacd929; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4f1a7fe8ba845cb7d39580755f78c3b7b9a0b61e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eea16b6f805c0b1fb2f72f0f771088ea45356956; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 88913059c77e171f44ba829282d42dde0d458811; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7f08fc10fa3d3366dc3af723970bd03d7d6d10e3
- Anyone running Linux 2.6.12

## Description

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.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1458a4d804550b7101e8bb02c1cb941088e4c0c7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8707f02ac9f5f632039b60df2c9f3dc914709f72; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0d8c7f21ad8529d5c181e61f86be35b887ae2e4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7640b4f68acb54c2c4f6b4a8aee0e9849dacd929; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4f1a7fe8ba845cb7d39580755f78c3b7b9a0b61e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eea16b6f805c0b1fb2f72f0f771088ea45356956; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 88913059c77e171f44ba829282d42dde0d458811; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7f08fc10fa3d3366dc3af723970bd03d7d6d10e3 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 7f08fc10fa3d3366dc3af723970bd03d7d6d10e3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53403. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53403.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1458a4d804550b7101e8bb02c1cb941088e4c0c7; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8707f02ac9f5f632039b60df2c9f3dc914709f72; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0d8c7f21ad8529d5c181e61f86be35b887ae2e4d; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 1458a4d804550b7101e8bb02c1cb941088e4c0c7, Linux 8707f02ac9f5f632039b60df2c9f3dc914709f72, Linux 0d8c7f21ad8529d5c181e61f86be35b887ae2e4d, Linux 7640b4f68acb54c2c4f6b4a8aee0e9849dacd929, Linux 4f1a7fe8ba845cb7d39580755f78c3b7b9a0b61e, Linux 88913059c77e171f44ba829282d42dde0d458811, Linux 7f08f…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53403 being exploited?

There is no confirmed exploitation: CVE-2026-53403 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53403?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-53403?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1458a4d804550b7101e8bb02c1cb941088e4c0c7; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8707f02ac9f5f632039b60df2c9f3dc914709f72; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0d8c7f21ad8529d5c181e61f86be35b887ae2e4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7640b4f68acb54c2c4f6b4a8aee0e9849dacd929; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4f1a7fe8ba845cb7d39580755f78c3b7b9a0b61e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eea16b6f805c0b1fb2f72f0f771088ea45356956; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 88913059c77e171f44ba829282d42dde0d458811; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7f08fc10fa3d3366dc3af723970bd03d7d6d10e3; Linux 2.6.12.

### Is there a fix for CVE-2026-53403?

Yes. Fixed in Linux 1458a4d804550b7101e8bb02c1cb941088e4c0c7, Linux 8707f02ac9f5f632039b60df2c9f3dc914709f72, Linux 0d8c7f21ad8529d5c181e61f86be35b887ae2e4d, Linux 7640b4f68acb54c2c4f6b4a8aee0e9849dacd929, Linux 4f1a7fe8ba845cb7d39580755f78c3b7b9a0b61e, Linux 88913059c77e171f44ba829282d42dde0d458811, Linux 7f08fc10fa3d3366dc3af723970bd03d7d6d10e3. Upgrade Linux to 7f08fc10fa3d3366dc3af723970bd03d7d6d10e3 or later.

### How do I check if I'm affected by CVE-2026-53403?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1458a4d804550b7101e8bb02c1cb941088e4c0c7>
- patch: <https://git.kernel.org/stable/c/8707f02ac9f5f632039b60df2c9f3dc914709f72>
- patch: <https://git.kernel.org/stable/c/0d8c7f21ad8529d5c181e61f86be35b887ae2e4d>
- patch: <https://git.kernel.org/stable/c/7640b4f68acb54c2c4f6b4a8aee0e9849dacd929>
- patch: <https://git.kernel.org/stable/c/4f1a7fe8ba845cb7d39580755f78c3b7b9a0b61e>
- patch: <https://git.kernel.org/stable/c/eea16b6f805c0b1fb2f72f0f771088ea45356956>
- patch: <https://git.kernel.org/stable/c/88913059c77e171f44ba829282d42dde0d458811>
- patch: <https://git.kernel.org/stable/c/7f08fc10fa3d3366dc3af723970bd03d7d6d10e3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53403>

HTML: <https://flawdb.com/CVE-2026-53403> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53403>
