CVE-2024-56694: bpf: fix recursive lock when verdict program return SK_PASS

Published Dec 28, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

bpf: fix recursive lock when verdict program return SKPASS

When the streamverdict program returns SKPASS, 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.

''' skpsockstrpdataready writelockbh(&sk->skcallbacklock) strpdataready strpreadsock readsock -> tcpreadsock strprecv cb.rcvmsg -> skpsockstrpread # now streamverdict return SKPASS without peer sock assign SKPASS = skpsockmapverd(SKPASS, NULL) skpsockverdictapply skpsockskbingressself skpsockskbingressenqueue skpsockdataready readlockbh(&sk->skcallbacklock) <= dead lock

'''

This topic has been discussed before, but it has not been fixed. Previous discussion: https://lore.kernel.org/all/6684a5864ec86403d20898@john.notmuch

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

8 affected componentsFixes available
Linux Linux kernel>=5.10.223<5.11
Linux Linux kernel>=5.15.159<5.15.174
Linux Linux kernel>=6.1.91<6.1.120
Linux Linux kernel>=6.6.31<6.6.64
Linux Linux kernel>=6.8.10<6.11.11
Linux Linux kernel>=6.12<6.12.2
debian/linux<=5.10.223-1
5.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.129-1~deb11u1

Event History

Dec 28, 2024
CVE Published
via MITRE·09:46 AM
Data Sourced
via MITRE·09:46 AM
DescriptionSeverity
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 28, 2025
Data Sourced
via Launchpad·01:05 AM
Description
May 3, 2025
Data Sourced
via Ubuntu·01:14 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-56694?

CVE-2024-56694 has a severity rating that indicates it can cause significant issues related to recursive locking in the Linux kernel.

2

How do I fix CVE-2024-56694?

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.

3

What versions of the Linux kernel are impacted by CVE-2024-56694?

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.

4

What type of vulnerability is CVE-2024-56694?

CVE-2024-56694 is identified as a bug within the BPF (Berkeley Packet Filter) related to recursive locking during packet handling.

5

Does CVE-2024-56694 affect any specific distributions of Linux?

Yes, CVE-2024-56694 can potentially affect any Linux distribution that utilizes the affected versions of the Linux kernel mentioned in the vulnerability report.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203