| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.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 |
| =========================== |
| |
| Issue introduced in 5.14 with commit a53d1202aef122894b6e46116a92174a9123db5d and fixed in 5.15.47 with commit bc8fceda3b89006e8a7dda8a097d36045d044c25 |
| Issue introduced in 5.14 with commit a53d1202aef122894b6e46116a92174a9123db5d and fixed in 5.17.15 with commit 21f1f167d727f3f857e26d509ef5a6d47fd31bc3 |
| Issue introduced in 5.14 with commit a53d1202aef122894b6e46116a92174a9123db5d and fixed in 5.18.4 with commit e277b95acdab84cd5d2f8d537a37aef6d21e988b |
| Issue introduced in 5.14 with commit a53d1202aef122894b6e46116a92174a9123db5d and 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 |