CVE-2024-35968
published high CVSS 3.1 · 7.8pds_core: Fix pdsc_check_pci_health function to use work thread
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2 to < 38407914d48273d7f8ab765b9243658afe1c3ab6 · 1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2 to < 81665adf25d28a00a986533f1d3a5df76b79cad9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.8.7 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Ubuntu | noble | linux | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek64kaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek64k-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek64k-develaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek64k-modulesaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Oracle Linux | 9 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el9uek | ELSA-2025-25757 |
| Ubuntu | noble | linux-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-aws-cloud-tools-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-aws-headers-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-aws-tools-6.8.0-1011 | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1007-raspi | Advisory build | 6.8.0-1007.7 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-ibm | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oem | Advisory build | 6.8.0-1008.8 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oracle | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-oracle-64k | Advisory build | 6.8.0-1008.8 | USN-6918-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-nvidia | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-nvidia-64k | Advisory build | 6.8.0-1009.9 | USN-6893-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-generic-64k | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-38-lowlatency-64k | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1007-intel | Advisory build | 6.8.0-1007.14 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1010-azure | Advisory build | 6.8.0-1010.10 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1011-aws | Advisory build | 6.8.0-1011.12 | USN-6893-3 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38 | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38-generic | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-38-lowlatency | Advisory build | 6.8.0-38.38.1 | USN-6893-1 |
| Ubuntu | noble | linux-cloud-tools-common | Advisory build | 6.8.0-38.38 | USN-6893-1 |
| Ubuntu | noble | linux-gcp | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1010 | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.11 | USN-6893-1 |
| Ubuntu | noble | linux-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1006 | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1006 | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
| Ubuntu | noble | linux-headers-6.8.0-1006-gke | Advisory build | 6.8.0-1006.9 | USN-6893-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is a PCI device driver health/watchdog path driven by a kernel timer and MMIO register reads, with trigger surfaces limited to local interfaces (sysfs PCI reset/unbind, devlink, module unload, adminq/aux-bus clients such as a pds_vdpa guest). No remote or adjacent network data reaches this path. AC:L - Once the driver observes the bad-PCI status the deadlock is unconditional — `cancel_work_sync()` on the running work item is a deterministic self-deadlock, with no race to win and no memory-layout dependency; the unload-with-dead-FW path that reaches `queue_work()` on the freed workqueue is likewise deterministic because the devcmd always times out in that state. PR:L - The health thread executes autonomously from a 5-second kernel timer with no privilege involved, and low-privileged local actors that can drive the device — an aux-bus/adminq client or a guest using a passed-through PDS VF — can force the adminq timeouts that immediately queue the health work. UI:N - No victim action is needed; the watchdog timer queues the health work automatically and the deadlock or the post-`destroy_workqueue()` `queue_work()` occurs without any interaction from another user. S:U - The deadlock, lock retention and use-after-free are all confined to the host kernel's own security authority; no VM, IOMMU or sandbox boundary is crossed. C:H - `queue_work()` on the freed `workqueue_struct` after `destroy_workqueue()` is a use-after-free that reads freed heap contents and follows a stale `wq->cpu_pwq` pointer, which under heap grooming yields an attacker-influenced read primitive into kernel memory. I:H - The same use-after-free proceeds to lock and perform a list insertion through the stale `pwq->pool` pointer, writing into a reallocated slab object — a controllable write primitive suitable for control-flow corruption. A:H - The self-deadlock permanently hangs the driver's single-threaded workqueue while holding `config_lock` plus the pdev and upstream-bridge `device_lock`s, blocking further resets, unbind, hotplug and removal on that bridge and leaving unkillable D-state tasks that only a reboot clears; the UAF additionally causes kernel crashes.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2 to < 38407914d48273d7f8ab765b9243658afe1c3ab6 (affected · git)1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2 to < 81665adf25d28a00a986533f1d3a5df76b79cad9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.8.7 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
pds_core: Fix pdsc_check_pci_health function to use work thread
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3b002c68004100d0c4a55fb11f869d8839626797afcd5b341f64a25d1fbad0cd
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record