CVE-2024-46754: bpf: Remove tst_run from lwt_seg6local_prog_ops.
bpf: Remove tstrun from lwtseg6localprogops.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.25-1 - Configuration
Remove tst_run from lwt_seg6local_prog_ops to fix the BPF_PROG_TYPE_LWT_SEG6LOCAL self-test issue where the per-CPU variable seg6_bpf_srh_states::srh is never assigned in the self test case but is expected by BPF functions.
Linux kernel BPF (lwt_seg6local_prog_ops / BPF_PROG_TYPE_LWT_SEG6LOCAL self test) tst_run = removed - Compensating control
Ensure bpf_test_run() for lwt_seg6 related BPF ops is not invoked without first entering input_action_end_bpf(), since syzbot reported ops could be invoked via bpf_test_run() without entering input_action_end_bpf() first.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-46754?
CVE-2024-46754 is classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2024-46754?
To fix CVE-2024-46754, you should upgrade to the corrected version of the Linux package, specifically to version 6.12.11-1 or later.
What systems are affected by CVE-2024-46754?
CVE-2024-46754 affects various versions of the Linux kernel on Debian systems, including versions 5.10.223-1 to 5.10.226-1 and 6.1.119-1 to 6.1.123-1.
What kind of exploitation is possible with CVE-2024-46754?
CVE-2024-46754 may allow an attacker to invoke BPF operations improperly, leading to potential security issues.
Who reported the vulnerability CVE-2024-46754?
CVE-2024-46754 was reported by the syzbot, which is responsible for identifying kernel vulnerabilities.