CVE-2024-50123

Source
https://cve.org/CVERecord?id=CVE-2024-50123
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50123.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50123
Downstream
Related
Published
2024-11-05T17:10:51.799Z
Modified
2026-03-09T23:52:44.394205Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
bpf: Add the missing BPF_LINK_TYPE invocation for sockmap
Details

In the Linux kernel, the following vulnerability has been resolved:

bpf: Add the missing BPFLINKTYPE invocation for sockmap

There is an out-of-bounds read in bpflinkshowfdinfo() for the sockmap link fd. Fix it by adding the missing BPFLINK_TYPE invocation for sockmap link

Also add comments for bpflinktype to prevent missing updates in the future.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50123.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
699c23f02c65cbfc3e638f14ce0d70c23a2e1f02
Fixed
6d79f12c0ce2bc8ff5f109093df1734bd6450615
Fixed
c2f803052bc7a7feb2e03befccc8e49b6ff1f5f5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50123.json"