← VULNERABILITIES

CVE-2026-99744

net: atl1c: drop oversized RX frames instead of panicking

High · 7.1Fix available
CVSS
7.1
EPSS
0.32% (p27)
Published
2026-11-20
Age
14d old
Modified
2026-11-23
Product
Linux Linux

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Description

In the Linux kernel, the following vulnerability has been resolved: net: atl1c: drop oversized RX frames instead of panicking atl1c sizes its receive buffers from the netdev MTU plus a fixed set of L2 overheads, which comes to 1522 bytes at the default MTU. A link partner that sends a longer frame - in practice a MikroTik CCR2004-1G-2XS-PCIe, whose RouterOS side defaults to l2mtu 1600 while the host stays at MTU 1500 - makes the length reported by the RX return descriptor exceed what the hardware wrote, and skb_put() then either includes bytes that were never received or trips skb_over_panic and takes the host down. Compare the descriptor length against buffer_info->length, the length the hardware was given, rather than against skb_tailroom(): the skb carries 64 bytes of slack for the DMA erratum, so tailroom is larger than the DMA buffer and a frame in between would pass the check and still be delivered with a tail the device never wrote. The same test rejects frames shorter than ETH_HLEN + ETH_FCS_LEN; before this change a reported length below ETH_FCS_LEN underflowed in skb_put(). The frame is dropped with kfree_skb_reason(SKB_DROP_REASON_PKT_TOO_BIG) so drop_monitor and the kfree_skb tracepoint see it, and counted through dev_core_stats_rx_dropped_inc(), which survives atl1c_get_stats() overwriting the hardware counters on every read. It also counts as work: atl1c_clean_rfd() has already recycled the RFD, and the refill at the end of the poll only runs when work_done is non-zero, so sustained oversized traffic would otherwise drain the ring and stop RX. Tested on a MikroTik CCR2004-1G-2XS-PCIe (4x AR8151) in a Proxmox VE host, with atl1c built from a DKMS tree carrying this change: the l2mtu-1600 traffic that panics the stock driver is dropped and counted with the patch applied, and received normally once the host MTU is raised to match. This complements commit 36c2009d90f2 ("net: atl1c: fix soft lockup on out-of-range tpd_cons read"), which fixed the TX side of the same "host dies while the card resets" problem.

Fixed in

11c873d6e6a497b5ee3699c63b57b49a882aa580 · 18ca06b36c4da8b46859dcd1c9aec557d05bc23a · 2f29680c3f82a50e91b97b3f2eeb72ecd08116bd · 388e78041d938d87f7fc50921d24e99f1b066a73 · 5.10.275 · 5.15.226 · 6.1.193 · 6.12.118 · 6.18.64 · 6.6.163 · 655463ba1de62e7f4893cabfc89fe70d0e33f55d · 7.3.5 · ad02846336d31ee30fd499a6c34b06036522b27a · be8ef80bbdb914ac0064f8e00400d3959ec80397 · c4ba1716853de5178a9df785844ebb5e397a80e6

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=2.6.29, <5.10.2755.10.275
LinuxKernel>=2.6.29, <6.12.1186.12.118
LinuxKernel>=5.11.0, <5.15.2265.15.226
LinuxKernel>=5.16.0, <6.1.1936.1.193
LinuxKernel>=6.13.0, <6.18.646.18.64
LinuxKernel>=6.19.0, <7.3.57.3.5
LinuxKernel>=6.2.0, <6.6.1636.6.163
LinuxKernel>=6.7.0, <6.12.1186.12.118
vendorLinux>=43250ddd75a35d1f7926d989a10fefd30c37eaa7, <11c873d6e6a497b5ee3699c63b57b49a882aa58011c873d6e6a497b5ee3699c63b57b49a882aa580
vendorLinux>=43250ddd75a35d1f7926d989a10fefd30c37eaa7, <18ca06b36c4da8b46859dcd1c9aec557d05bc23a18ca06b36c4da8b46859dcd1c9aec557d05bc23a
vendorLinux>=43250ddd75a35d1f7926d989a10fefd30c37eaa7, <2f29680c3f82a50e91b97b3f2eeb72ecd08116bd2f29680c3f82a50e91b97b3f2eeb72ecd08116bd
vendorLinux>=43250ddd75a35d1f7926d989a10fefd30c37eaa7, <388e78041d938d87f7fc50921d24e99f1b066a73388e78041d938d87f7fc50921d24e99f1b066a73
vendorLinux>=43250ddd75a35d1f7926d989a10fefd30c37eaa7, <655463ba1de62e7f4893cabfc89fe70d0e33f55d655463ba1de62e7f4893cabfc89fe70d0e33f55d
vendorLinux>=43250ddd75a35d1f7926d989a10fefd30c37eaa7, <ad02846336d31ee30fd499a6c34b06036522b27aad02846336d31ee30fd499a6c34b06036522b27a
vendorLinux>=43250ddd75a35d1f7926d989a10fefd30c37eaa7, <be8ef80bbdb914ac0064f8e00400d3959ec80397be8ef80bbdb914ac0064f8e00400d3959ec80397
vendorLinux>=43250ddd75a35d1f7926d989a10fefd30c37eaa7, <c4ba1716853de5178a9df785844ebb5e397a80e6c4ba1716853de5178a9df785844ebb5e397a80e6

Sources

  • NVD · first seen 14d ago · NVD terms of use
  • OSV · first seen 14d ago · CC-BY 4.0
  • CVE List · first seen 14d ago · CVE Terms of Use

References

JSON