Linux Kernel KMSAN Out-of-Bounds Memory Access Vulnerability

Vulnerability

A vulnerability in the Linux kernel's KMSAN (Kernel Memory Sanitizer) feature allows for out-of-bounds access to shadow memory. This issue occurs in versions through 6.17.0-rc3. The vulnerability is triggered when the 'sha224_kunit' test is run on a KMSAN-enabled kernel. The test causes a crash by accessing an unmapped memory page, leading to a page fault error. The root cause is improper handling of memory alignment, which allows reads from shadow memory beyond the allocated buffer, crashing the kernel when the accessed memory is not mapped.

Impact

Exploitation of this vulnerability causes a kernel crash due to a page fault error, disrupting system operations and potentially leading to a denial of service.

Reproduction

To reproduce this vulnerability, run the 'sha224_kunit' test on a KMSAN-enabled Linux kernel version through 6.17.0-rc3. This can be done by compiling the kernel with KMSAN enabled and then executing the test, which will trigger the out-of-bounds memory access and cause a kernel crash.

Remediation

Users can upgrade to the latest stable version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the latest version can be found on the official Linux kernel website.

Added: Oct 20, 2025, 4:29 PM
Updated: Oct 20, 2025, 4:29 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
7.7
relevance
0.8
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.