Menu

Star on GitHub · 3.2k

CVE-2024-40979

7.8 · HIGH

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 k…

Published Jul 12, 2024CWE-401EPSS 0.30%

Overview

CVE-2024-40979 is a high-severity vulnerability. 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, patches, and mitigation guidance. 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.

Frequently asked questions

What is CVE-2024-40979?

CVE-2024-40979 is a high-severity vulnerability. 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, patches, and mitigation guidance. 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 is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-40979 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all