CVE-2024-0841
Linux Kernel vulnerability analysis and mitigation

Overview

A null pointer dereference vulnerability (CVE-2024-0841) was discovered in the hugetlbfs_fill_super function of the Linux kernel's HugeTLB pages functionality. The vulnerability was disclosed on January 28, 2024, affecting Linux kernel versions from 5.1 through 6.1.79 (NVD, Red Hat).

Technical details

The vulnerability occurs when attempting to update the pagesize value to an invalid size using the fsconfig syscall. When hugetlbfs_parse_param() is called, it sets the hstate value to null if an invalid page size is provided. Subsequently, if another fsconfig syscall is made with the FSCONFIG_CMD_CREATE option, the system attempts to dereference that null pointer within hugetlbfs_fill_super(), causing a kernel panic. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) by NIST, while Red Hat assessed it with a score of 6.6 (MEDIUM) (NVD).

Impact

This vulnerability may allow a local user with appropriate privileges to crash the system (denial of service) or potentially escalate their privileges on the affected system (Red Hat).

Mitigation and workarounds

The vulnerability has been fixed in multiple Linux distributions through security updates. Red Hat has addressed this in RHEL 9 via RHSA-2024:2394 and RHEL 8 via RHSA-2024:2950 and RHSA-2024:3138. Debian has also included fixes in their security updates (Red Hat, Debian).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management