# CVE-2021-47344: media: zr364xx: fix memory leak in zr364xx_start_readpipe

- 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.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-21T14:35:50.953Z
- Modified: 2026-06-17T04:17:14.910Z
- 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: zr364xx: fix memory leak in zr364xx_start_readpipe

syzbot reported memory leak in zr364xx driver.
The problem was in non-freed urb in case of
usb_submit_urb() fail.

backtrace:
  [<ffffffff82baedf6>] kmalloc include/linux/slab.h:561 [inline]
  [<ffffffff82baedf6>] usb_alloc_urb+0x66/0xe0 drivers/usb/core/urb.c:74
  [<ffffffff82f7cce8>] zr364xx_start_readpipe+0x78/0x130 drivers/media/usb/zr364xx/zr364xx.c:1022
  [<ffffffff84251dfc>] zr364xx_board_init drivers/media/usb/zr364xx/zr364xx.c:1383 [inline]
  [<ffffffff84251dfc>] zr364xx_probe+0x6a3/0x851 drivers/media/usb/zr364xx/zr364xx.c:1516
  [<ffffffff82bb6507>] usb_probe_interface+0x177/0x370 drivers/usb/core/driver.c:396
  [<ffffffff826018a9>] really_probe+0x159/0x500 drivers/base/dd.c:576

(As written by CVE List.)

## Affected

- Linux Linux: from ccbf035ae5de4c535160fc99f73feb44cc55b534 before c57b2bd3247925e253729dce283d6bf6abc9339d; from ccbf035ae5de4c535160fc99f73feb44cc55b534 before bbc80a972a3c5d7eba3f6c9c07af8fea42f5c513; from ccbf035ae5de4c535160fc99f73feb44cc55b534 before b0633051a6cb24186ff04ce1af99c7de18c1987e; from ccbf035ae5de4c535160fc99f73feb44cc55b534 before 021c294dff030f3ba38eb81e400ba123db32ecbc; from ccbf035ae5de4c535160fc99f73feb44cc55b534 before 0edd6759167295ea9969e89283b81017b4c688aa; from ccbf035ae5de4c535160fc99f73feb44cc55b534 before c57bfd8000d7677bf435873b440eec0c47f73a08; from ccbf035ae5de4c535160fc99f73feb44cc55b534 before 5f3f81f1c96b501d180021c23c25e9f48eaab235; from ccbf035ae5de4c535160fc99f73feb44cc55b534 before d69b39d89f362cfeeb54a68690768d0d257b2c8f; from ccbf035ae5de4c535160fc99f73feb44cc55b534 before 0a045eac8d0427b64577a24d74bb8347c905ac65; 2.6.32 (not affected: before 2.6.32; from 4.4.276 up to 4.4.*; from 4.9.276 up to 4.9.*; from 4.14.240 up to 4.14.*; from 4.19.198 up to 4.19.*; from 5.4.133 up to 5.4.*; from 5.10.51 up to 5.10.*; from 5.12.18 up to 5.12.*; from 5.13.3 up to 5.13.*; from 5.14 up to *)
- linux linux_kernel: from 2.6.32 before 4.4.276; from 4.5 before 4.9.276; from 4.10 before 4.14.240; from 4.15 before 4.19.198; from 4.20 before 5.4.133; from 5.5 before 5.10.51; from 5.11 before 5.12.18; from 5.13 before 5.13.3

## References

- <https://git.kernel.org/stable/c/c57b2bd3247925e253729dce283d6bf6abc9339d> (patch)
- <https://git.kernel.org/stable/c/bbc80a972a3c5d7eba3f6c9c07af8fea42f5c513> (patch)
- <https://git.kernel.org/stable/c/b0633051a6cb24186ff04ce1af99c7de18c1987e> (patch)
- <https://git.kernel.org/stable/c/021c294dff030f3ba38eb81e400ba123db32ecbc> (patch)
- <https://git.kernel.org/stable/c/0edd6759167295ea9969e89283b81017b4c688aa> (patch)
- <https://git.kernel.org/stable/c/c57bfd8000d7677bf435873b440eec0c47f73a08> (patch)
- <https://git.kernel.org/stable/c/5f3f81f1c96b501d180021c23c25e9f48eaab235> (patch)
- <https://git.kernel.org/stable/c/d69b39d89f362cfeeb54a68690768d0d257b2c8f> (patch)
- <https://git.kernel.org/stable/c/0a045eac8d0427b64577a24d74bb8347c905ac65> (patch)

## Sources

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

---

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