CVE & CISA-KEV Catalog

CVE-2024-35968

MEDIUM
5.5
CVSS v3
NVD

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.

How to fix

Remediation Available
linuxDebian
Fixed in:6.8.9-1CVE-2024-35968
Fixed in:6.8.9-1CVE-2024-35968
linuxUbuntu
Fixed in:6.8.0-38.38USN-6893-1
linux-awsUbuntu
Fixed in:6.8.0-1011.12USN-6893-3
linux-azureUbuntu
Fixed in:6.8.0-1010.10USN-6893-1
linux-gcpUbuntu
Fixed in:6.8.0-1010.11USN-6893-1
linux-gkeUbuntu
Fixed in:6.8.0-1006.9USN-6893-2
linux-ibmUbuntu
Fixed in:6.8.0-1008.8USN-6893-1
linux-image-6.8.0-1006-gkeUbuntu
Fixed in:6.8.0-1006.9USN-6893-2
linux-image-6.8.0-1007-intelUbuntu
Fixed in:6.8.0-1007.14USN-6893-1
linux-image-6.8.0-1007-raspiUbuntu
Fixed in:6.8.0-1007.7USN-6893-1
linux-image-6.8.0-1008-ibmUbuntu
Fixed in:6.8.0-1008.8USN-6893-1
linux-image-6.8.0-1008-oemUbuntu
Fixed in:6.8.0-1008.8USN-6893-1
linux-image-6.8.0-1008-oracleUbuntu
Fixed in:6.8.0-1008.8USN-6918-1
linux-image-6.8.0-1008-oracle-64kUbuntu
Fixed in:6.8.0-1008.8USN-6918-1
linux-image-6.8.0-1009-nvidiaUbuntu
Fixed in:6.8.0-1009.9USN-6893-2
linux-image-6.8.0-1009-nvidia-64kUbuntu
Fixed in:6.8.0-1009.9USN-6893-2
linux-image-6.8.0-1010-azureUbuntu
Fixed in:6.8.0-1010.10USN-6893-1
linux-image-6.8.0-1010-azure-fdeUbuntu
Fixed in:6.8.0-1010.10USN-6893-1
linux-image-6.8.0-1010-gcpUbuntu
Fixed in:6.8.0-1010.11USN-6893-1
linux-image-6.8.0-1011-awsUbuntu
Fixed in:6.8.0-1011.12USN-6893-3
linux-image-6.8.0-38-genericUbuntu
Fixed in:6.8.0-38.38USN-6893-1
linux-image-6.8.0-38-generic-64kUbuntu
Fixed in:6.8.0-38.38USN-6893-1
linux-image-6.8.0-38-lowlatencyUbuntu
Fixed in:6.8.0-38.38.1USN-6893-1
linux-image-6.8.0-38-lowlatency-64kUbuntu
Fixed in:6.8.0-38.38.1USN-6893-1
linux-image-awsUbuntu
Fixed in:6.8.0-1011.12USN-6893-3
linux-image-azureUbuntu
Fixed in:6.8.0-1010.10USN-6893-1
linux-image-azure-fdeUbuntu
Fixed in:6.8.0-1010.10USN-6893-1
linux-image-gcpUbuntu
Fixed in:6.8.0-1010.11USN-6893-1
linux-image-genericUbuntu
Fixed in:6.8.0-38.38USN-6893-1
linux-image-generic-64kUbuntu
Fixed in:6.8.0-38.38USN-6893-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.8.0-38.38USN-6893-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.8.0-38.38USN-6893-1
linux-image-generic-lpaeUbuntu
Fixed in:6.8.0-38.38USN-6893-1
linux-image-gkeUbuntu
Fixed in:6.8.0-1006.9USN-6893-2
linux-image-ibmUbuntu
Fixed in:6.8.0-1008.8USN-6893-1
linux-image-ibm-classicUbuntu
Fixed in:6.8.0-1008.8USN-6893-1
linux-image-ibm-lts-24.04Ubuntu
Fixed in:6.8.0-1008.8USN-6893-1
linux-image-intelUbuntu
Fixed in:6.8.0-1007.14USN-6893-1
linux-image-kvmUbuntu
Fixed in:6.8.0-38.38USN-6893-1
linux-image-lowlatencyUbuntu
Fixed in:6.8.0-38.38.1USN-6893-1
linux-image-lowlatency-64kUbuntu
Fixed in:6.8.0-38.38.1USN-6893-1
linux-image-nvidiaUbuntu
Fixed in:6.8.0-1009.9USN-6893-2
linux-image-nvidia-64kUbuntu
Fixed in:6.8.0-1009.9USN-6893-2
linux-image-oem-24.04Ubuntu
Fixed in:6.8.0-1008.8USN-6893-1
linux-image-oem-24.04aUbuntu
Fixed in:6.8.0-1008.8USN-6893-1
linux-image-oracleUbuntu
Fixed in:6.8.0-1008.8USN-6918-1
linux-image-oracle-64kUbuntu
Fixed in:6.8.0-1008.8USN-6918-1
linux-image-raspiUbuntu
Fixed in:6.8.0-1007.7USN-6893-1
linux-image-virtualUbuntu
Fixed in:6.8.0-38.38USN-6893-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.8.0-38.38USN-6893-1
linux-intelUbuntu
Fixed in:6.8.0-1007.14USN-6893-1
linux-lowlatencyUbuntu
Fixed in:6.8.0-38.38.1USN-6893-1
linux-nvidiaUbuntu
Fixed in:6.8.0-1009.9USN-6893-2
linux-oem-6.8Ubuntu
Fixed in:6.8.0-1008.8USN-6893-1
linux-oracleUbuntu
Fixed in:6.8.0-1008.8USN-6918-1
linux-raspiUbuntu
Fixed in:6.8.0-1007.7USN-6893-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.15%probability of exploitation in 30 days
5thpercentile

Low risk: more likely to be exploited than 5% of all known CVEs.

References

Related Vulnerabilities

Other CWE-667 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-10072High7.573%-Fix
CVE-2002-1850High7.517%-Fix
CVE-2009-2699High7.514%-Fix
CVE-2004-0174High7.512%--
CVE-2009-4272High7.511%--
CVE-2020-24606High8.65.2%-Fix
Embed a live status badge for CVE-2024-35968
CVE-2024-35968 severity badge

Markdown

[![CVE-2024-35968](https://tridentstack.com/cve/badge/CVE-2024-35968.svg)](https://tridentstack.com/cve/CVE-2024-35968)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-35968"><img src="https://tridentstack.com/cve/badge/CVE-2024-35968.svg" alt="CVE-2024-35968"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-01-14.