[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050156-CVE-2022-49887-aaf6@gregkh>
Date: Thu, 1 May 2025 16:11:17 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-49887: media: meson: vdec: fix possible refcount leak in vdec_probe()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
media: meson: vdec: fix possible refcount leak in vdec_probe()
v4l2_device_unregister need to be called to put the refcount got by
v4l2_device_register when vdec_probe fails or vdec_remove is called.
The Linux kernel CVE team has assigned CVE-2022-49887 to this issue.
Affected and fixed versions
===========================
Fixed in 5.4.224 with commit 70119756311a0be3b95bec2e1ba714673e90feba
Fixed in 5.10.154 with commit be6e22f54623d8a856a4f167b25be73c2ff1ff80
Fixed in 5.15.78 with commit f96ad391d054bd5c36994f98afd6a12cbb5600bf
Fixed in 6.0.8 with commit 0457e7b12ece1a7e41fa0ae8b7e47c0a72a83bef
Fixed in 6.1 with commit 7718999356234d9cc6a11b4641bb773928f1390f
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-49887
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/staging/media/meson/vdec/vdec.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/70119756311a0be3b95bec2e1ba714673e90feba
https://git.kernel.org/stable/c/be6e22f54623d8a856a4f167b25be73c2ff1ff80
https://git.kernel.org/stable/c/f96ad391d054bd5c36994f98afd6a12cbb5600bf
https://git.kernel.org/stable/c/0457e7b12ece1a7e41fa0ae8b7e47c0a72a83bef
https://git.kernel.org/stable/c/7718999356234d9cc6a11b4641bb773928f1390f
Powered by blists - more mailing lists