CVE-2025-71197: Linux kernel · w1: therm: Fix off-by-one buffer overflow in alarms_store
Affects Linux kernelSource GCVE Database
Not known to be exploited · fixed in 5.15.0-1105.112~20.04.1 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 14:05 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.15.0-1105.112~20.04.1, 5.15.0-1110.119~20.04.1, 5.15.0-1106.115~20.04.1 +59
Exploitation evidence
Disclosed: evidence found.
CVE published 4 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linuxpkg:deb/ubuntu/linux@6.17.0-40.40?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-awspkg:deb/ubuntu/linux-aws@6.17.0-1019.19?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-azurepkg:deb/ubuntu/linux-azure@6.17.0-1020.20?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde@6.17.0-1017.17?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-gcppkg:deb/ubuntu/linux-gcp@6.17.0-1020.22?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-oraclepkg:deb/ubuntu/linux-oracle@6.17.0-1018.18?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released by Ubuntu as part of their Linux kernel updates. Users should update their systems to the fixed kernel versions listed in the vendor advisory and reboot to apply the changes. Due to an ABI change, recompilation and reinstallation of third-party kernel modules may be required. No additional mitigations are specified beyond applying the official updates.
Description
An off-by-one buffer overflow vulnerability in the Linux kernel's w1 therm driver (alarms_store function) was identified and fixed. The issue arose because the sysfs buffer was allocated with 'size + 1' bytes to include a NUL terminator, but the 'size' argument did not account for this extra byte, leading to a buffer overflow when strcpy() copied the buffer. The fix involves parsing the input directly without intermediate copying, eliminating the overflow. This vulnerability affects multiple Linux kernel versions prior to specific patched releases and has been addressed in updated kernel packages. No known exploits are reported in the wild. Users should update to the fixed kernel versions and reboot to apply the changes.
References
- ubuntu.com/security/CVE-2025-71197 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-71197 (opens in a new tab)
- git.kernel.org/linus/761fcf46a1bd797bd32d23f3ea0141ffd437668a (opens in a new tab)
- git.kernel.org/stable/c/6a5820ecfa5a76c3d3e154802c8c15f391ef442e (opens in a new tab)
- git.kernel.org/stable/c/6fd6d2a8e41b7f544a4d26cbd60bedf9c67893a0 (opens in a new tab)
- git.kernel.org/stable/c/761fcf46a1bd797bd32d23f3ea0141ffd437668a (opens in a new tab)
- git.kernel.org/stable/c/e6b2609af21b5cccc9559339591b8a2cbf884169 (opens in a new tab)
- ubuntu.com/security/notices/USN-8162-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8186-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8187-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8188-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-8243-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8180-6 (opens in a new tab)
- ubuntu.com/security/notices/USN-8275-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8278-1 (opens in a new tab)