# CVE-2024-26623: pds\_core: Prevent race issues involving the adminq

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-03-06T06:45:32.278Z
- **Modified:** 2026-08-05T11:26:20.441Z

## Who should check

- Anyone running Linux \>= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, \< 22cd6046eb2148b18990257505834dd45c672a1b; \>= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, \< 5939feb63ea1f011027576c64b68b681cbad31ca; \>= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, \< 7e82a8745b951b1e794cc780d46f3fbee5e93447
- Anyone running Linux 6.4

## Description

In the Linux kernel, the following vulnerability has been resolved:

pds\_core: Prevent race issues involving the adminq

There are multiple paths that can result in using the pdsc's
adminq.

\[1\] pdsc\_adminq\_isr and the resulting work from queue\_work(),
    i.e. pdsc\_work\_thread()-\>pdsc\_process\_adminq()

\[2\] pdsc\_adminq\_post()

When the device goes through reset via PCIe reset and/or
a fw\_down/fw\_up cycle due to bad PCIe state or bad device
state the adminq is destroyed and recreated.

A NULL pointer dereference can happen if \[1\] or \[2\] happens
after the adminq is already destroyed.

In order to fix this, add some further state checks and
implement reference counting for adminq uses. Reference
counting was used because multiple threads can attempt to
access the adminq at the same time via \[1\] or \[2\]. Additionally,
multiple clients (i.e. pds-vfio-pci) can be using \[2\]
at the same time.

The adminq\_refcnt is initialized to 1 when the adminq has been
allocated and is ready to use. Users/clients of the adminq
(i.e. \[1\] and \[2\]) will increment the refcnt when they are using
the adminq. When the driver goes into a fw\_down cycle it will
set the PDSC\_S\_FW\_DEAD bit and then wait for the adminq\_refcnt
to hit 1. Setting the PDSC\_S\_FW\_DEAD before waiting will prevent
any further adminq\_refcnt increments. Waiting for the
adminq\_refcnt to hit 1 allows for any current users of the adminq
to finish before the driver frees the adminq. Once the
adminq\_refcnt hits 1 the driver clears the refcnt to signify that
the adminq is deleted and cannot be used. On the fw\_up cycle the
driver will once again initialize the adminq\_refcnt to 1 allowing
the adminq to be used again.

## Affected and fixed versions

- Linux: \>= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, \< 22cd6046eb2148b18990257505834dd45c672a1b; \>= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, \< 5939feb63ea1f011027576c64b68b681cbad31ca; \>= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, \< 7e82a8745b951b1e794cc780d46f3fbee5e93447 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 7e82a8745b951b1e794cc780d46f3fbee5e93447 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26623. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26623.md
Affected: Linux >= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, < 22cd6046eb2148b18990257505834dd45c672a1b; >= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, < 5939feb63ea1f011027576c64b68b681cbad31ca; >= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, < 7e82a8745b951b1e794cc780d46f3fbee5e93447; Linux 6.4
Fixed in: Linux 22cd6046eb2148b18990257505834dd45c672a1b, Linux 5939feb63ea1f011027576c64b68b681cbad31ca, Linux 7e82a8745b951b1e794cc780d46f3fbee5e93447

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26623 being exploited?

There is no confirmed exploitation: CVE-2024-26623 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26623?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26623?

Linux \>= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, \< 22cd6046eb2148b18990257505834dd45c672a1b; \>= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, \< 5939feb63ea1f011027576c64b68b681cbad31ca; \>= 01ba61b55b2041a39c54aefb3153c770dd59a0ef, \< 7e82a8745b951b1e794cc780d46f3fbee5e93447; Linux 6.4.

### Is there a fix for CVE-2024-26623?

Yes. Fixed in Linux 22cd6046eb2148b18990257505834dd45c672a1b, Linux 5939feb63ea1f011027576c64b68b681cbad31ca, Linux 7e82a8745b951b1e794cc780d46f3fbee5e93447. Upgrade Linux to 7e82a8745b951b1e794cc780d46f3fbee5e93447 or later.

### How do I check if I'm affected by CVE-2024-26623?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/22cd6046eb2148b18990257505834dd45c672a1b>
- patch: <https://git.kernel.org/stable/c/5939feb63ea1f011027576c64b68b681cbad31ca>
- patch: <https://git.kernel.org/stable/c/7e82a8745b951b1e794cc780d46f3fbee5e93447>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26623>

HTML: <https://flawdb.com/CVE-2024-26623> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26623>
