Linux Kernel NULL Pointer Dereference Vulnerability in aspeed LPC Snoop Function

Vulnerability

A NULL pointer dereference vulnerability has been identified in the Linux kernel's aspeed LPC snoop function. The issue arises because the function aspeed_lpc_enable_snoop() does not validate the return value of devm_kasprintf(), which can be NULL if memory allocation fails. This oversight leads to a NULL pointer dereference. The vulnerability has been addressed by adding a NULL check after the devm_kasprintf() call.

Impact

Exploitation of this vulnerability leads to a NULL pointer dereference, causing a crash or undefined behavior in the kernel.

Added: Jul 3, 2025, 10:10 AM
Updated: Jul 3, 2025, 10:10 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.2
threat
3.2
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.