First published: Sat Dec 28 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: bpf: fix recursive lock when verdict program return SK_PASS When the stream_verdict program returns SK_PASS, it places the received skb into its own receive queue, but a recursive lock eventually occurs, leading to an operating system deadlock. This issue has been present since v6.9. ''' sk_psock_strp_data_ready write_lock_bh(&sk->sk_callback_lock) strp_data_ready strp_read_sock read_sock -> tcp_read_sock strp_recv cb.rcv_msg -> sk_psock_strp_read # now stream_verdict return SK_PASS without peer sock assign __SK_PASS = sk_psock_map_verd(SK_PASS, NULL) sk_psock_verdict_apply sk_psock_skb_ingress_self sk_psock_skb_ingress_enqueue sk_psock_data_ready read_lock_bh(&sk->sk_callback_lock) <= dead lock ''' This topic has been discussed before, but it has not been fixed. Previous discussion: https://lore.kernel.org/all/6684a5864ec86_403d20898@john.notmuch
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=5.10.223<5.11 | |
Linux Kernel | >=5.15.159<5.15.174 | |
Linux Kernel | >=6.1.91<6.1.120 | |
Linux Kernel | >=6.6.31<6.6.64 | |
Linux Kernel | >=6.8.10<6.11.11 | |
Linux Kernel | >=6.12<6.12.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-56694 has a severity rating that indicates it can cause significant issues related to recursive locking in the Linux kernel.
To address CVE-2024-56694, users should update their Linux kernel to a version that is not affected, specifically versions beyond those listed in the vulnerability description.
CVE-2024-56694 affects multiple versions of the Linux kernel, including versions from 5.10.223 to 5.11, 5.15.159 to 5.15.174, 6.1.91 to 6.1.120, 6.6.31 to 6.6.64, 6.8.10 to 6.11.11, and other versions up to 6.12.
CVE-2024-56694 is identified as a bug within the BPF (Berkeley Packet Filter) related to recursive locking during packet handling.
Yes, CVE-2024-56694 can potentially affect any Linux distribution that utilizes the affected versions of the Linux kernel mentioned in the vulnerability report.