# CVE-2024-46754: bpf: Remove tst\_run from lwt\_seg6local\_prog\_ops.

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-09-18 · Modified: 2026-09-02
- Aliases: UBUNTU-CVE-2024-46754, DEBIAN-CVE-2024-46754
- Record: https://cvemate.com/vulnerability/CVE-2024-46754 · JSON: https://cvemate.com/vulnerability/CVE-2024-46754/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.247%, percentile 17.069%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 130)

- debian linux (Debian): \< 6.1.187-1 \| \< 6.10.11-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-202.212 \| \< 6.8.0-50.51
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126 \| \< 6.8.0-1020.22
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1020.22~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1119.126+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1125.134 \| \< 6.8.0-1020.23
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1125.134~20.04.1

## References

- <https://git.kernel.org/stable/c/ea3fae6984ba0f054550e4da22219489c12cd8d4>
- <https://git.kernel.org/stable/c/a675524cfbe88fd49c05ff8807a08646983e687c>
- <https://git.kernel.org/stable/c/b05c2e25a5c168dbb46b6f7fcb741fd4e4f3b54a>
- <https://git.kernel.org/stable/c/e217492f6fa2228ad703ee3006d8fc4e5969fbd4>
- <https://git.kernel.org/stable/c/9cd15511de7c619bbd0f54bb3f28e6e720ded5d6>
- <https://git.kernel.org/stable/c/c13fda93aca118b8e5cd202e339046728ee7dddb>
- <https://ubuntu.com/security/CVE-2024-46754>
- <https://www.cve.org/CVERecord?id=CVE-2024-46754>
- <https://git.kernel.org/linus/c13fda93aca118b8e5cd202e339046728ee7dddb>
- <https://ubuntu.com/security/notices/USN-7154-1>
- <https://ubuntu.com/security/notices/USN-7155-1>
- <https://ubuntu.com/security/notices/USN-7156-1>
- <https://ubuntu.com/security/notices/USN-7154-2>
- <https://ubuntu.com/security/notices/USN-7196-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-46754>
- <https://ubuntu.com/security/notices/USN-8962-1>
- <https://ubuntu.com/security/notices/USN-8961-1>
- <https://ubuntu.com/security/notices/USN-8963-1>
- <https://ubuntu.com/security/notices/USN-9029-1>

---

Data as of 2026-12-05T14:13:18.326Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
