CVE-2024-50024
net: Fix an unsafe loop on the list
Check your servers for CVE-2024-50024
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-50024 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:
net: Fix an unsafe loop on the list
The kernel may crash when deleting a genetlink family if there are still listeners for that family:
Oops: Kernel access of bad area, sig: 11 [#1] ... NIP [c000000000c080bc] netlink_update_socket_mc+0x3c/0xc0 LR [c000000000c0f764] __netlink_clear_multicast_users+0x74/0xc0 Call Trace: __netlink_clear_multicast_users+0x74/0xc0 genl_unregister_family+0xd4/0x2d0
Change the unsafe loop on the list to a safe one, because inside the loop there is an element removal from this list.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 22.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Oct 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 b8273570f802a7658827dcb077b0b517ba75a289, before 464801a0f6ccb52b21faa33bac6014fd74cc5e10 affected from b8273570f802a7658827dcb077b0b517ba75a289, before 8e0766fcf37ad8eed289dd3853628dd9b01b58b0 affected from b8273570f802a7658827dcb077b0b517ba75a289, before 68ad5da6ca630a276f0a5c924179e57724d00013 affected from b8273570f802a7658827dcb077b0b517ba75a289, before 1cdec792b2450105b1314c5123a9a0452cb2c2f0 affected from b8273570f802a7658827dcb077b0b517ba75a289, before 5f03a7f601f33cda1f710611625235dc86fd8a9e affected from b8273570f802a7658827dcb077b0b517ba75a289, before 3be342e0332a7c83eb26fbb22bf156fdca467a5d affected from b8273570f802a7658827dcb077b0b517ba75a289, before 49f9b726bf2bf3dd2caf0d27cadf4bc1ccf7a7dd affected from b8273570f802a7658827dcb077b0b517ba75a289, before 1dae9f1187189bc09ff6d25ca97ead711f7e26f9
Other versions: unaffected
|
| Linux |
affected 2.6.32 unaffected before 2.6.32 unaffected from 4.19.323 up to and including 4.19.* unaffected from 5.4.285 up to and including 5.4.* unaffected from 5.10.227 up to and including 5.10.* unaffected from 5.15.168 up to and including 5.15.* unaffected from 6.1.113 up to and including 6.1.* unaffected from 6.6.57 up to and including 6.6.* unaffected from 6.11.4 up to and including 6.11.* unaffected 6.12 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-50024 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50024
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-50024
trivy image --scanners vuln IMAGE | grep CVE-2024-50024
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/464801a0f6ccb52b21faa33bac6014fd74cc5e10 git.kernel.org
- https://git.kernel.org/stable/c/8e0766fcf37ad8eed289dd3853628dd9b01b58b0 git.kernel.org
- https://git.kernel.org/stable/c/68ad5da6ca630a276f0a5c924179e57724d00013 git.kernel.org
- https://git.kernel.org/stable/c/1cdec792b2450105b1314c5123a9a0452cb2c2f0 git.kernel.org
- https://git.kernel.org/stable/c/5f03a7f601f33cda1f710611625235dc86fd8a9e git.kernel.org
- https://git.kernel.org/stable/c/3be342e0332a7c83eb26fbb22bf156fdca467a5d git.kernel.org
- https://git.kernel.org/stable/c/49f9b726bf2bf3dd2caf0d27cadf4bc1ccf7a7dd git.kernel.org
- https://git.kernel.org/stable/c/1dae9f1187189bc09ff6d25ca97ead711f7e26f9 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-50024 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