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-46754

published high CVSS 3.1 · 7.8

bpf: Remove tst_run from lwt_seg6local_prog_ops.

Published
18 Sep 2024, 07:12:13 UTC
Updated
02 Sep 2026, 12:49:13 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < ea3fae6984ba0f054550e4da22219489c12cd8d4 · 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < a675524cfbe88fd49c05ff8807a08646983e687c · 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < b05c2e25a5c168dbb46b6f7fcb741fd4e4f3b54a · 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < e217492f6fa2228ad703ee3006d8fc4e5969fbd4 · 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < 9cd15511de7c619bbd0f54bb3f28e6e720ded5d6 · 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < c13fda93aca118b8e5cd202e339046728ee7dddb · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.18 (affected) · 0 to < 4.18 (unaffected · semver) · 5.10.269 through 5.10.* (unaffected · semver) · 5.15.220 through 5.15.* (unaffected · semver) · 6.1.187 through 6.1.* (unaffected · semver) · 6.6.156 through 6.6.* (unaffected · semver) · 6.10.10 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.187-1 DLA-4777-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-325.220.5.el8uek ELSA-2026-500377
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.5.0-802.el9_6 ELSA-2025-6966
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.5.0-802.el9_6 ELSA-2025-6966
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-coreaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-develaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modules-coreaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek64kaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek64k-coreaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek64k-develaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek64k-modulesaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uek64k-modules-extraaarch64 Advisory build 0:5.15.0-325.220.5.el9uek ELSA-2026-500377
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-uki-virt-addonsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 libperfaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966

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: Remove tst_run from lwt_seg6local_prog_ops. The syzbot reported that the lwt_seg6 related BPF ops can be invoked via bpf_test_run() without without entering input_action_end_bpf() first. Martin KaFai Lau said that self test for BPF_PROG_TYPE_LWT_SEG6LOCAL probably didn't work since it was introduced in commit 04d4b274e2a ("ipv6: sr: Add seg6local action End.BPF"). The reason is that the per-CPU variable seg6_bpf_srh_states::srh is never assigned in the self test case but each BPF function expects it. Remove test_run for BPF_PROG_TYPE_LWT_SEG6LOCAL.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

34

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The only entry point is the local `bpf(BPF_PROG_TEST_RUN)` syscall against a `BPF_PROG_TYPE_LWT_SEG6LOCAL` program fd; no packet ever reaches this path from the network, since real SRv6 traffic goes through `input_action_end_bpf()` which initializes the state correctly. AC:L - A single `BPF_PROG_TEST_RUN` calling `bpf_lwt_seg6_action(END_B6_ENCAP)` deterministically hits `dev_net(skb_dst(skb)->dev)` with a NULL dst, with no race, no timing window and no layout luck; the UAF variant needs only ordinary heap grooming that the attacker fully drives by choosing `data_size_in` (slab cache), `srhoff` (offset) and CPU affinity. PR:L - `bpf_prog_test_run()` itself performs zero capability check — it only does `bpf_prog_get(attr->test.prog_fd)` — so any unprivileged local process that inherits or receives a seg6local program fd (fork/exec, `SCM_RIGHTS`, or a permissively-moded bpffs pin) can trigger it, and BPF tokens in 6.9+ deliberately delegate `CAP_BPF`/`CAP_NET_ADMIN` program loading to unprivileged users inside containers. UI:N - The attacker issues the `bpf()` syscalls entirely on their own; no victim action, mount, file open, or administrator step is involved at any point. S:U - The NULL dereference, out-of-bounds read and slab use-after-free all occur in kernel context within the same security authority the calling process already interacts with; no VM, IOMMU, or sandbox boundary is crossed. C:H - The dangling per-CPU `srh_state->srh` lets `seg6_validate_srh()` walk TLVs through a freed, attacker-reclaimed slab object, and `seg6_do_srh_inline()`'s `memmove(hdr, oldhdr, 40)` on a short test packet reads up to 40 bytes past `skb->tail` which are then returned to userspace via `bpf_test_finish()`'s `data_out`. I:H - `seg6_bpf_has_valid_srh()` executes `srh->hdrlen = (u8)(srh_state->hdrlen >> 3)` through the stale pointer, giving an attacker-valued one-byte write at an attacker-chosen offset inside a freed object in an attacker-selected kmalloc cache — a reclaim primitive suitable for corrupting length/flag fields of a sprayed victim structure and escalating. A:H - `bpf_lwt_seg6_action(END_B6_ENCAP)` reliably oopses the kernel on `dev_net(skb_dst(skb)->dev)` because the test skb carries no dst, and post-`d1542d4ae4df` the same path also trips `lockdep_assert_held()`, which is a panic under `panic_on_warn`.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < ea3fae6984ba0f054550e4da22219489c12cd8d4 (affected · git)004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < a675524cfbe88fd49c05ff8807a08646983e687c (affected · git)004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < b05c2e25a5c168dbb46b6f7fcb741fd4e4f3b54a (affected · git)004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < e217492f6fa2228ad703ee3006d8fc4e5969fbd4 (affected · git)004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < 9cd15511de7c619bbd0f54bb3f28e6e720ded5d6 (affected · git)004d4b274e2a1a895a0e5dc66158b90a7d463d44 to < c13fda93aca118b8e5cd202e339046728ee7dddb (affected · git)Default: unaffected Linux · cna
Linux Linux 4.18 (affected)0 to < 4.18 (unaffected · semver)5.10.269 through 5.10.* (unaffected · semver)5.15.220 through 5.15.* (unaffected · semver)6.1.187 through 6.1.* (unaffected · semver)6.6.156 through 6.6.* (unaffected · semver)6.10.10 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

2

Linux · cna

bpf: Remove tst_run from lwt_seg6local_prog_ops.

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
2d228340328b04a21afa76130b614db5ffed422b3c7fcf8ac2887207320edf6e
Ingested
23 Sep 2026, 08:28:03 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