Bug 2367612 (CVE-2025-37987) - CVE-2025-37987 kernel: pds_core: Prevent possible adminq overflow/stuck condition
Summary: CVE-2025-37987 kernel: pds_core: Prevent possible adminq overflow/stuck condi...
Keywords:
Status: NEW
Alias: CVE-2025-37987
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-20 18:01 UTC by OSIDB Bzimport
Modified: 2025-06-17 05:53 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-20 18:01:47 UTC
In the Linux kernel, the following vulnerability has been resolved:

pds_core: Prevent possible adminq overflow/stuck condition

The pds_core's adminq is protected by the adminq_lock, which prevents
more than 1 command to be posted onto it at any one time. This makes it
so the client drivers cannot simultaneously post adminq commands.
However, the completions happen in a different context, which means
multiple adminq commands can be posted sequentially and all waiting
on completion.

On the FW side, the backing adminq request queue is only 16 entries
long and the retry mechanism and/or overflow/stuck prevention is
lacking. This can cause the adminq to get stuck, so commands are no
longer processed and completions are no longer sent by the FW.

As an initial fix, prevent more than 16 outstanding adminq commands so
there's no way to cause the adminq from getting stuck. This works
because the backing adminq request queue will never have more than 16
pending adminq commands, so it will never overflow. This is done by
reducing the adminq depth to 16.

Comment 1 Avinash Hanwate 2025-05-21 04:56:45 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025052038-CVE-2025-37987-def3@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.