Skip to content
Heist/ feed
Back to feed
CriticalFix available

net: atlantic: fix fragment overflow handling in RX path

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net: atlantic: fix fragment overflow handling in RX path The atlantic driver can receive packets with more than MAX_SKB_FRAGS (17) fragments when handling large multi-descriptor packets. This causes an out-of-bounds write in skb_add_rx_frag_netmem() leading to kernel panic. The issue occurs because the driver doesn't check the total number of fragments before calling skb_add_rx_frag(). When a packet requires more than MAX_SKB_FRAGS fragments, the fragment index exceeds the array bounds. Fix by assuming there will be an extra frag if buff->len > AQ_CFG_RX_HDR_SIZE, then all fragments are accounted for. And reusing the existing check to prevent the overflow earlier in the code path. This crash occurred in production with an Aquantia AQC113 10G NIC. Stack trace from production environment: ``` RIP: 0010:skb_add_rx_frag_netmem+0x29/0xd0 Code: 90 f3 0f 1e fa 0f 1f 44 00 00 48 89 f8 41 89 ca 48 89 d7 48 63 ce 8b 90 c0 00 00 00 48 c1 e1 04 48 01 ca 48 03 90 c8 00 00 00 <48> 89 7a 30 44 89 52 3c 44 89 42 38 40 f6 c7 01 75 74 48 89 fa 83 RSP: 0018:ffffa9bec02a8d50 EFLAGS: 00010287 RAX: ffff925b22e80a00 RBX: ffff925ad38d2700 RCX: fffffffe0a0c8000 RDX: ffff9258ea95bac0 RSI: ffff925ae0a0c800 RDI: 0000000000037a40 RBP: 0000000000000024 R08: 0000000000000000 R09: 0000000000000021 R10: 0000000000000848 R11: 0000000000000000 R12: ffffa9bec02a8e24 R13: ffff925ad8615570 R14: 0000000000000000 R15: ffff925b22e80a00 FS: 000000000

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.247, 5.15.197, 6.1.159, 6.12.61, 6.17.11, 6.6.119
CVEs
CVE-2025-68301
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 18:27 UTC · Revision 1

Source evidence

net: atlantic: fix fragment overflow handling in RX path

core-osv · Original source

Published 16 Dec 2025, 15:06 UTC

In the Linux kernel, the following vulnerability has been resolved: net: atlantic: fix fragment overflow handling in RX path The atlantic driver can receive packets with more than MAX_SKB_FRAGS (17) fragments when handling large multi-descriptor packets. This causes an out-of-bounds write in skb_add_rx_frag_netmem() leading to kernel panic. The issue occurs because the driver doesn't check the total number of fragments before calling skb_add_rx_frag(). When a packet requires more than MAX_SKB_FRAGS fragments, the fragment index exceeds the array bounds. Fix by assuming there will be an extra frag if buff->len > AQ_CFG_RX_HDR_SIZE, then all fragments are accounted for. And reusing the existing check to prevent the overflow earlier in the code path. This crash occurred in production with an Aquantia AQC113 10G NIC. Stack trace from production environment: ``` RIP: 0010:skb_add_rx_frag_netmem+0x29/0xd0 Code: 90 f3 0f 1e fa 0f 1f 44 00 00 48 89 f8 41 89 ca 48 89 d7 48 63 ce 8b 90 c0 00 00 00 48 c1 e1 04 48 01 ca 48 03 90 c8 00 00 00 <48> 89 7a 30 44 89 52 3c 44 89 42 38 40 f6 c7 01 75 74 48 89 fa 83 RSP: 0018:ffffa9bec02a8d50 EFLAGS: 00010287 RAX: ffff925b22e80a00 RBX: ffff925ad38d2700 RCX: fffffffe0a0c8000 RDX: ffff9258ea95bac0 RSI: ffff925ae0a0c800 RDI: 0000000000037a40 RBP: 0000000000000024 R08: 0000000000000000 R09: 0000000000000021 R10: 0000000000000848 R11: 0000000000000000 R12: ffffa9bec02a8e24 R13: ffff925ad8615570 R14: 0000000000000000 R15: ffff925b22e80a00 FS: 000000000

