{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99744",
  "modified": "2026-11-24T05:30:02Z",
  "upstream": [
    "CVE-2026-99744"
  ],
  "published": "2026-11-20T05:52:17Z",
  "summary": "net: atl1c: drop oversized RX frames instead of panicking",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: atl1c: drop oversized RX frames instead of panicking\n\natl1c sizes its receive buffers from the netdev MTU plus a fixed set of L2\noverheads, which comes to 1522 bytes at the default MTU.  A link partner\nthat sends a longer frame - in practice a MikroTik CCR2004-1G-2XS-PCIe,\nwhose RouterOS side defaults to l2mtu 1600 while the host stays at MTU 1500\n- makes the length reported by the RX return descriptor exceed what the\nhardware wrote, and skb_put() then either includes bytes that were never\nreceived or trips skb_over_panic and takes the host down.\n\nCompare the descriptor length against buffer_info->length, the length the\nhardware was given, rather than against skb_tailroom(): the skb carries 64\nbytes of slack for the DMA erratum, so tailroom is larger than the DMA\nbuffer and a frame in between would pass the check and still be delivered\nwith a tail the device never wrote.  The same test rejects frames shorter\nthan ETH_HLEN + ETH_FCS_LEN; before this change a reported length below\nETH_FCS_LEN underflowed in skb_put().\n\nThe frame is dropped with kfree_skb_reason(SKB_DROP_REASON_PKT_TOO_BIG) so\ndrop_monitor and the kfree_skb tracepoint see it, and counted through\ndev_core_stats_rx_dropped_inc(), which survives atl1c_get_stats()\noverwriting the hardware counters on every read.  It also counts as work:\natl1c_clean_rfd() has already recycled the RFD, and the refill at the end\nof the poll only runs when work_done is non-zero, so sustained oversized\ntraffic would otherwise drain the ring and stop RX.\n\nTested on a MikroTik CCR2004-1G-2XS-PCIe (4x AR8151) in a Proxmox VE host,\nwith atl1c built from a DKMS tree carrying this change: the l2mtu-1600\ntraffic that panics the stock driver is dropped and counted with the patch\napplied, and received normally once the host MTU is raised to match.\n\nThis complements commit 36c2009d90f2 (\"net: atl1c: fix soft lockup on\nout-of-range tpd_cons read\"), which fixed the TX side of the same\n\"host dies while the card resets\" problem.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.193",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-99744"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2f29680c3f82a50e91b97b3f2eeb72ecd08116bd"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/388e78041d938d87f7fc50921d24e99f1b066a73"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ad02846336d31ee30fd499a6c34b06036522b27a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/be8ef80bbdb914ac0064f8e00400d3959ec80397"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/11c873d6e6a497b5ee3699c63b57b49a882aa580"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/655463ba1de62e7f4893cabfc89fe70d0e33f55d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/18ca06b36c4da8b46859dcd1c9aec557d05bc23a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c4ba1716853de5178a9df785844ebb5e397a80e6"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-11-23T08:12:11Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 7.1,
      "cvss_v3_severity": "High",
      "scenario": "AV:A - The attacker-controlled value is RRS_PKT_SIZE in the RX return descriptor (rrs->word3), written by the MAC from the Ethernet frame a link partner sent. atl1c_intr() schedules NAPI and atl1c_clean_rx() feeds that length to skb_put(). That length is the on-wire frame size, and only a station on this link can present a frame longer than the 1522-byte RX buffer.\nAC:L - atl1c_set_rxbufsize() keeps rx_buffer_len at AT_RX_BUF_SIZE (1522) for the default MTU, and atl1c_configure_mac() programs REG_MTU and REG_RX_BUF_SIZE from it. The attacker sends a longer frame; the tested l2mtu-1600 traffic reaches skb_put() because atl1c_clean_rx() drops a descriptor only when RRS_RX_ERR_SUM or RRS_802_3_LEN_ERR is set, and this frame sets neither.\nPR:N - The frame is accepted under the station address from atl1c_hw_set_mac_addr() or as broadcast because atl1c_start_mac() sets MAC_CTRL_BC_EN. atl1c_intr(), atl1c_intr_rx_tx(), and atl1c_clean_rx() apply no credential check before skb_put() of RRS_PKT_SIZE.\nUI:N - The attacker's frame alone raises the NIC IRQ into atl1c_intr(), which schedules the NAPI poll atl1c_clean_rx(), while the host MTU stays at its default.\nS:U - The panic and the stale skb tail stay in the host kernel that owns the atl1c NIC, the same security authority that received the frame.\nC:L - When RRS_PKT_SIZE is above buffer_info->length (the dma_map_single() length from atl1c_alloc_rx_buffer()) but skb_put() still fits the rx_buffer_len+64 skb, atl1c_clean_rx() includes bytes the MAC never wrote. ip_rcv_core() keeps that tail when tot_len covers it, and ip_forward() sends it onward. The exposed region is the 64-byte DMA-erratum slack.\nI:N - skb_put() only advances skb->tail and skb->len. Device DMA stays inside the buffer_info->length mapping from atl1c_alloc_rx_buffer(), and a length past skb->end stops in skb_over_panic().\nA:H - A descriptor length that makes skb_put() exceed the skb, which the tested link-partner l2mtu of 1600 does, calls skb_over_panic() from atl1c_clean_rx() in the NAPI poll scheduled by atl1c_intr(). BUG() in that softirq brings the host down."
    }
  }
}
