Linux Kernel MMC Core Buffer Overflow Vulnerability in Sysfs Output Handling

Vulnerability

A buffer overflow vulnerability has been identified in the Linux kernel's MMC core, specifically in how the sysfs output is managed. The issue arises because the sprintf() function, which is still in use for sysfs output, is susceptible to buffer overflow. This vulnerability has been addressed by replacing sprintf() with sysfs_emit(), a safer alternative. The vulnerability was discovered by the Linux Verification Center using the SVACE static analysis tool.

Impact

Exploitation of this vulnerability could lead to a buffer overflow, which may allow for arbitrary code execution or causing a denial-of-service condition by crashing the system.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

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