CVE-2021-47344

media: zr364xx: fix memory leak in zr364xx_start_readpipe

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ccbf035ae5de4c535160fc99f73feb44cc55b534 to before c57b2bd3247925e253729dce283d6bf6abc9339dAffected
  • ccbf035ae5de4c535160fc99f73feb44cc55b534 to before bbc80a972a3c5d7eba3f6c9c07af8fea42f5c513Affected
  • ccbf035ae5de4c535160fc99f73feb44cc55b534 to before b0633051a6cb24186ff04ce1af99c7de18c1987eAffected
  • ccbf035ae5de4c535160fc99f73feb44cc55b534 to before 021c294dff030f3ba38eb81e400ba123db32ecbcAffected
  • ccbf035ae5de4c535160fc99f73feb44cc55b534 to before 0edd6759167295ea9969e89283b81017b4c688aaAffected
  • ccbf035ae5de4c535160fc99f73feb44cc55b534 to before c57bfd8000d7677bf435873b440eec0c47f73a08Affected
  • ccbf035ae5de4c535160fc99f73feb44cc55b534 to before 5f3f81f1c96b501d180021c23c25e9f48eaab235Affected
  • ccbf035ae5de4c535160fc99f73feb44cc55b534 to before d69b39d89f362cfeeb54a68690768d0d257b2c8fAffected
  • ccbf035ae5de4c535160fc99f73feb44cc55b534 to before 0a045eac8d0427b64577a24d74bb8347c905ac65Affected
LinuxLinux
  • 2.6.32Affected
  • before 2.6.32Not affected
  • 4.4.276 through 4.4.*Not affected
  • 4.9.276 through 4.9.*Not affected
  • 4.14.240 through 4.14.*Not affected
  • 4.19.198 through 4.19.*Not affected
  • 5.4.133 through 5.4.*Not affected
  • 5.10.51 through 5.10.*Not affected
  • 5.12.18 through 5.12.*Not affected
  • 5.13.3 through 5.13.*Not affected
  • 5.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.