# CVE-2024-35968: pds\_core: Fix pdsc\_check\_pci\_health function to use work thread

> 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.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-05-20T09:41:57.162Z
- **Modified:** 2026-08-05T11:31:17.459Z

## Who should check

- Anyone running Linux \>= 1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2, \< 38407914d48273d7f8ab765b9243658afe1c3ab6; \>= 1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2, \< 81665adf25d28a00a986533f1d3a5df76b79cad9
- Anyone running Linux 6.7

## Description

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

pds\_core: Fix pdsc\_check\_pci\_health function to use work thread

When the driver notices fw\_status == 0xff it tries to perform a PCI
reset on itself via pci\_reset\_function() in the context of the driver's
health thread. However, pdsc\_reset\_prepare calls
pdsc\_stop\_health\_thread(), which attempts to stop/flush the health
thread. This results in a deadlock because the stop/flush will never
complete since the driver called pci\_reset\_function() from the health
thread context. Fix by changing the pdsc\_check\_pci\_health\_function()
to queue a newly introduced pdsc\_pci\_reset\_thread() on the pdsc's
work queue.

Unloading the driver in the fw\_down/dead state uncovered another issue,
which can be seen in the following trace:

WARNING: CPU: 51 PID: 6914 at kernel/workqueue.c:1450 \_\_queue\_work+0x358/0x440
\[...\]
RIP: 0010:\_\_queue\_work+0x358/0x440
\[...\]
Call Trace:
 \<TASK\>
 ? \_\_warn+0x85/0x140
 ? \_\_queue\_work+0x358/0x440
 ? report\_bug+0xfc/0x1e0
 ? handle\_bug+0x3f/0x70
 ? exc\_invalid\_op+0x17/0x70
 ? asm\_exc\_invalid\_op+0x1a/0x20
 ? \_\_queue\_work+0x358/0x440
 queue\_work\_on+0x28/0x30
 pdsc\_devcmd\_locked+0x96/0xe0 \[pds\_core\]
 pdsc\_devcmd\_reset+0x71/0xb0 \[pds\_core\]
 pdsc\_teardown+0x51/0xe0 \[pds\_core\]
 pdsc\_remove+0x106/0x200 \[pds\_core\]
 pci\_device\_remove+0x37/0xc0
 device\_release\_driver\_internal+0xae/0x140
 driver\_detach+0x48/0x90
 bus\_remove\_driver+0x6d/0xf0
 pci\_unregister\_driver+0x2e/0xa0
 pdsc\_cleanup\_module+0x10/0x780 \[pds\_core\]
 \_\_x64\_sys\_delete\_module+0x142/0x2b0
 ? syscall\_trace\_enter.isra.18+0x126/0x1a0
 do\_syscall\_64+0x3b/0x90
 entry\_SYSCALL\_64\_after\_hwframe+0x72/0xdc
RIP: 0033:0x7fbd9d03a14b
\[...\]

Fix this by preventing the devcmd reset if the FW is not running.

## Affected and fixed versions

- Linux: \>= 1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2, \< 38407914d48273d7f8ab765b9243658afe1c3ab6; \>= 1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2, \< 81665adf25d28a00a986533f1d3a5df76b79cad9 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 81665adf25d28a00a986533f1d3a5df76b79cad9 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-35968. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35968.md
Affected: Linux >= 1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2, < 38407914d48273d7f8ab765b9243658afe1c3ab6; >= 1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2, < 81665adf25d28a00a986533f1d3a5df76b79cad9; Linux 6.7
Fixed in: Linux 38407914d48273d7f8ab765b9243658afe1c3ab6, Linux 81665adf25d28a00a986533f1d3a5df76b79cad9

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-35968 being exploited?

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

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

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

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

Linux \>= 1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2, \< 38407914d48273d7f8ab765b9243658afe1c3ab6; \>= 1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2, \< 81665adf25d28a00a986533f1d3a5df76b79cad9; Linux 6.7.

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

Yes. Fixed in Linux 38407914d48273d7f8ab765b9243658afe1c3ab6, Linux 81665adf25d28a00a986533f1d3a5df76b79cad9. Upgrade Linux to 81665adf25d28a00a986533f1d3a5df76b79cad9 or later.

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

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/38407914d48273d7f8ab765b9243658afe1c3ab6>
- patch: <https://git.kernel.org/stable/c/81665adf25d28a00a986533f1d3a5df76b79cad9>

## 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-35968>

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