CVE-2024-47703: bpf, lsm: Add check for BPF LSM return value

Published Oct 21, 2024
·
Updated

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

bpf, lsm: Add check for BPF LSM return value

A bpf prog returning a positive number attached to fileallocsecurity hook makes kernel panic.

This happens because file system can not filter out the positive number returned by the LSM prog using ISERR, and misinterprets this positive number as a file pointer.

Given that hook fileallocsecurity never returned positive number before the introduction of BPF LSM, and other BPF LSM hooks may encounter similar issues, this patch adds LSM return value check in verifier, to ensure no unexpected value is returned.

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

3 affected componentsFixes available
Linux Linux kernel>=5.7<6.10.13
Linux Linux kernel>=6.11<6.11.2
debian/linux<=5.10.223-1, <=5.10.234-1, <=6.1.129-1, <=6.1.135-1
6.12.25-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 6.12.25-1Fixed in 6.12.27-1

Event History

Oct 21, 2024
CVE Published
via MITRE·11:53 AM
Data Sourced
via MITRE·11:53 AM
DescriptionSeverity
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Red Hat·01:05 PM
DescriptionSeverityAffected Software
Feb 24, 2025
Data Sourced
via Launchpad·12:49 AM
Description
May 7, 2025
Data Sourced
via Ubuntu·01:05 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-47703?

CVE-2024-47703 is classified as a high severity vulnerability due to the potential for kernel panic.

2

How do I fix CVE-2024-47703?

To mitigate CVE-2024-47703, upgrade your Linux kernel to version 6.12.12-1 or later.

3

What systems are affected by CVE-2024-47703?

CVE-2024-47703 affects multiple versions of the Linux kernel ranging from 5.7 to 6.11.2.

4

What is the impact of CVE-2024-47703?

If exploited, CVE-2024-47703 can lead to a kernel panic, rendering the system unresponsive.

5

When was CVE-2024-47703 published?

CVE-2024-47703 was published in 2024, addressing an issue in the Linux kernel related to BPF LSM.

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