VDB

DEBIAN-CVE-2025-71197

DEBIAN-CVE-2025-71197 PUBLISHED CVSS 9.300000190734863 CRITICAL

In the Linux kernel, the following vulnerability has been resolved: w1: therm: Fix off-by-one buffer overflow in alarms_store The sysfs buffer passed to alarms_store() is allocated with 'size + 1' bytes and a NUL terminator is appended. However, the 'size' argument does not account for this extra byte. The original code then allocated 'size' bytes and used strcpy() to copy 'buf', which always writes one byte past the allocated buffer since strcpy() copies until the NUL terminator at index 'size'. Fix this by parsing the 'buf' parameter directly using simple_strtoll() without allocating any intermediate memory or string copying. This removes the overflow while simplifying the code.

Risk Scores

CVSS 4.0
9.300000190734863
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected Products

VendorProductVersions
Debian:11linux-6.16.1.106-3~deb11u1, *, 6.1.112-1~deb11u1
Debian:12linux6.1.66-1, 6.1.67-1, 6.1.69-1
Debian:13linux6.12.57-1, 6.12.69-1, 6.12.63-1
Debian:14linux6.18.5-1, 6.18.5-1, 6.18
Debian:11linux5.10.216-1, 5.10.221-1, 5.10.223-1

Exploit Intelligence

Timeline

  • Feb 4, 2026 CVE Published
  • Apr 28, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›