# CVE-2025-68296: drm, fbcon, vga\_switcheroo: Avoid race condition in fbcon setup

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-16T15:06:15.797Z
- **Modified:** 2026-10-14T16:10:00.250Z

## Who should check

- Anyone running Linux \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< 711ebd961190def4c69ea24b2f0be75e995af24a; \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< 482330f8261b4bea8146d9bd69c1199e5dfcbb5c; \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< 05814c389b53d2f3a0b9eeb90ba7a05ba77c4c2a; \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< eb76d0f5553575599561010f24c277cc5b31d003
- Anyone running Linux 2.6.34

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm, fbcon, vga\_switcheroo: Avoid race condition in fbcon setup

Protect vga\_switcheroo\_client\_fb\_set() with console lock. Avoids OOB
access in fbcon\_remap\_all(). Without holding the console lock the call
races with switching outputs.

VGA switcheroo calls fbcon\_remap\_all() when switching clients. The fbcon
function uses struct fb\_info.node, which is set by register\_framebuffer().
As the fb-helper code currently sets up VGA switcheroo before registering
the framebuffer, the value of node is -1 and therefore not a legal value.
For example, fbcon uses the value within set\_con2fb\_map() \[1\] as an index
into an array.

Moving vga\_switcheroo\_client\_fb\_set() after register\_framebuffer() can
result in VGA switching that does not switch fbcon correctly.

Therefore move vga\_switcheroo\_client\_fb\_set() under fbcon\_fb\_registered(),
which already holds the console lock. Fbdev calls fbcon\_fb\_registered()
from within register\_framebuffer(). Serializes the helper with VGA
switcheroo's call to fbcon\_remap\_all().

Although vga\_switcheroo\_client\_fb\_set() takes an instance of struct fb\_info
as parameter, it really only needs the contained fbcon state. Moving the
call to fbcon initialization is therefore cleaner than before. Only amdgpu,
i915, nouveau and radeon support vga\_switcheroo. For all other drivers,
this change does nothing.

## Affected and fixed versions

- Linux: \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< 711ebd961190def4c69ea24b2f0be75e995af24a; \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< 482330f8261b4bea8146d9bd69c1199e5dfcbb5c; \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< 05814c389b53d2f3a0b9eeb90ba7a05ba77c4c2a; \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< eb76d0f5553575599561010f24c277cc5b31d003 (cvelist)
- Linux: 2.6.34 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68296.md
Affected: Linux >= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, < 711ebd961190def4c69ea24b2f0be75e995af24a; >= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, < 482330f8261b4bea8146d9bd69c1199e5dfcbb5c; >= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, < 05814c389b53d2f3a0b9eeb90ba7a05ba77c4c2a; >= 6a9ee8af344e3bd7dbd61e6…
Fixed in: Linux 711ebd961190def4c69ea24b2f0be75e995af24a, Linux 482330f8261b4bea8146d9bd69c1199e5dfcbb5c, Linux 05814c389b53d2f3a0b9eeb90ba7a05ba77c4c2a

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-2025-68296 being exploited?

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

### How serious is CVE-2025-68296?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68296?

Linux \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< 711ebd961190def4c69ea24b2f0be75e995af24a; \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< 482330f8261b4bea8146d9bd69c1199e5dfcbb5c; \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< 05814c389b53d2f3a0b9eeb90ba7a05ba77c4c2a; \>= 6a9ee8af344e3bd7dbd61e67037096cdf7f83289, \< eb76d0f5553575599561010f24c277cc5b31d003; Linux 2.6.34.

### Is there a fix for CVE-2025-68296?

Yes. Fixed in Linux 711ebd961190def4c69ea24b2f0be75e995af24a, Linux 482330f8261b4bea8146d9bd69c1199e5dfcbb5c, Linux 05814c389b53d2f3a0b9eeb90ba7a05ba77c4c2a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68296?

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

- other: <https://git.kernel.org/stable/c/711ebd961190def4c69ea24b2f0be75e995af24a>
- other: <https://git.kernel.org/stable/c/482330f8261b4bea8146d9bd69c1199e5dfcbb5c>
- other: <https://git.kernel.org/stable/c/05814c389b53d2f3a0b9eeb90ba7a05ba77c4c2a>
- other: <https://git.kernel.org/stable/c/eb76d0f5553575599561010f24c277cc5b31d003>

## 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-2025-68296>

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