| 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-50168: net/sun3_82586: fix potential memory leak in sun3_82586_send_packet() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| net/sun3_82586: fix potential memory leak in sun3_82586_send_packet() |
| |
| The sun3_82586_send_packet() returns NETDEV_TX_OK without freeing skb |
| in case of skb->len being too long, add dev_kfree_skb() to fix it. |
| |
| The Linux kernel CVE team has assigned CVE-2024-50168 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 4.19.323 with commit 137010d26dc5cd47cd62fef77cbe952d31951b7a |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.4.285 with commit 8d5b20fbc548650019afa96822b6a33ea4ec8aa5 |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.229 with commit db755e55349045375c5c7036e8650afb3ff419d8 |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.170 with commit 9c6ce55e6f0bd1541f112833006b4052614c7d94 |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.115 with commit 1a17a4ac2d57102497fac53b53c666dba6a0c20d |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.59 with commit 6dc937a3086e344f965ca5c459f8f3eb6b68d890 |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.11.6 with commit 84f2bac74000dbb7a177d9b98a17031ec8d07ec5 |
| Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12 with commit 2cb3f56e827abb22c4168ad0c1bbbf401bb2f3b8 |
| |
| 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-50168 |
| 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/ethernet/i825xx/sun3_82586.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/137010d26dc5cd47cd62fef77cbe952d31951b7a |
| https://git.kernel.org/stable/c/8d5b20fbc548650019afa96822b6a33ea4ec8aa5 |
| https://git.kernel.org/stable/c/db755e55349045375c5c7036e8650afb3ff419d8 |
| https://git.kernel.org/stable/c/9c6ce55e6f0bd1541f112833006b4052614c7d94 |
| https://git.kernel.org/stable/c/1a17a4ac2d57102497fac53b53c666dba6a0c20d |
| https://git.kernel.org/stable/c/6dc937a3086e344f965ca5c459f8f3eb6b68d890 |
| https://git.kernel.org/stable/c/84f2bac74000dbb7a177d9b98a17031ec8d07ec5 |
| https://git.kernel.org/stable/c/2cb3f56e827abb22c4168ad0c1bbbf401bb2f3b8 |