media: zr364xx: fix memory leak in zr364xx_start_readpipe (Linux Linux)

CVE-2021-47344
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 16 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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

Faiblesses (CWE)

  • CWE-401 — Mémoire non libérée après sa durée de vie utile

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected ccbf035ae5de4c535160fc99f73feb44cc55b534 < c57b2bd3247925e253729dce283d6bf6abc9339d ; affected ccbf035ae5de4c535160fc99f73feb44cc55b534 < bbc80a972a3c5d7eba3f6c9c07af8fea42f5c513 ; affected ccbf035ae5de4c535160fc99f73feb44cc55b534 < b0633051a6cb24186ff04ce1af99c7de18c1987e ; affected ccbf035ae5de4c535160fc99f73feb44cc55b534 < 021c294dff030f3ba38eb81e400ba123db32ecbc ; affected ccbf035ae5de4c535160fc99f73feb44cc55b534 < 0edd6759167295ea9969e89283b81017b4c688aa ; affected ccbf035ae5de4c535160fc99f73feb44cc55b534 < c57bfd8000d7677bf435873b440eec0c47f73a08
Linux · Linuxaffected 2.6.32 ; unaffected 0 < 2.6.32 ; unaffected 4.4.276 ≤ 4.4.* ; unaffected 4.9.276 ≤ 4.9.* ; unaffected 4.14.240 ≤ 4.14.* ; unaffected 4.19.198 ≤ 4.19.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD