CVE-2024-50123

Source
https://nvd.nist.gov/vuln/detail/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:51Z
Modified
2025-10-09T21:09:17.159708Z
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.

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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
699c23f02c65cbfc3e638f14ce0d70c23a2e1f02
Fixed
c2f803052bc7a7feb2e03befccc8e49b6ff1f5f5

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.11.1
v6.11.2
v6.11.3
v6.11.4
v6.11.5
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.9
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.11.6