CVE-2024-26820
hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed
Check your servers for CVE-2024-26820
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-26820 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:
hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed
If hv_netvsc driver is unloaded and reloaded, the NET_DEVICE_REGISTER handler cannot perform VF register successfully as the register call is received before netvsc_probe is finished. This is because we register register_netdevice_notifier() very early( even before vmbus_driver_register()). To fix this, we try to register each such matching VF( if it is visible as a netdevice) at the end of netvsc_probe.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 28 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 028aa21f9e92536038cabb834c15d08f5c894382, before bcb7164258d0a9a8aa2e73ddccc2d78f67d2519d affected from 997d895fa495fb3421983923219bba93f1a793ee, before c7441c77c91e47f653104be8353b44a3366a5366 affected from ff6c130e48a79c826cbc2427bd8b34a7592460cc, before 5b10a88f64c0315cfdef45de0aaaa4eef57de0b7 affected from 97683466e24c801ee4e865ce90ac7e355db2da59, before b6d46f306b3964d05055ddaa96b58cd8bd3a472c affected from 5dd83db613be8e5c5d30efed7f42780e9eb18380, before 309ef7de5d840e17607e7d65cbf297c0564433ef affected from 7350c460f7f48a8653a15c5c90fc9070aaa29535, before a71302c8638939c45e4ba5a99ea438185fd3f418 affected from 85520856466ed6bc3b1ccb013cddac70ceb437db, before 4d29a58d96a78728cb01ee29ed70dc4bd642f135 affected from 85520856466ed6bc3b1ccb013cddac70ceb437db, before 9cae43da9867412f8bd09aee5c8a8dc5e8dc3dc2 affected from 4.19.301, before 4.19.310 affected from 5.4.263, before 5.4.272 affected from 5.10.203, before 5.10.213 affected from 5.15.141, before 5.15.152 affected from 6.1.65, before 6.1.79 affected from 6.6.4, before 6.6.18
Other versions: unaffected
|
| Linux |
affected 6.7 unaffected before 6.7 unaffected from 4.19.310 up to and including 4.19.* unaffected from 5.4.272 up to and including 5.4.* unaffected from 5.10.213 up to and including 5.10.* unaffected from 5.15.152 up to and including 5.15.* unaffected from 6.1.79 up to and including 6.1.* unaffected from 6.6.18 up to and including 6.6.* unaffected from 6.7.6 up to and including 6.7.* unaffected 6.8 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-26820 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26820
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-26820
trivy image --scanners vuln IMAGE | grep CVE-2024-26820
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/bcb7164258d0a9a8aa2e73ddccc2d78f67d2519d git.kernel.org
- https://git.kernel.org/stable/c/c7441c77c91e47f653104be8353b44a3366a5366 git.kernel.org
- https://git.kernel.org/stable/c/5b10a88f64c0315cfdef45de0aaaa4eef57de0b7 git.kernel.org
- https://git.kernel.org/stable/c/b6d46f306b3964d05055ddaa96b58cd8bd3a472c git.kernel.org
- https://git.kernel.org/stable/c/309ef7de5d840e17607e7d65cbf297c0564433ef git.kernel.org
- https://git.kernel.org/stable/c/a71302c8638939c45e4ba5a99ea438185fd3f418 git.kernel.org
- https://git.kernel.org/stable/c/4d29a58d96a78728cb01ee29ed70dc4bd642f135 git.kernel.org
- https://git.kernel.org/stable/c/9cae43da9867412f8bd09aee5c8a8dc5e8dc3dc2 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-26820 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