CVE-2025-40177 accel/qaic: Fix bootlog initialization ordering
A race condition in the Linux kernel QAIC driver can cause page faults and denial of service if device data arrives before resources are initialized.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-40177?
CVE-2025-40177 is a vulnerability in Linux, published on 12 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
accel/qaic: Fix bootlog initialization ordering
As soon as we queue MHI buffers to receive the bootlog from the device, we could be receiving data. Therefore all the resources needed to process that data need to be setup prior to queuing the buffers.
We currently initialize some of the resources after queuing the buffers which creates a race between the probe() and any data that comes back from the device. If the uninitialized resources are accessed, we could see page faults.
Fix the init ordering to close the race.
Which versions are affected by CVE-2025-40177?
How do I fix CVE-2025-40177?
Apply the vendor's patch.
Is CVE-2025-40177 being exploited?
There is no known exploitation of CVE-2025-40177 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-40177, DEBIAN-CVE-2025-40177, GHSA-q99r-wqvw-gc4x, ROOT-OS-DEBIAN-13-CVE-2025-40177, UBUNTU-CVE-2025-40177.