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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.36% (percentile 22, 2026-11-26)
- **Published:** 2024-04-17T15:59:28.203Z
- **Modified:** 2026-10-15T01:17:31.803Z

## Who should check

- Anyone running Linux \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 36be97e9eb535fe3008a5cb040b1e56f29f2e398; \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 6022c065c9ec465d84cebff8f480db083e4ee06b; \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 4b001ef14baab16b553a002cb9979e31b8fc0c6b; \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 0958b33ef5a04ed91f61cef4760ac412080c4e08; 7c6feb347a4bb1f02e55f6814c93b5f7fab887a8; a289fd864722dcf5363fec66a35965d4964df515; 7054f86f268c0d9d62b52a4497dd0e8c10a7e5c7; 57f2a2ad73e99a7594515848f4da987326a15981; 0026e356e51ab3b54322eeb445c75a087ede5b9d; ffa70d104691aa609a18a9a6692049deb35f431f; …
- Anyone running Linux 5.7

## 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.

## Affected and fixed versions

- Linux: \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 36be97e9eb535fe3008a5cb040b1e56f29f2e398; \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 6022c065c9ec465d84cebff8f480db083e4ee06b; \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 4b001ef14baab16b553a002cb9979e31b8fc0c6b; \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 0958b33ef5a04ed91f61cef4760ac412080c4e08; 7c6feb347a4bb1f02e55f6814c93b5f7fab887a8; a289fd864722dcf5363fec66a35965d4964df515; 7054f86f268c0d9d62b52a4497dd0e8c10a7e5c7; 57f2a2ad73e99a7594515848f4da987326a15981; 0026e356e51ab3b54322eeb445c75a087ede5b9d; ffa70d104691aa609a18a9a6692049deb35f431f; … (cvelist)
- Linux: 5.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26920. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26920.md
Affected: Linux >= 0bbe7f719985efd9adb3454679ecef0984cb6800, < 36be97e9eb535fe3008a5cb040b1e56f29f2e398; >= 0bbe7f719985efd9adb3454679ecef0984cb6800, < 6022c065c9ec465d84cebff8f480db083e4ee06b; >= 0bbe7f719985efd9adb3454679ecef0984cb6800, < 4b001ef14baab16b553a002cb9979e31b8fc0c6b; >= 0bbe7f719985efd9adb3454…
Fixed in: Linux 36be97e9eb535fe3008a5cb040b1e56f29f2e398, Linux 6022c065c9ec465d84cebff8f480db083e4ee06b, Linux 4b001ef14baab16b553a002cb9979e31b8fc0c6b, Linux 0958b33ef5a04ed91f61cef4760ac412080c4e08

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26920 being exploited?

There is no confirmed exploitation: CVE-2024-26920 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.36% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26920?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26920?

Linux \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 36be97e9eb535fe3008a5cb040b1e56f29f2e398; \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 6022c065c9ec465d84cebff8f480db083e4ee06b; \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 4b001ef14baab16b553a002cb9979e31b8fc0c6b; \>= 0bbe7f719985efd9adb3454679ecef0984cb6800, \< 0958b33ef5a04ed91f61cef4760ac412080c4e08; 7c6feb347a4bb1f02e55f6814c93b5f7fab887a8; a289fd864722dcf5363fec66a35965d4964df515; 7054f86f268c0d9d62b52a4497dd0e8c10a7e5c7; 57f2a2ad73e99a7594515848f4da987326a15981; 0026e356e51ab3b54322eeb445c75a087ede5b9d; ffa70d104691aa609a18a9a6692049deb35f431f; …; Linux 5.7.

### Is there a fix for CVE-2024-26920?

Yes. Fixed in Linux 36be97e9eb535fe3008a5cb040b1e56f29f2e398, Linux 6022c065c9ec465d84cebff8f480db083e4ee06b, Linux 4b001ef14baab16b553a002cb9979e31b8fc0c6b, Linux 0958b33ef5a04ed91f61cef4760ac412080c4e08. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-26920?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/36be97e9eb535fe3008a5cb040b1e56f29f2e398>
- patch: <https://git.kernel.org/stable/c/6022c065c9ec465d84cebff8f480db083e4ee06b>
- patch: <https://git.kernel.org/stable/c/4b001ef14baab16b553a002cb9979e31b8fc0c6b>
- patch: <https://git.kernel.org/stable/c/0958b33ef5a04ed91f61cef4760ac412080c4e08>
- patch: <https://git.kernel.org/stable/c/bcf4a115a5068f3331fafb8c176c1af0da3d8b19>
- patch: <https://git.kernel.org/stable/c/34925d01baf3ee62ab21c21efd9e2c44c24c004a>
- patch: <https://git.kernel.org/stable/c/8ffd5590f4d6ef5460acbeac7fbdff7025f9b419>
- patch: <https://git.kernel.org/stable/c/2450a69d2ee75d1f0112d509ac82ef98f5ad6b5f>
- patch: <https://git.kernel.org/stable/c/56cfbe60710772916a5ba092c99542332b48e870>
- patch: <https://git.kernel.org/stable/c/26ebeffff238488466fa578be3b35b8a46e69906>
- patch: <https://git.kernel.org/stable/c/b5085b5ac1d96ea2a8a6240f869655176ce44197>
- patch: <https://git.kernel.org/stable/c/2a3073d58382157ab396734ed4e421ba9e969db1>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26920>

HTML: <https://flawdb.com/CVE-2024-26920> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26920>
