| 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-2024-50267: USB: serial: io_edgeport: fix use after free in debug printk |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| USB: serial: io_edgeport: fix use after free in debug printk |
| |
| The "dev_dbg(&urb->dev->dev, ..." which happens after usb_free_urb(urb) |
| is a use after free of the "urb" pointer. Store the "dev" pointer at the |
| start of the function to avoid this issue. |
| |
| The Linux kernel CVE team has assigned CVE-2024-50267 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 3.7 with commit 984f68683298ba53af32f909de1f9452fbb37ccb and fixed in 4.19.324 with commit e6ceb04eeb6115d872d4c4078d12f1170ed755ce |
| Issue introduced in 3.7 with commit 984f68683298ba53af32f909de1f9452fbb37ccb and fixed in 5.4.286 with commit 39709ce93f5c3f9eb535efe2afea088805d1128f |
| Issue introduced in 3.7 with commit 984f68683298ba53af32f909de1f9452fbb37ccb and fixed in 5.10.230 with commit e567fc8f7a4460e486e52c9261b1e8b9f5dc42aa |
| Issue introduced in 3.7 with commit 984f68683298ba53af32f909de1f9452fbb37ccb and fixed in 5.15.172 with commit 44fff2c16c5aafbdb70c7183dae0a415ae74705e |
| Issue introduced in 3.7 with commit 984f68683298ba53af32f909de1f9452fbb37ccb and fixed in 6.1.117 with commit 275258c30bbda29467216e96fb655b16bcc9992b |
| Issue introduced in 3.7 with commit 984f68683298ba53af32f909de1f9452fbb37ccb and fixed in 6.6.61 with commit 13d6ff3ca76056d06a9d88300be2a293442ff595 |
| Issue introduced in 3.7 with commit 984f68683298ba53af32f909de1f9452fbb37ccb and fixed in 6.11.8 with commit 314bdf446053e123f37543aa535197ee75f8aa97 |
| Issue introduced in 3.7 with commit 984f68683298ba53af32f909de1f9452fbb37ccb and fixed in 6.12 with commit 37bb5628379295c1254c113a407cab03a0f4d0b4 |
| |
| 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-2024-50267 |
| 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/usb/serial/io_edgeport.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/e6ceb04eeb6115d872d4c4078d12f1170ed755ce |
| https://git.kernel.org/stable/c/39709ce93f5c3f9eb535efe2afea088805d1128f |
| https://git.kernel.org/stable/c/e567fc8f7a4460e486e52c9261b1e8b9f5dc42aa |
| https://git.kernel.org/stable/c/44fff2c16c5aafbdb70c7183dae0a415ae74705e |
| https://git.kernel.org/stable/c/275258c30bbda29467216e96fb655b16bcc9992b |
| https://git.kernel.org/stable/c/13d6ff3ca76056d06a9d88300be2a293442ff595 |
| https://git.kernel.org/stable/c/314bdf446053e123f37543aa535197ee75f8aa97 |
| https://git.kernel.org/stable/c/37bb5628379295c1254c113a407cab03a0f4d0b4 |