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

Published Jan 2, 2024
·
Updated

A flaw in the Linux Kernel found. Null pointer dereference in hugetlbfsfillsuper 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 hugetlbfsparseparam() 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 FSCONFIGCMDCREATE option, we will then attempt to dereference that null pointer within hugetlbfsfillsuper() causing a panic.

Other sources

A null pointer dereference flaw was found in the hugetlbfsfillsuper function in the Linux kernel hugetlbfs (HugeTLB pages) functionality. This issue may allow a local user to crash the system or potentially escalate their privileges on the system.

Launchpad

Linux Kernel could allow a local authenticated attacker to gain elevated privileges on the system, caused by a NULL pointer dereference flaw in the hugetlbfsfillsuper function in the hugetlbfs (HugeTLB pages) functionality. By sending a specially crafted request, an authenticated attacker could exploit this vulnerability to gain elevated privileges or cause the system to crash.

IBM

Affected Software

13 affected componentsFixes available
Linux Linux kernel>=5.1<5.4.271
Linux Linux kernel>=5.5<5.10.212
Linux Linux kernel>=5.11<5.15.151
Linux Linux kernel>=5.16<6.1.79
Linux Linux kernel>=6.2<6.6.18
Linux Linux kernel>=6.7<6.7.6
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
IBM Security Verify Governance<=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-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Jan 2, 2024
Data Sourced
via Red Hat·05:40 PM
DescriptionSeverityAffected Software
Jan 28, 2024
CVE Published
via MITRE·11:20 AM
Data Sourced
via MITRE·11:20 AM
DescriptionSeverityWeakness
Jun 8, 2024
Data Sourced
via Launchpad·01:03 AM
Description
Apr 28, 2025
Data Sourced
via Ubuntu·05:11 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·05:11 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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-0841?

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

2

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.

3

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.

4

Can CVE-2024-0841 be exploited remotely?

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

5

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