CVE-2025-71197 in Kernel products
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.
Affects 0 products from 3 vendors. Description from NVD and MITRE.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Kernel | — | — |
| Linux | — | — |
| Siemens | — | — |
| Linux | Linux Firmware | 5.8 |
| Siemens | S7-1500 Cpu Firmware | ≥ 3.1.6 |
| Siemens | Simatic Cpu 1518F-4 Firmware | ≥ 3.1.6 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.6 |
| Siemens | Simatic S7-1500 Cpu 1518-4 Pn Firmware | ≥ 3.1.6 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Firmware | ≥ 3.1.6 |
| Siemens | Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware | ≥ 3.1.6 |
| Siemens | Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware | ≥ 3.1.6 |
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2025-71197 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-032317-I |
| Published | 2026-07-28 |
| Last modified | 2026-11-10 |
| Source | NVD |
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-10.