Linux Kernel Hugetlb Early Boot Parameter Parsing Vulnerability

Vulnerability

A vulnerability in the Linux kernel's handling of hugepage parameters during early boot has been fixed. When hugepages, hugepagesz, or default_hugepagesz are specified on the kernel command line without the '=' separator, the parameter parsing incorrectly passes a NULL value to the 'hugetlb_add_param()' function. This NULL dereference can lead to a system crash. The vulnerability has been addressed by modifying 'hugetlb_add_param()' to reject NULL values and return an error instead.

Impact

The vulnerability could cause a system crash during early boot, disrupting the boot process and potentially leading to a denial of service.

Reproduction

To reproduce this vulnerability, specify hugepages, hugepagesz, or default_hugepagesz on the kernel command line without the '=' separator. This will cause the early parameter parsing to pass a NULL value to 'hugetlb_add_param()', which will then be dereferenced in 'strlen()', leading to a crash.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux kernel official website.

Added: Jun 8, 2026, 5:58 PM
Updated: Jun 8, 2026, 5:58 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.8
remediation
7.7
relevance
9.4
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.