CVE-2024-27391
wifi: wilc1000: do not realloc workqueue everytime an interface is added
Check your servers for CVE-2024-27391
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-27391 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
wifi: wilc1000: do not realloc workqueue everytime an interface is added
Commit 09ed8bfc5215 ("wilc1000: Rename workqueue from "WILC_wq" to "NETDEV-wq"") moved workqueue creation in wilc_netdev_ifc_init in order to set the interface name in the workqueue name. However, while the driver needs only one workqueue, the wilc_netdev_ifc_init is called each time we add an interface over a phy, which in turns overwrite the workqueue with a new one. This can be observed with the following commands:
for i in $(seq 0 10) do iw phy phy0 interface add wlan1 type managed iw dev wlan1 del done ps -eo pid,comm|grep wlan
39 kworker/R-wlan0 98 kworker/R-wlan1 102 kworker/R-wlan1 105 kworker/R-wlan1 108 kworker/R-wlan1 111 kworker/R-wlan1 114 kworker/R-wlan1 117 kworker/R-wlan1 120 kworker/R-wlan1 123 kworker/R-wlan1 126 kworker/R-wlan1 129 kworker/R-wlan1
Fix this leakage by putting back hif_workqueue allocation in wilc_cfg80211_init. Regarding the workqueue name, it is indeed relevant to set it lowercase, however it is not attached to a specific netdev, so enforcing netdev name in the name is not so relevant. Still, enrich the name with the wiphy name to make it clear which phy is using the workqueue.
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 09ed8bfc5215ad5aac91c50008277b5586b9ef24, before 515cc676dfbce40d93c92b1ff3c1070e917f4e52 affected from 09ed8bfc5215ad5aac91c50008277b5586b9ef24, before 4041c60a9d543b3ad50225385b072ba68e96166e affected from 09ed8bfc5215ad5aac91c50008277b5586b9ef24, before 90ae293d1d255f622318fce6eeea2e18f9fde5c1 affected from 09ed8bfc5215ad5aac91c50008277b5586b9ef24, before 9ab0c303ccabfd6bdce14432792d41090070008c affected from 09ed8bfc5215ad5aac91c50008277b5586b9ef24, before 328efda22af81130c2ad981c110518cb29ff2f1d
Other versions: unaffected
|
| Linux |
affected 5.17 unaffected before 5.17 unaffected from 6.1.83 up to and including 6.1.* unaffected from 6.6.23 up to and including 6.6.* unaffected from 6.7.11 up to and including 6.7.* unaffected from 6.8.2 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-27391 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27391
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-27391
trivy image --scanners vuln IMAGE | grep CVE-2024-27391
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/515cc676dfbce40d93c92b1ff3c1070e917f4e52 git.kernel.org
- https://git.kernel.org/stable/c/4041c60a9d543b3ad50225385b072ba68e96166e git.kernel.org
- https://git.kernel.org/stable/c/90ae293d1d255f622318fce6eeea2e18f9fde5c1 git.kernel.org
- https://git.kernel.org/stable/c/9ab0c303ccabfd6bdce14432792d41090070008c git.kernel.org
- https://git.kernel.org/stable/c/328efda22af81130c2ad981c110518cb29ff2f1d git.kernel.org
Source: the record CVE-2024-27391 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse