# CVE-2021-47643: media: ir_toy: free before error exiting

- 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.25%, higher than 16% of CVEs (2026-12-02)
- Published: 2025-02-26T01:54:13.684Z
- Modified: 2026-06-17T04:18:13.753Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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

media: ir_toy: free before error exiting

Fix leak in error path.

(As written by CVE List.)

## Affected

- Linux Linux: from 261463dbc34ff0acafe4d84df04535b48a15afea before 99e3f83539cac6884a4df02cb204a57a184ea12b; from 261463dbc34ff0acafe4d84df04535b48a15afea before 2011363c196846c083649c91ed30aeef64358d52; from 261463dbc34ff0acafe4d84df04535b48a15afea before 382e0f6958ef34eb093127b6d74c12f3b8fd0904; from 261463dbc34ff0acafe4d84df04535b48a15afea before 93ef3fdf3b6633c58f049e5a6be755777dde4340; from 261463dbc34ff0acafe4d84df04535b48a15afea before 52cdb013036391d9d87aba5b4fc49cdfc6ea4b23; 5.9 (not affected: before 5.9; from 5.10.110 up to 5.10.*; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 5.9 before 5.10.110; from 5.11 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## References

- <https://git.kernel.org/stable/c/99e3f83539cac6884a4df02cb204a57a184ea12b> (patch)
- <https://git.kernel.org/stable/c/2011363c196846c083649c91ed30aeef64358d52> (patch)
- <https://git.kernel.org/stable/c/382e0f6958ef34eb093127b6d74c12f3b8fd0904> (patch)
- <https://git.kernel.org/stable/c/93ef3fdf3b6633c58f049e5a6be755777dde4340> (patch)
- <https://git.kernel.org/stable/c/52cdb013036391d9d87aba5b4fc49cdfc6ea4b23> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2021-47643 · Whole record: https://cve.day/CVE-2021-47643.json · Rebuilt by cve.day 2026-11-25T22:58:09.003Z
