Vulnerability in Linux

CVE-2021-47655

In the Linux kernel, the following vulnerability has been resolved:

media: venus: vdec: fixed possible memory leak issue

The venus_helper_alloc_dpb_bufs() implementation allows an early return
on an error path when checking the id from ida_alloc_min() which would
not release the earlier buffer allocation.

Move the direct kfree() from the error checking of dma_alloc_attrs() to
the common fail path to ensure that allocations are released on all
error paths in this function.

Addresses-Coverity: 1494120 ("Resource leak")

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 16.0th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 745e6d8bbe6a6e2e40b1609cea114c129f17031a, 40d87aafee29fb01ce1e1868502fb2059a6a7f34, 5.16
  • Linux Kernel

Weakness classification (CWE)

References