# CVE-2024-26829: media: ir_toy: fix a memleak in irtoy_tx

- 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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-04-17T10:03:13.088Z
- Modified: 2026-06-17T07:18:26.923Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: ir_toy: fix a memleak in irtoy_tx

When irtoy_command fails, buf should be freed since it is allocated by
irtoy_tx, or there is a memleak.

(As written by CVE List.)

## Affected

- Linux Linux: from a4ac45aff8d38c64104aec21c6529747d94ae75a before 207557e393a135c1b6fe1df7cc0741d2c1789fff; from 4114978dcd24e72415276bba60ff4ff355970bbc before be76ad74a43f90f340f9f479e6b04f02125f6aef; from 4114978dcd24e72415276bba60ff4ff355970bbc before 7219a692ffc00089015ada33b85b334d1a4b6e8e; from 4114978dcd24e72415276bba60ff4ff355970bbc before b37259448bbc70af1d0e52a9dd5559a9c29c9621; from 4114978dcd24e72415276bba60ff4ff355970bbc before dc9ceb90c4b42c6e5c6757df1d6257110433788e; from 5.15.54 before 5.15.149; 5.16 (not affected: before 5.16; from 5.15.149 up to 5.15.*; 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: before 5.10.210; from 5.15.54 before 5.15.149; from 5.16 before 6.1.79; from 6.2 before 6.6.18; from 6.7 before 6.7.6; 6.8

## References

- <https://git.kernel.org/stable/c/207557e393a135c1b6fe1df7cc0741d2c1789fff> (patch)
- <https://git.kernel.org/stable/c/be76ad74a43f90f340f9f479e6b04f02125f6aef> (patch)
- <https://git.kernel.org/stable/c/7219a692ffc00089015ada33b85b334d1a4b6e8e> (patch)
- <https://git.kernel.org/stable/c/b37259448bbc70af1d0e52a9dd5559a9c29c9621> (patch)
- <https://git.kernel.org/stable/c/dc9ceb90c4b42c6e5c6757df1d6257110433788e> (patch)
- <https://git.kernel.org/stable/c/486a4176bc783df798bce2903824801af8d2c3ae> (patch)

## Sources

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

---

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