| From bippy-1.1.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2023-53068: net: usb: lan78xx: Limit packet length to skb->len |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| net: usb: lan78xx: Limit packet length to skb->len |
| |
| Packet length retrieved from descriptor may be larger than |
| the actual socket buffer length. In such case the cloned |
| skb passed up the network stack will leak kernel memory contents. |
| |
| Additionally prevent integer underflow when size is less than |
| ETH_FCS_LEN. |
| |
| The Linux kernel CVE team has assigned CVE-2023-53068 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 4.3 with commit 55d7de9de6c30adce8d675c7ce513e283829c2ff and fixed in 6.1.22 with commit 83de34967473ed31d276381373713cc2869a42e5 |
| Issue introduced in 4.3 with commit 55d7de9de6c30adce8d675c7ce513e283829c2ff and fixed in 6.2.9 with commit 44b9ed73369fc5ec85dd2ee487e986301792a82d |
| Issue introduced in 4.3 with commit 55d7de9de6c30adce8d675c7ce513e283829c2ff and fixed in 6.3 with commit 7f247f5a2c18b3f21206cdd51193df4f38e1b9f5 |
| |
| 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-2023-53068 |
| 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/net/usb/lan78xx.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/83de34967473ed31d276381373713cc2869a42e5 |
| https://git.kernel.org/stable/c/44b9ed73369fc5ec85dd2ee487e986301792a82d |
| https://git.kernel.org/stable/c/7f247f5a2c18b3f21206cdd51193df4f38e1b9f5 |