[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025111255-CVE-2025-40177-8961@gregkh>
Date: Wed, 12 Nov 2025 05:54:00 -0500
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40177: accel/qaic: Fix bootlog initialization ordering
From: Greg Kroah-Hartman <gregkh@...nel.org>
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.
The Linux kernel CVE team has assigned CVE-2025-40177 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.10 with commit 5f8df5c6def641c164ed1b673d47a41fdd0013f8 and fixed in 6.12.55 with commit 646868e6962b14e25ae7462fdd1fb061b40c1f16
Issue introduced in 6.10 with commit 5f8df5c6def641c164ed1b673d47a41fdd0013f8 and fixed in 6.17.5 with commit 48814afc7372f96a9584125c8508dffc88d1d378
Issue introduced in 6.10 with commit 5f8df5c6def641c164ed1b673d47a41fdd0013f8 and fixed in 6.18-rc2 with commit fd6e385528d8f85993b7bfc6430576136bb14c65
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-40177
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/accel/qaic/qaic_debugfs.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/646868e6962b14e25ae7462fdd1fb061b40c1f16
https://git.kernel.org/stable/c/48814afc7372f96a9584125c8508dffc88d1d378
https://git.kernel.org/stable/c/fd6e385528d8f85993b7bfc6430576136bb14c65
Powered by blists - more mailing lists