Menu

Star on GitHub · 3.3k

CVE-2024-56599

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: wifi: ath10k: avoid NULL pointer error during sdio remove When running 'rmmod ath10k', ath10k_sdio_remove() will free sdio work…

Published Dec 27, 2024CWE-476EPSS 0.24%

Overview

CVE-2024-56599 is a medium-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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: ath10k: avoid NULL pointer error during sdio remove

When running 'rmmod ath10k', ath10k_sdio_remove() will free sdio

workqueue by destroy_workqueue(). But if CONFIG_INIT_ON_FREE_DEFAULT_ON

is set to yes, kernel panic will happen:

Call trace:

destroy_workqueue+0x1c/0x258

ath10k_sdio_remove+0x84/0x94

sdio_bus_remove+0x50/0x16c

device_release_driver_internal+0x188/0x25c

device_driver_detach+0x20/0x2c

This is because during 'rmmod ath10k', ath10k_sdio_remove() will call

ath10k_core_destroy() before destroy_workqueue(). wiphy_dev_release()

will finally be called in ath10k_core_destroy(). This function will free

struct cfg80211_registered_device *rdev and all its members, including

wiphy, dev and the pointer of sdio workqueue. Then the pointer of sdio

workqueue will be set to NULL due to CONFIG_INIT_ON_FREE_DEFAULT_ON.

After device release, destroy_workqueue() will use NULL pointer then the

kernel panic happen

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-56599?

CVE-2024-56599 is a medium-severity vulnerability. It was published on December 27, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-56599?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-56599?

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-56599?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-56599 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 MEDIUM CVEs from 2024

View all
LiveWatch live →