Vulnerability · Published May 21, 2024 · Assigned by Linux
CVE-2021-47344media: zr364xx: fix memory leak in zr364xx_start_readpipe
Medium 5.5
In plain English
A medium-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 5.14.6-1 | DEBIAN-CVE-2021-47344 |
| Debian:13 | linux | 5.14.6-1 | DEBIAN-CVE-2021-47344 |
| Debian:14 | linux | 5.14.6-1 | DEBIAN-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2021-47344 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2021-47344 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ccbf035ae5de4c535160fc99f73feb44cc55b534 – before c57b2bd3247925e253729dce283d6bf6abc9339dccbf035ae5de4c535160fc99f73feb44cc55b534 – before bbc80a972a3c5d7eba3f6c9c07af8fea42f5c513ccbf035ae5de4c535160fc99f73feb44cc55b534 – before b0633051a6cb24186ff04ce1af99c7de18c1987eccbf035ae5de4c535160fc99f73feb44cc55b534 – before 021c294dff030f3ba38eb81e400ba123db32ecbcccbf035ae5de4c535160fc99f73feb44cc55b534 – before 0edd6759167295ea9969e89283b81017b4c688aaccbf035ae5de4c535160fc99f73feb44cc55b534 – before c57bfd8000d7677bf435873b440eec0c47f73a08ccbf035ae5de4c535160fc99f73feb44cc55b534 – before 5f3f81f1c96b501d180021c23c25e9f48eaab235ccbf035ae5de4c535160fc99f73feb44cc55b534 – before d69b39d89f362cfeeb54a68690768d0d257b2c8f |
| Linux | Linux | 2.6.32 |
References
- https://git.kernel.org/stable/c/c57b2bd3247925e253729dce283d6bf6abc9339d
- https://git.kernel.org/stable/c/bbc80a972a3c5d7eba3f6c9c07af8fea42f5c513
- https://git.kernel.org/stable/c/b0633051a6cb24186ff04ce1af99c7de18c1987e
- https://git.kernel.org/stable/c/021c294dff030f3ba38eb81e400ba123db32ecbc
- https://git.kernel.org/stable/c/0edd6759167295ea9969e89283b81017b4c688aa
- https://git.kernel.org/stable/c/c57bfd8000d7677bf435873b440eec0c47f73a08
- https://git.kernel.org/stable/c/5f3f81f1c96b501d180021c23c25e9f48eaab235
- https://git.kernel.org/stable/c/d69b39d89f362cfeeb54a68690768d0d257b2c8f
- https://git.kernel.org/stable/c/0a045eac8d0427b64577a24d74bb8347c905ac65