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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-04-17T15:59:28.203Z
- Modified: 2026-10-15T01:17:31.803Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 0bbe7f719985efd9adb3454679ecef0984cb6800 before 36be97e9eb535fe3008a5cb040b1e56f29f2e398; from 0bbe7f719985efd9adb3454679ecef0984cb6800 before 6022c065c9ec465d84cebff8f480db083e4ee06b; from 0bbe7f719985efd9adb3454679ecef0984cb6800 before 4b001ef14baab16b553a002cb9979e31b8fc0c6b; from 0bbe7f719985efd9adb3454679ecef0984cb6800 before 0958b33ef5a04ed91f61cef4760ac412080c4e08; 7c6feb347a4bb1f02e55f6814c93b5f7fab887a8; a289fd864722dcf5363fec66a35965d4964df515; 7054f86f268c0d9d62b52a4497dd0e8c10a7e5c7; 57f2a2ad73e99a7594515848f4da987326a15981; 0026e356e51ab3b54322eeb445c75a087ede5b9d; ffa70d104691aa609a18a9a6692049deb35f431f; 733c611a758c68894a4480fb999637476118a8fc; from 4.4.220 before 4.5; and 7 more (not affected: before 5.7; from 6.1.79 up to 6.1.*; from 6.6.18 up to 6.6.*; from 6.7.6 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 4.4.220 before 4.5; from 4.9.220 before 4.10; from 4.14.177 before 4.15; from 4.19.117 before 4.20; from 5.4.34 before 5.5; from 5.5.19 before 5.6; from 5.6.6 before 5.7; from 5.7.1 before 6.1.79; from 6.2 before 6.6.18; from 6.7 before 6.7.6; 5.7; 6.8

## References

- <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> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-26920](https://www.cve.org/CVERecord?id=CVE-2024-26920), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-26920](https://nvd.nist.gov/vuln/detail/CVE-2024-26920), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-26920 · Whole record: https://cve.day/CVE-2024-26920.json · Rebuilt by cve.day 2026-11-25T22:58:39.412Z
