Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-40979

7.8 · HIGH
Published Jul 12, 2024 linux CWE-401 EPSS 0.27% (19th pctl)

Overview

CVE-2024-40979 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 12, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

wifi: ath12k: fix kernel crash during resume

Currently during resume, QMI target memory is not properly handled, resulting

in kernel crash in case DMA remap is not supported:

BUG: Bad page state in process kworker/u16:54 pfn:36e80

page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x36e80

page dumped because: nonzero _refcount

Call Trace:

bad_page

free_page_is_bad_report

__free_pages_ok

__free_pages

dma_direct_free

dma_free_attrs

ath12k_qmi_free_target_mem_chunk

ath12k_qmi_msg_mem_request_cb

The reason is:

Once ath12k module is loaded, firmware sends memory request to host. In case

DMA remap not supported, ath12k refuses the first request due to failure in

allocating with large segment size:

ath12k_pci 0000:04:00.0: qmi firmware request memory request

ath12k_pci 0000:04:00.0: qmi mem seg type 1 size 7077888

ath12k_pci 0000:04:00.0: qmi mem seg type 4 size 8454144

ath12k_pci 0000:04:00.0: q

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 6.3, < 6.9.7 Affected

Frequently Asked Questions

What is CVE-2024-40979?

CVE-2024-40979 is a high-severity vulnerability affecting linux linux_kernel. It was published on July 12, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-40979?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-40979?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-40979?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-40979 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.