Linux Kernel Nios2 Memory Management Vulnerability Leading to Kernel Panic

Vulnerability

A vulnerability in the Linux kernel for the Nios2 architecture has been addressed. With the CONFIG_FLATMEM option enabled, the kernel improperly initializes the memory block limits, which can cause the maximum low page frame number (max_low_pfn) to exceed the actual physical memory limits. This misconfiguration can lead to kernel paging errors and system crashes. The issue arises because the memory block current limit is only set to allocate memory anywhere by default, allowing the low memory page frame number to incorrectly surpass the available memory range, potentially causing paging failures and kernel panics.

Impact

Exploitation of this vulnerability can cause kernel paging requests to fail, leading to a kernel panic and system crash.

Reproduction

To reproduce this vulnerability, boot a Linux kernel on a Nios2 system with the CONFIG_FLATMEM option enabled. During the boot process, the memory block current limit will be improperly set, allowing the maximum low page frame number to exceed the actual physical memory limits. This misconfiguration can be observed by monitoring the kernel messages for paging request errors, which will indicate a kernel panic has occurred.

Remediation

The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version where this issue has been addressed.

Added: Dec 4, 2025, 4:45 PM
Updated: Dec 4, 2025, 5:47 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
1.2
threat
4.8
urgency
2.9
incentive
1.7

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