PT-2025-49072 · Linux+3 · Linux Kernel+3
Published
2025-08-25
·
Updated
2026-05-07
·
CVE-2025-40245
CVSS v2.0
4.6
Medium
| Vector | AV:L/AC:L/Au:S/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contains a flaw on nios2 systems where the
memblock.current limit is not properly initialized when CONFIG FLATMEM is enabled. This can lead to max low pfn exceeding the valid range of available DRAM, potentially causing kernel-level paging failures and system crashes, such as a kernel panic. The issue arises because the kernel relies on memblock get current limit() to determine memory limits, but memblock.current limit is only initialized to MEMBLOCK ALLOC ANYWHERE at a certain point during bootup. The patch resolves this by pre-calculating memblock.current limit based on available memory ranges using adjust lowmem bounds.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linuxmint
Linux Kernel
Ubuntu