7.1

CVE-2026-99744

net: atl1c: drop oversized RX frames instead of panicking

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 43250ddd75a35d1f7926d989a10fefd30c37eaa7
Version < 2f29680c3f82a50e91b97b3f2eeb72ecd08116bd
Status affected
Version 43250ddd75a35d1f7926d989a10fefd30c37eaa7
Version < 388e78041d938d87f7fc50921d24e99f1b066a73
Status affected
Version 43250ddd75a35d1f7926d989a10fefd30c37eaa7
Version < ad02846336d31ee30fd499a6c34b06036522b27a
Status affected
Version 43250ddd75a35d1f7926d989a10fefd30c37eaa7
Version < be8ef80bbdb914ac0064f8e00400d3959ec80397
Status affected
Version 43250ddd75a35d1f7926d989a10fefd30c37eaa7
Version < 11c873d6e6a497b5ee3699c63b57b49a882aa580
Status affected
Version 43250ddd75a35d1f7926d989a10fefd30c37eaa7
Version < 655463ba1de62e7f4893cabfc89fe70d0e33f55d
Status affected
Version 43250ddd75a35d1f7926d989a10fefd30c37eaa7
Version < 18ca06b36c4da8b46859dcd1c9aec557d05bc23a
Status affected
Version 43250ddd75a35d1f7926d989a10fefd30c37eaa7
Version < c4ba1716853de5178a9df785844ebb5e397a80e6
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 2.6.29
Status affected
Version 0
Version < 2.6.29
Status unaffected
Version <= 5.10.*
Version 5.10.275
Status unaffected
Version <= 5.15.*
Version 5.15.226
Status unaffected
Version <= 6.1.*
Version 6.1.193
Status unaffected
Version <= 6.6.*
Version 6.6.163
Status unaffected
Version <= 6.12.*
Version 6.12.118
Status unaffected
Version <= 6.18.*
Version 6.18.64
Status unaffected
Version <= 7.3.*
Version 7.3.5
Status unaffected
Version <= *
Version 7.4-rc2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.063
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.1 2.8 4.2
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/11c873d6e6a497b5ee3699c63b57b49a882aa580
https://git.kernel.org/stable/c/655463ba1de62e7f4893cabfc89fe70d0e33f55d
https://git.kernel.org/stable/c/18ca06b36c4da8b46859dcd1c9aec557d05bc23a
https://git.kernel.org/stable/c/c4ba1716853de5178a9df785844ebb5e397a80e6
https://git.kernel.org/stable/c/2f29680c3f82a50e91b97b3f2eeb72ecd08116bd
https://git.kernel.org/stable/c/388e78041d938d87f7fc50921d24e99f1b066a73
https://git.kernel.org/stable/c/ad02846336d31ee30fd499a6c34b06036522b27a
https://git.kernel.org/stable/c/be8ef80bbdb914ac0064f8e00400d3959ec80397