osv:CVE-2025-68301

Kernel

Fixed versions: 5.10.247, 5.15.197, 6.1.159, 6.6.119, 6.12.61, 6.17.11

Complete source record
{
  "id": "3f391aa2a6f93ca6ef9db28031f60bbf53fc53777fdb414dc83cab8642ae90e0",
  "url": "https://osv.dev/vulnerability/CVE-2025-68301",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net: atlantic: fix fragment overflow handling in RX path",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net: atlantic: fix fragment overflow handling in RX path The atlantic driver can receive packets with more than MAX_SKB_FRAGS (17) fragments when handling large multi-descriptor packets. This causes an out-of-bounds write in skb_add_rx_frag_netmem() leading to kernel panic. The issue occurs because the driver doesn't check the total number of fragments before calling skb_add_rx_frag(). When a packet requires more than MAX_SKB_FRAGS fragments, the fragment index exceeds the array bounds. Fix by assuming there will be an extra frag if buff->len > AQ_CFG_RX_HDR_SIZE, then all fragments are accounted for. And reusing the existing check to prevent the overflow earlier in the code path. This crash occurred in production with an Aquantia AQC113 10G NIC. Stack trace from production environment: ``` RIP: 0010:skb_add_rx_frag_netmem+0x29/0xd0 Code: 90 f3 0f 1e fa 0f 1f 44 00 00 48 89 f8 41 89 ca 48 89 d7 48 63 ce 8b 90 c0 00 00 00 48 c1 e1 04 48 01 ca 48 03 90 c8 00 00 00 <48> 89 7a 30 44 89 52 3c 44 89 42 38 40 f6 c7 01 75 74 48 89 fa 83 RSP: 0018:ffffa9bec02a8d50 EFLAGS: 00010287 RAX: ffff925b22e80a00 RBX: ffff925ad38d2700 RCX: fffffffe0a0c8000 RDX: ffff9258ea95bac0 RSI: ffff925ae0a0c800 RDI: 0000000000037a40 RBP: 0000000000000024 R08: 0000000000000000 R09: 0000000000000021 R10: 0000000000000848 R11: 0000000000000000 R12: ffffa9bec02a8e24 R13: ffff925ad8615570 R14: 0000000000000000 R15: ffff925b22e80a00 FS: 000000000",
    "evidence": "osv:CVE-2025-68301",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.247",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.197",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.159",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.119",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.61",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.17.11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-68301",
      "aliases": [
        "CVE-2025-68301"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cd66ab20a8f84474564a68fffffd37d998f6c340"
                },
                {
                  "fixed": "34147477eeab24077fcfe9649e282849347d760c"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "948ddbdc56636773401f2cb9c7a932eb9c43ccfd"
                },
                {
                  "fixed": "b0c4d5135b04ea100988e2458c98f2d8564cda16"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6aecbba12b5c90b26dc062af3b9de8c4b3a2f19f"
                },
                {
                  "fixed": "5d6051ea1b0417ae2f06a8440d22e48fbc8f8997"
                },
                {
                  "fixed": "3be37c3c96b16462394fcb8e15e757c691377038"
                },
                {
                  "fixed": "3fd2105e1b7e041cc24be151c9a31a14d5fc50ab"
                },
                {
                  "fixed": "64e47cd1fd631a21bf5a630cebefec6c8fc381cd"
                },
                {
                  "fixed": "5ffcb7b890f61541201461580bb6622ace405aec"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.10.118"
                },
                {
                  "fixed": "5.10.247"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.15.42"
                },
                {
                  "fixed": "5.15.197"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.17.10"
                },
                {
                  "fixed": "5.18"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dd4fb02847e737cc38ca75e708b1a836fba45faf"
                }
              ]
            }
          ],
          "versions": [
            "v5.10.246",
            "v5.10.245",
            "v5.10.244",
            "v5.10.243",
            "v5.10.242",
            "v5.10.241",
            "v5.10.240",
            "v5.10.239",
            "v5.10.238",
            "v5.10.237",
            "v5.10.236",
            "v5.10.235",
            "v5.10.234",
            "v5.10.233",
            "v5.10.232",
            "v5.10.231",
            "v5.10.230",
            "v5.10.229",
            "v5.10.228",
            "v5.10.227",
            "v5.10.226",
            "v5.10.225",
            "v5.10.224",
            "v5.10.223",
            "v5.10.222",
            "v5.10.221",
            "v5.10.220",
            "v5.10.219",
            "v5.10.218",
            "v5.10.217",
            "v5.10.216",
            "v5.10.215",
            "v5.10.214",
            "v5.10.213",
            "v5.10.212",
            "v5.10.211",
            "v5.10.210",
            "v5.10.209",
            "v5.10.208",
            "v5.10.207",
            "v5.10.206",
            "v5.10.205",
            "v5.10.204",
            "v5.10.203",
            "v5.10.202",
            "v5.10.201",
            "v5.10.200",
            "v5.10.199",
            "v5.10.198",
            "v5.10.197",
            "v5.10.196",
            "v5.10.195",
            "v5.10.194",
            "v5.10.193",
            "v5.10.192",
            "v5.10.191",
            "v5.10.190",
            "v5.10.189",
            "v5.10.188",
            "v5.10.187",
            "v5.10.186",
            "v5.10.185",
            "v5.10.184",
            "v5.10.183",
            "v5.10.182",
            "v5.10.181",
            "v5.10.180",
            "v5.10.179",
            "v5.10.178",
            "v5.10.177",
            "v5.10.176",
            "v5.10.175",
            "v5.10.174",
            "v5.10.173",
            "v5.10.172",
            "v5.10.171",
            "v5.10.170",
            "v5.10.169",
            "v5.10.168",
            "v5.10.167",
            "v5.10.166",
            "v5.10.165",
            "v5.10.164",
            "v5.10.163",
            "v5.10.162",
            "v5.10.161",
            "v5.10.160",
            "v5.10.159",
            "v5.10.158",
            "v5.10.157",
            "v5.10.156",
            "v5.10.155",
            "v5.10.154",
            "v5.10.153",
            "v5.10.152",
            "v5.10.151",
            "v5.10.150",
            "v5.10.149",
            "v5.10.148",
            "v5.10.147",
            "v5.10.146",
            "v5.10.145",
            "v5.10.144",
            "v5.10.143",
            "v5.10.142",
            "v5.10.141",
            "v5.10.140",
            "v5.10.139",
            "v5.10.138",
            "v5.10.137",
            "v5.10.136",
            "v5.10.135",
            "v5.10.134",
            "v5.10.133",
            "v5.10.132",
            "v5.10.131",
            "v5.10.130",
            "v5.10.129",
            "v5.10.128",
            "v5.10.127",
            "v5.10.126",
            "v5.10.125",
            "v5.10.124",
            "v5.10.123",
            "v5.10.122",
            "v5.10.121",
            "v5.10.120",
            "v5.10.119",
            "v5.10.118",
            "v5.15.196",
            "v5.15.195",
            "v5.15.194",
            "v5.15.193",
            "v5.15.192",
            "v5.15.191",
            "v5.15.190",
            "v5.15.189",
            "v5.15.188",
            "v5.15.187",
            "v5.15.186",
            "v5.15.185",
            "v5.15.184",
            "v5.15.183",
            "v5.15.182",
            "v5.15.181",
            "v5.15.180",
            "v5.15.179",
            "v5.15.178",
            "v5.15.177",
            "v5.15.176",
            "v5.15.175",
            "v5.15.174",
            "v5.15.173",
            "v5.15.172",
            "v5.15.171",
            "v5.15.170",
            "v5.15.169",
            "v5.15.168",
            "v5.15.167",
            "v5.15.166",
            "v5.15.165",
            "v5.15.164",
            "v5.15.163",
            "v5.15.162",
            "v5.15.161",
            "v5.15.160",
            "v5.15.159",
            "v5.15.158",
            "v5.15.157",
            "v5.15.156",
            "v5.15.155",
            "v5.15.154",
            "v5.15.153",
            "v5.15.152",
            "v5.15.151",
            "v5.15.150",
            "v5.15.149",
            "v5.15.148",
            "v5.15.147",
            "v5.15.146",
            "v5.15.145",
            "v5.15.144",
            "v5.15.143",
            "v5.15.142",
            "v5.15.141",
            "v5.15.140",
            "v5.15.139",
            "v5.15.138",
            "v5.15.137",
            "v5.15.136",
            "v5.15.135",
            "v5.15.134",
            "v5.15.133",
            "v5.15.132",
            "v5.15.131",
            "v5.15.130",
            "v5.15.129",
            "v5.15.128",
            "v5.15.127",
            "v5.15.126",
            "v5.15.125",
            "v5.15.124",
            "v5.15.123",
            "v5.15.122",
            "v5.15.121",
            "v5.15.120",
            "v5.15.119",
            "v5.15.118",
            "v5.15.117",
            "v5.15.116",
            "v5.15.115",
            "v5.15.114",
            "v5.15.113",
            "v5.15.112",
            "v5.15.111",
            "v5.15.110",
            "v5.15.109",
            "v5.15.108",
            "v5.15.107",
            "v5.15.106",
            "v5.15.105",
            "v5.15.104",
            "v5.15.103",
            "v5.15.102",
            "v5.15.101",
            "v5.15.100",
            "v5.15.99",
            "v5.15.98",
            "v5.15.97",
            "v5.15.96",
            "v5.15.95",
            "v5.15.94",
            "v5.15.93",
            "v5.15.92",
            "v5.15.91",
            "v5.15.90",
            "v5.15.89",
            "v5.15.88",
            "v5.15.87",
            "v5.15.86",
            "v5.15.85",
            "v5.15.84",
            "v5.15.83",
            "v5.15.82",
            "v5.15.81",
            "v5.15.80",
            "v5.15.79",
            "v5.15.78",
            "v5.15.77",
            "v5.15.76",
            "v5.15.75",
            "v5.15.74",
            "v5.15.73",
            "v5.15.72",
            "v5.15.71",
            "v5.15.70",
            "v5.15.69",
            "v5.15.68",
            "v5.15.67",
            "v5.15.66",
            "v5.15.65",
            "v5.15.64",
            "v5.15.63",
            "v5.15.62",
            "v5.15.61",
            "v5.15.60",
            "v5.15.59",
            "v5.15.58",
            "v5.15.57",
            "v5.15.56",
            "v5.15.55",
            "v5.15.54",
            "v5.15.53",
            "v5.15.52",
            "v5.15.51",
            "v5.15.50",
            "v5.15.49",
            "v5.15.48",
            "v5.15.47",
            "v5.15.46",
            "v5.15.45",
            "v5.15.44",
            "v5.15.43",
            "v5.15.42",
            "v5.17.15",
            "v5.17.14",
            "v5.17.13",
            "v5.17.12",
            "v5.17.11",
            "v5.17.10"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68301.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.10.247"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.197"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.159"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.18.0"
                },
                {
                  "fixed": "6.6.119"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.12.61"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.17.11"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68301.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.240364877Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/34147477eeab24077fcfe9649e282849347d760c",
        "https://git.kernel.org/stable/c/3be37c3c96b16462394fcb8e15e757c691377038",
        "https://git.kernel.org/stable/c/3fd2105e1b7e041cc24be151c9a31a14d5fc50ab",
        "https://git.kernel.org/stable/c/5d6051ea1b0417ae2f06a8440d22e48fbc8f8997",
        "https://git.kernel.org/stable/c/5ffcb7b890f61541201461580bb6622ace405aec",
        "https://git.kernel.org/stable/c/64e47cd1fd631a21bf5a630cebefec6c8fc381cd",
        "https://git.kernel.org/stable/c/b0c4d5135b04ea100988e2458c98f2d8564cda16",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68301.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-68301",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68301.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-68301",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 488414,
  "published_at": "2025-12-16T15:06:19.688+00:00"
}