CVE & CISA-KEV Catalog

CVE-2025-68296

MEDIUM
5.5
CVSS v3
NVD

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.

How to fix

Remediation Available
linuxDebian
Fixed in:6.12.63-1CVE-2025-68296
Fixed in:6.17.11-1CVE-2025-68296
linuxUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-awsUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-aws-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
linux-azureUbuntu
Fixed in:6.17.0-1010.10USN-8094-4
linux-azure-6.17Ubuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
linux-gcpUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-gcp-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
linux-hwe-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-6.17.0-1008-realtimeUbuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-6.17.0-1009-awsUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-aws-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-gcpUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-gcp-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-oracleUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-oracle-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1010-azureUbuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-6.17.0-1010-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-6.17.0-1017-oemUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-6.17.0-19-genericUbuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-6.17.0-19-generic-64kUbuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-awsUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-azureUbuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-azure-6.17Ubuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-gcpUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-genericUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64kUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64k-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-oem-24.04Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04aUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04bUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04cUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04dUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-6.17Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oracleUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-raspi-6.17Ubuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-realtimeUbuntu
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-realtime-6.17Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-realtime-hwe-24.04Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-virtualUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-virtual-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-oem-6.17Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-oracleUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-oracle-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
linux-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-realtimeUbuntu
Fixed in:6.17.0-1008.9USN-8094-2
linux-realtime-6.17Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.17%probability of exploitation in 30 days
7thpercentile

Low risk: more likely to be exploited than 7% of all known CVEs.

References

Embed a live status badge for CVE-2025-68296
CVE-2025-68296 severity badge

Markdown

[![CVE-2025-68296](https://tridentstack.com/cve/badge/CVE-2025-68296.svg)](https://tridentstack.com/cve/CVE-2025-68296)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-68296"><img src="https://tridentstack.com/cve/badge/CVE-2025-68296.svg" alt="CVE-2025-68296"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-19.