Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-50123

published high CVSS 3.1 · 7.1

bpf: Add the missing BPF_LINK_TYPE invocation for sockmap

Published
05 Nov 2024, 17:10:51 UTC
Updated
05 Aug 2026, 11:41:48 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux699c23f02c65cbfc3e638f14ce0d70c23a2e1f02 to < 6d79f12c0ce2bc8ff5f109093df1734bd6450615 · 699c23f02c65cbfc3e638f14ce0d70c23a2e1f02 to < c2f803052bc7a7feb2e03befccc8e49b6ff1f5f5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.11.6 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
Ubuntu noble linux-buildinfo-6.11.0-1015-oem Advisory build 6.11.0-1015.15 USN-7310-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devel-longtermaarch64 Advisory build 6.12.11-1.1 OPENSUSE-SU-2025:14705-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devel-longtermppc64le Advisory build 6.12.11-1.1 OPENSUSE-SU-2025:14705-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devel-longterms390x Advisory build 6.12.11-1.1 OPENSUSE-SU-2025:14705-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devel-longtermx86_64 Advisory build 6.12.11-1.1 OPENSUSE-SU-2025:14705-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-longtermaarch64 Advisory build 6.12.11-1.1 OPENSUSE-SU-2025:14705-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-longtermppc64le Advisory build 6.12.11-1.1 OPENSUSE-SU-2025:14705-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-longterms390x Advisory build 6.12.11-1.1 OPENSUSE-SU-2025:14705-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-longtermx86_64 Advisory build 6.12.11-1.1 OPENSUSE-SU-2025:14705-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 6.11.8-1.1 OPENSUSE-SU-2024:14500-1
Ubuntu noble linux-headers-6.11.0-1015-oem Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu noble linux-image-unsigned-6.11.0-1015-oem Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu noble linux-modules-6.11.0-1015-oem Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu noble linux-modules-ipu6-6.11.0-1015-oem Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu noble linux-modules-ipu7-6.11.0-1015-oem Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu noble linux-modules-iwlwifi-6.11.0-1015-oem Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu noble linux-modules-usbio-6.11.0-1015-oem Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu noble linux-modules-vision-6.11.0-1015-oem Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu noble linux-oem-6.11 Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu noble linux-oem-6.11-headers-6.11.0-1015 Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu noble linux-oem-6.11-tools-6.11.0-1015 Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu noble linux-tools-6.11.0-1015-oem Advisory build 6.11.0-1015.15 USN-7310-1
Ubuntu oracular linux Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-aws Advisory build 6.11.0-1009.10 USN-7277-1
Ubuntu oracular linux-aws-cloud-tools-6.11.0-1009 Advisory build 6.11.0-1009.10 USN-7277-1
Ubuntu oracular linux-aws-headers-6.11.0-1009 Advisory build 6.11.0-1009.10 USN-7277-1
Ubuntu oracular linux-aws-tools-6.11.0-1009 Advisory build 6.11.0-1009.10 USN-7277-1
Ubuntu oracular linux-azure Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-azure-cloud-tools-6.11.0-1009 Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-azure-headers-6.11.0-1009 Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-azure-tools-6.11.0-1009 Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-bpf-dev Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-buildinfo-6.11.0-1005-realtime Advisory build 6.11.0-1005.5 USN-7277-1
Ubuntu oracular linux-buildinfo-6.11.0-1008-raspi Advisory build 6.11.0-1008.8 USN-7277-1
Ubuntu oracular linux-buildinfo-6.11.0-1009-aws Advisory build 6.11.0-1009.10 USN-7277-1
Ubuntu oracular linux-buildinfo-6.11.0-1009-azure Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-buildinfo-6.11.0-1009-gcp Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-buildinfo-6.11.0-1010-lowlatency Advisory build 6.11.0-1010.11 USN-7276-1
Ubuntu oracular linux-buildinfo-6.11.0-1010-lowlatency-64k Advisory build 6.11.0-1010.11 USN-7276-1
Ubuntu oracular linux-buildinfo-6.11.0-1011-oracle Advisory build 6.11.0-1011.12 USN-7277-1
Ubuntu oracular linux-buildinfo-6.11.0-1011-oracle-64k Advisory build 6.11.0-1011.12 USN-7277-1
Ubuntu oracular linux-buildinfo-6.11.0-18-generic Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-buildinfo-6.11.0-18-generic-64k Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-cloud-tools-6.11.0-1005-realtime Advisory build 6.11.0-1005.5 USN-7277-1
Ubuntu oracular linux-cloud-tools-6.11.0-1009-aws Advisory build 6.11.0-1009.10 USN-7277-1
Ubuntu oracular linux-cloud-tools-6.11.0-1009-azure Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-cloud-tools-6.11.0-1010-lowlatency Advisory build 6.11.0-1010.11 USN-7276-1
Ubuntu oracular linux-cloud-tools-6.11.0-18 Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-cloud-tools-6.11.0-18-generic Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-cloud-tools-common Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-doc Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-gcp Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-gcp-headers-6.11.0-1009 Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-gcp-tools-6.11.0-1009 Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-headers-6.11.0-1005-realtime Advisory build 6.11.0-1005.5 USN-7277-1
Ubuntu oracular linux-headers-6.11.0-1008-raspi Advisory build 6.11.0-1008.8 USN-7277-1
Ubuntu oracular linux-headers-6.11.0-1009-aws Advisory build 6.11.0-1009.10 USN-7277-1
Ubuntu oracular linux-headers-6.11.0-1009-azure Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-headers-6.11.0-1009-gcp Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-headers-6.11.0-1010-lowlatency Advisory build 6.11.0-1010.11 USN-7276-1
Ubuntu oracular linux-headers-6.11.0-1010-lowlatency-64k Advisory build 6.11.0-1010.11 USN-7276-1
Ubuntu oracular linux-headers-6.11.0-1011-oracle Advisory build 6.11.0-1011.12 USN-7277-1
Ubuntu oracular linux-headers-6.11.0-1011-oracle-64k Advisory build 6.11.0-1011.12 USN-7277-1
Ubuntu oracular linux-headers-6.11.0-18 Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-headers-6.11.0-18-generic Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-headers-6.11.0-18-generic-64k Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-image-6.11.0-1008-raspi Advisory build 6.11.0-1008.8 USN-7277-1
Ubuntu oracular linux-image-6.11.0-1008-raspi-dbgsym Advisory build 6.11.0-1008.8 USN-7277-1
Ubuntu oracular linux-image-6.11.0-18-generic Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-image-6.11.0-18-generic-dbgsym Advisory build 6.11.0-18.18 USN-7276-1
Ubuntu oracular linux-image-unsigned-6.11.0-1005-realtime Advisory build 6.11.0-1005.5 USN-7277-1
Ubuntu oracular linux-image-unsigned-6.11.0-1005-realtime-dbgsym Advisory build 6.11.0-1005.5 USN-7277-1
Ubuntu oracular linux-image-unsigned-6.11.0-1009-aws Advisory build 6.11.0-1009.10 USN-7277-1
Ubuntu oracular linux-image-unsigned-6.11.0-1009-aws-dbgsym Advisory build 6.11.0-1009.10 USN-7277-1
Ubuntu oracular linux-image-unsigned-6.11.0-1009-azure Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-image-unsigned-6.11.0-1009-azure-dbgsym Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-image-unsigned-6.11.0-1009-gcp Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-image-unsigned-6.11.0-1009-gcp-dbgsym Advisory build 6.11.0-1009.9 USN-7277-1
Ubuntu oracular linux-image-unsigned-6.11.0-1010-lowlatency Advisory build 6.11.0-1010.11 USN-7276-1
Ubuntu oracular linux-image-unsigned-6.11.0-1010-lowlatency-64k Advisory build 6.11.0-1010.11 USN-7276-1
Ubuntu oracular linux-image-unsigned-6.11.0-1010-lowlatency-64k-dbgsym Advisory build 6.11.0-1010.11 USN-7276-1
Ubuntu oracular linux-image-unsigned-6.11.0-1010-lowlatency-dbgsym Advisory build 6.11.0-1010.11 USN-7276-1
Ubuntu oracular linux-image-unsigned-6.11.0-1011-oracle Advisory build 6.11.0-1011.12 USN-7277-1
Ubuntu oracular linux-image-unsigned-6.11.0-1011-oracle-64k Advisory build 6.11.0-1011.12 USN-7277-1
Ubuntu oracular linux-image-unsigned-6.11.0-1011-oracle-64k-dbgsym Advisory build 6.11.0-1011.12 USN-7277-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Add the missing BPF_LINK_TYPE invocation for sockmap There is an out-of-bounds read in bpf_link_show_fdinfo() for the sockmap link fd. Fix it by adding the missing BPF_LINK_TYPE invocation for sockmap link Also add comments for bpf_link_type to prevent missing updates in the future.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Scenarios
en: AV:L - The vulnerability is reached through the bpf() syscall (BPF_MAP_CREATE/BPF_PROG_LOAD/BPF_LINK_CREATE, or BPF_OBJ_GET on a bpffs-pinned link) followed by a read of /proc/self/fdinfo/<fd>. There is no network-facing path to bpf_link_show_fdinfo(). AC:L - Triggering is fully deterministic — link->type is unconditionally 14 for every sockmap link, so the out-of-bounds read at index 14 happens on every fdinfo read with no race, timing window, or memory-layout grooming required. PR:L - BPF token delegation (kernel 6.9+, present across the affected 6.10–6.11 range) routes the CAP_NET_ADMIN/CAP_BPF checks through ns_capable(token->userns, ...), letting an unprivileged user in a delegated user namespace create the sockmap link; separately, bpf_obj_get() enforces no capability check whatsoever, so any local user able to open a bpffs-pinned sockmap link obtains the fd and reads its own fdinfo. UI:N - The attacker performs every step — creating or opening the link and reading its fdinfo — within their own process. No victim action or interaction is required. S:U - The out-of-bounds read and the resulting disclosure or fault are confined to the kernel's own security authority, with no crossing of a VM, IOMMU, or sandbox boundary. C:H - The out-of-bounds qword is dereferenced as a string by seq_printf("%s") with precision -1, so string_nocheck() walks unbounded from an uncontrolled kernel address until a NUL byte and copies those kernel memory bytes into fdinfo output that userspace reads back. I:N - The defect is a pure read of one element past a global array; no kernel memory is written out of bounds and no attacker-controlled data modifies kernel state. A:H - vsnprintf only guards NULL, sub-PAGE_SIZE, and IS_ERR values, so any other adjacent .data qword becomes a wild kernel dereference and oops, and KASAN globals instrumentation turns the access into a hard report (a panic with panic_on_warn).

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.1 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 699c23f02c65cbfc3e638f14ce0d70c23a2e1f02 to < 6d79f12c0ce2bc8ff5f109093df1734bd6450615 (affected · git)699c23f02c65cbfc3e638f14ce0d70c23a2e1f02 to < c2f803052bc7a7feb2e03befccc8e49b6ff1f5f5 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.10 (affected)0 to < 6.10 (unaffected · semver)6.11.6 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-125 CWE-125 Out-of-bounds Read (CISA-ADP · adp)

References

2

Provider assertions

2

Linux · cna

bpf: Add the missing BPF_LINK_TYPE invocation for sockmap

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
27a60254a46fe26c6aee3b2561091c44150339662175049b22bfdaa0c4247804
Ingested
23 Sep 2026, 08:29:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected