CVE-2021-47344
What it is
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
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of service disruption.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-401
- Record status
- Analyzed
Affected
- Linux Kernel < 4.4.276
- Linux Kernel < 4.9.276
- Linux Kernel < 4.14.240
- Linux Kernel < 4.19.198
- Linux Kernel < 5.4.133
- Linux Kernel < 5.10.51
- Linux Kernel < 5.12.18
- Linux Kernel < 5.13.3
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-47344.md and follow it. Check whether this project is affected by CVE-2021-47344. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/021c294dff030f3ba38eb81e400ba123db32ecbc
- https://git.kernel.org/stable/c/0a045eac8d0427b64577a24d74bb8347c905ac65
- https://git.kernel.org/stable/c/0edd6759167295ea9969e89283b81017b4c688aa
- https://git.kernel.org/stable/c/5f3f81f1c96b501d180021c23c25e9f48eaab235
- https://git.kernel.org/stable/c/b0633051a6cb24186ff04ce1af99c7de18c1987e
- https://git.kernel.org/stable/c/bbc80a972a3c5d7eba3f6c9c07af8fea42f5c513
- https://git.kernel.org/stable/c/c57b2bd3247925e253729dce283d6bf6abc9339d
- https://git.kernel.org/stable/c/c57bfd8000d7677bf435873b440eec0c47f73a08
- https://git.kernel.org/stable/c/d69b39d89f362cfeeb54a68690768d0d257b2c8f
- https://git.kernel.org/stable/c/021c294dff030f3ba38eb81e400ba123db32ecbc
References
- https://git.kernel.org/stable/c/021c294dff030f3ba38eb81e400ba123db32ecbc
- https://git.kernel.org/stable/c/0a045eac8d0427b64577a24d74bb8347c905ac65
- https://git.kernel.org/stable/c/0edd6759167295ea9969e89283b81017b4c688aa
- https://git.kernel.org/stable/c/5f3f81f1c96b501d180021c23c25e9f48eaab235
- https://git.kernel.org/stable/c/b0633051a6cb24186ff04ce1af99c7de18c1987e
- https://git.kernel.org/stable/c/bbc80a972a3c5d7eba3f6c9c07af8fea42f5c513
- https://git.kernel.org/stable/c/c57b2bd3247925e253729dce283d6bf6abc9339d
- https://git.kernel.org/stable/c/c57bfd8000d7677bf435873b440eec0c47f73a08
- https://git.kernel.org/stable/c/d69b39d89f362cfeeb54a68690768d0d257b2c8f
- https://git.kernel.org/stable/c/021c294dff030f3ba38eb81e400ba123db32ecbc
- https://git.kernel.org/stable/c/0a045eac8d0427b64577a24d74bb8347c905ac65
- https://git.kernel.org/stable/c/0edd6759167295ea9969e89283b81017b4c688aa
- https://git.kernel.org/stable/c/5f3f81f1c96b501d180021c23c25e9f48eaab235
- https://git.kernel.org/stable/c/b0633051a6cb24186ff04ce1af99c7de18c1987e
- https://git.kernel.org/stable/c/bbc80a972a3c5d7eba3f6c9c07af8fea42f5c513
- https://git.kernel.org/stable/c/c57b2bd3247925e253729dce283d6bf6abc9339d
- https://git.kernel.org/stable/c/c57bfd8000d7677bf435873b440eec0c47f73a08
- https://git.kernel.org/stable/c/d69b39d89f362cfeeb54a68690768d0d257b2c8f