CVE-2024-53099
bpf: Check validity of link->type in bpf_link_show_fdinfo()
Check your servers for CVE-2024-53099
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-53099 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:
bpf: Check validity of link->type in bpf_link_show_fdinfo()
If a newly-added link type doesn't invoke BPF_LINK_TYPE(), accessing bpf_link_type_strs[link->type] may result in an out-of-bounds access.
To spot such missed invocations early in the future, checking the validity of link->type in bpf_link_show_fdinfo() and emitting a warning when such invocations are missed.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 70ed506c3bbcfa846d4636b23051ca79fa4781f7, before 79f87a6ec39fb5968049a6775a528bf58b25c20a affected from 70ed506c3bbcfa846d4636b23051ca79fa4781f7, before 24fec234d2ba9ca3c14e545ebe3fd6dcb47f074d affected from 70ed506c3bbcfa846d4636b23051ca79fa4781f7, before 4e8074bb33d18f56af30a0252cb3606d27eb1c13 affected from 70ed506c3bbcfa846d4636b23051ca79fa4781f7, before d5092b0a1aaf35d77ebd8d33384d7930bec5cb5d affected from 70ed506c3bbcfa846d4636b23051ca79fa4781f7, before b3eb1b6a9f745d6941b345f0fae014dc8bb06d36 affected from 70ed506c3bbcfa846d4636b23051ca79fa4781f7, before 8421d4c8762bd022cb491f2f0f7019ef51b4f0a7
Other versions: unaffected
|
| Linux |
affected 5.7 unaffected before 5.7 unaffected from 5.10.233 up to and including 5.10.* unaffected from 5.15.176 up to and including 5.15.* unaffected from 6.1.123 up to and including 6.1.* unaffected from 6.6.62 up to and including 6.6.* unaffected from 6.11.9 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-53099 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-53099
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-53099
trivy image --scanners vuln IMAGE | grep CVE-2024-53099
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/79f87a6ec39fb5968049a6775a528bf58b25c20a git.kernel.org
- https://git.kernel.org/stable/c/24fec234d2ba9ca3c14e545ebe3fd6dcb47f074d git.kernel.org
- https://git.kernel.org/stable/c/4e8074bb33d18f56af30a0252cb3606d27eb1c13 git.kernel.org
- https://git.kernel.org/stable/c/d5092b0a1aaf35d77ebd8d33384d7930bec5cb5d git.kernel.org
- https://git.kernel.org/stable/c/b3eb1b6a9f745d6941b345f0fae014dc8bb06d36 git.kernel.org
- https://git.kernel.org/stable/c/8421d4c8762bd022cb491f2f0f7019ef51b4f0a7 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
Source: the record CVE-2024-53099 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse