[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022635-CVE-2022-49310-d185@gregkh>
Date: Wed, 26 Feb 2025 03:09:44 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49310: char: xillybus: fix a refcount leak in cleanup_dev()
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
char: xillybus: fix a refcount leak in cleanup_dev()
usb_get_dev is called in xillyusb_probe. So it is better to call
usb_put_dev before xdev is released.
The Linux kernel CVE team has assigned CVE-2022-49310 to this issue.
Affected and fixed versions
===========================
Fixed in 5.15.47 with commit bc8fceda3b89006e8a7dda8a097d36045d044c25
Fixed in 5.17.15 with commit 21f1f167d727f3f857e26d509ef5a6d47fd31bc3
Fixed in 5.18.4 with commit e277b95acdab84cd5d2f8d537a37aef6d21e988b
Fixed in 5.19 with commit b67d19662fdee275c479d21853bc1239600a798f
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-49310
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/char/xillybus/xillyusb.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/bc8fceda3b89006e8a7dda8a097d36045d044c25
https://git.kernel.org/stable/c/21f1f167d727f3f857e26d509ef5a6d47fd31bc3
https://git.kernel.org/stable/c/e277b95acdab84cd5d2f8d537a37aef6d21e988b
https://git.kernel.org/stable/c/b67d19662fdee275c479d21853bc1239600a798f
Powered by blists - more mailing lists