PT-2026-5997

CVE-2025-71197

·

Published

2025-01-01

·

Updated

2026-10-13

Description by

CVSS 2.0
5.0
Medium
MetricsAV:L/AC:L/Au:M/C:N/I:P/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A flaw exists in the Linux kernel related to a buffer overflow in the alarms store function within the w1 therm module. The sysfs buffer passed to this function is allocated with 'size + 1' bytes, including a null terminator. However, the size argument does not account for the extra byte. The original code allocated 'size' bytes and used strcpy() to copy buf, resulting in a one-byte write past the allocated buffer due to strcpy() copying until the null terminator. The issue is addressed by parsing the buf parameter directly using simple strtoll() without allocating intermediate memory or using string copying, thereby removing the overflow and simplifying the code.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
AZL-77211
ECHO-A150-4643-8C98
OPENSUSE-SU-2026:20416-1
SUSE-SU-2026:0962-1
SUSE-SU-2026:1081-1
SUSE-SU-2026:20667-1
SUSE-SU-2026:20720-1
SUSE-SU-2026:20838-1
SUSE-SU-2026:20845-1
SUSE-SU-2026:20873-1
SUSE-SU-2026:20876-1
SUSE-SU-2026:20931-1
SUSE-SU-2026:21284-1
USN-8162-1
USN-8180-1
USN-8180-2
USN-8180-3
USN-8180-4
USN-8180-5
USN-8180-6
USN-8186-1
USN-8187-1
USN-8188-1
USN-8243-1
USN-8275-1
USN-8278-1
USN-8278-2
USN-8289-1
USN-8289-2
USN-8296-1
USN-8296-2
USN-8297-1
USN-8393-1
USN-8440-1
USN-8499-1
USN-8570-1
USN-8570-2
USN-8594-1
USN-8604-1
USN-8605-1
USN-8669-1
Found an issue in the description? Have something to add? Feel free to write us 👾