Junglewise Threat Intelligence

CVE-2025-68171: Linux Kernel state mismatch in x86 FPU signal delivery

CVE-2025-68171 · Severity: high · CVSS 7.8 · Published 2025-12-16

Technologies: Linux. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's handling of processor states could allow a local user to cause system instability or potentially gain unauthorized access to data. The issue occurs on x86 systems when the kernel fails to properly synchronize hardware features (like AMX) during specific background tasks or signal processing. This could lead to unpredictable system behavior or crashes in environments running specialized workloads like virtual machines.

Technical details

A race condition or logic error exists in the x86 FPU (Floating Point Unit) subsystem of the Linux kernel. Specifically, fpu__clear_user_states() failed to re-synchronize the XFD (eXtended Feature Disabling) MSR state when a task was preempted by another task using Advanced Matrix Extensions (AMX). This mismatch between the software-tracked fpstate::xfd and the actual CPU hardware state triggers kernel warnings and can lead to incorrect register state restoration during signal delivery or sigreturn paths. An attacker with local access could potentially exploit this state inconsistency to cause a denial of service or achieve local privilege escalation. The fix involves invoking xfd_update_state() to ensure hardware and software states are synchronized before reloading XSTATE.

Affected products

  • Linux Linux 5.16 to 6.1.159, 6.6.117, 6.12.58, 6.17.8

Timeline

  • 2025-06-09: other: Patch authored
  • 2025-12-16: disclosed: CVE published

References