# w1: therm: Fix off-by-one buffer overflow in alarms_store

CVE record · `CVE-2025-71197`

- **Identifiers:** `CVE-2025-71197`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 4 Feb 2026
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 4 Feb 2026, 16:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `e2c94d6f572079511945e64537eb1218643f2e68 to before 49ff9b4b9deacbefa6654a0a2bcaf910c9de7e95` (git)
  - affected: `e2c94d6f572079511945e64537eb1218643f2e68 to before 060b08d72a38b158a7f850d4b83c17c2969e0f6b` (git)
  - affected: `e2c94d6f572079511945e64537eb1218643f2e68 to before b3fc3e1f04dcc7c41787bbf08a6e0d2728e022cf` (git)
  - affected: `e2c94d6f572079511945e64537eb1218643f2e68 to before 6a5820ecfa5a76c3d3e154802c8c15f391ef442e` (git)
  - affected: `e2c94d6f572079511945e64537eb1218643f2e68 to before 6fd6d2a8e41b7f544a4d26cbd60bedf9c67893a0` (git)
  - affected: `e2c94d6f572079511945e64537eb1218643f2e68 to before e6b2609af21b5cccc9559339591b8a2cbf884169` (git)
  - affected: `e2c94d6f572079511945e64537eb1218643f2e68 to before 761fcf46a1bd797bd32d23f3ea0141ffd437668a` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.8`
  - unaffected: `before 5.8` (semver)
  - unaffected: `5.10.249 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.199 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.162 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.122 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.68 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.8 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's w1 therm driver is affected from version 5.8 until fixed. In alarms_store(), a sysfs write handler, a one-byte off-by-one buffer overflow lets someone who can write to that attribute corrupt memory. Upgrade to 5.10.249, 5.15.199, 6.1.162, 6.6.122, or a later release in the same series, or to a kernel containing the fix.

Written 19 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0026, the 17th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 4 Feb 2026, 16:07 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-71197)
- 4 Feb 2026, 17:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-71197)

## Sources

- [CVE List: CVE-2025-71197](https://www.cve.org/CVERecord?id=CVE-2025-71197)
- [NVD: CVE-2025-71197](https://nvd.nist.gov/vuln/detail/CVE-2025-71197)

### References from the CNA

- <https://git.kernel.org/stable/c/49ff9b4b9deacbefa6654a0a2bcaf910c9de7e95>
- <https://git.kernel.org/stable/c/060b08d72a38b158a7f850d4b83c17c2969e0f6b>
- <https://git.kernel.org/stable/c/b3fc3e1f04dcc7c41787bbf08a6e0d2728e022cf>
- <https://git.kernel.org/stable/c/6a5820ecfa5a76c3d3e154802c8c15f391ef442e>
- <https://git.kernel.org/stable/c/6fd6d2a8e41b7f544a4d26cbd60bedf9c67893a0>
- <https://git.kernel.org/stable/c/e6b2609af21b5cccc9559339591b8a2cbf884169>
- <https://git.kernel.org/stable/c/761fcf46a1bd797bd32d23f3ea0141ffd437668a>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-71197>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-71197/>. Everything for agents: <https://agentprime.io/llms.txt>.
