CVE-2025-40177

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux5f8df5c6def641c164ed1b673d47a41fdd0013f8 < 646868e6962b14e25ae7462fdd1fb061b40c1f16affected
LinuxLinux5f8df5c6def641c164ed1b673d47a41fdd0013f8 < 48814afc7372f96a9584125c8508dffc88d1d378affected
LinuxLinux5f8df5c6def641c164ed1b673d47a41fdd0013f8 < fd6e385528d8f85993b7bfc6430576136bb14c65affected
LinuxLinux6.10affected
LinuxLinux0 < 6.10unaffected
LinuxLinux6.12.55 <= 6.12.*unaffected
LinuxLinux6.17.5 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References