7.8
CWE
476
EPSS
0.042%
Advisory Published
CVE Published
Updated

CVE-2024-0841: Kernel: hugetlbfs: null pointer dereference in hugetlbfs_fill_super function

First published: Tue Jan 02 2024(Updated: )

A flaw in the Linux Kernel found. Null pointer dereference in hugetlbfs_fill_super function for hugetlbfs (HugeTLB pages). The issue presents when we attempt to update the pagesize value to an invalid size with the fsconfig syscall. This syscall will eventually call hugetlbfs_parse_param() where we will set the hstate value to null if the value passed is not a valid page size. If we then attempt to update the fs again with a fsconfig syscall, specifically with the FSCONFIG_CMD_CREATE option, we will then attempt to dereference that null pointer within hugetlbfs_fill_super() causing a panic.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux kernel>=5.1<5.4.271
Linux kernel>=5.5<5.10.212
Linux kernel>=5.11<5.15.151
Linux kernel>=5.16<6.1.79
Linux kernel>=6.2<6.6.18
Linux kernel>=6.7<6.7.6
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
IBM Security Verify Governance - Identity Manager<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.128-1
6.12.21-1
6.12.22-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-0841?

    CVE-2024-0841 is classified as a low severity vulnerability due to its specific conditions for exploitation.

  • How do I fix CVE-2024-0841?

    To resolve CVE-2024-0841, you should update your Linux Kernel to the recommended versions or later as specified in available patches.

  • Which versions of the Linux Kernel are affected by CVE-2024-0841?

    CVE-2024-0841 affects Linux Kernel versions from 5.1 up to 6.7.6 across various distributions.

  • Can CVE-2024-0841 be exploited remotely?

    CVE-2024-0841 does not allow for remote exploitation as it requires local access to the system.

  • What components are impacted by CVE-2024-0841?

    CVE-2024-0841 impacts the hugetlbfs functionality within the Linux Kernel, specifically related to the fsconfig syscall.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203