CVE-2023-53354 (GCVE-0-2023-53354)

Vulnerability from cvelistv5 – Published: 2025-09-17 14:56 – Updated: 2026-01-14 18:43
VLAI?
Title
skbuff: skb_segment, Call zero copy functions before using skbuff frags
Summary
In the Linux kernel, the following vulnerability has been resolved: skbuff: skb_segment, Call zero copy functions before using skbuff frags Commit bf5c25d60861 ("skbuff: in skb_segment, call zerocopy functions once per nskb") added the call to zero copy functions in skb_segment(). The change introduced a bug in skb_segment() because skb_orphan_frags() may possibly change the number of fragments or allocate new fragments altogether leaving nrfrags and frag to point to the old values. This can cause a panic with stacktrace like the one below. [ 193.894380] BUG: kernel NULL pointer dereference, address: 00000000000000bc [ 193.895273] CPU: 13 PID: 18164 Comm: vh-net-17428 Kdump: loaded Tainted: G O 5.15.123+ #26 [ 193.903919] RIP: 0010:skb_segment+0xb0e/0x12f0 [ 194.021892] Call Trace: [ 194.027422] <TASK> [ 194.072861] tcp_gso_segment+0x107/0x540 [ 194.082031] inet_gso_segment+0x15c/0x3d0 [ 194.090783] skb_mac_gso_segment+0x9f/0x110 [ 194.095016] __skb_gso_segment+0xc1/0x190 [ 194.103131] netem_enqueue+0x290/0xb10 [sch_netem] [ 194.107071] dev_qdisc_enqueue+0x16/0x70 [ 194.110884] __dev_queue_xmit+0x63b/0xb30 [ 194.121670] bond_start_xmit+0x159/0x380 [bonding] [ 194.128506] dev_hard_start_xmit+0xc3/0x1e0 [ 194.131787] __dev_queue_xmit+0x8a0/0xb30 [ 194.138225] macvlan_start_xmit+0x4f/0x100 [macvlan] [ 194.141477] dev_hard_start_xmit+0xc3/0x1e0 [ 194.144622] sch_direct_xmit+0xe3/0x280 [ 194.147748] __dev_queue_xmit+0x54a/0xb30 [ 194.154131] tap_get_user+0x2a8/0x9c0 [tap] [ 194.157358] tap_sendmsg+0x52/0x8e0 [tap] [ 194.167049] handle_tx_zerocopy+0x14e/0x4c0 [vhost_net] [ 194.173631] handle_tx+0xcd/0xe0 [vhost_net] [ 194.176959] vhost_worker+0x76/0xb0 [vhost] [ 194.183667] kthread+0x118/0x140 [ 194.190358] ret_from_fork+0x1f/0x30 [ 194.193670] </TASK> In this case calling skb_orphan_frags() updated nr_frags leaving nrfrags local variable in skb_segment() stale. This resulted in the code hitting i >= nrfrags prematurely and trying to move to next frag_skb using list_skb pointer, which was NULL, and caused kernel panic. Move the call to zero copy functions before using frags and nr_frags.
CWE
  • CWE-476 - NULL Pointer Dereference
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: bf5c25d608613eaf4dcdba5a9cac5b2afe67d635 , < fcab3f661dbfd88e27ddbbe65368f3fa2d823175 (git)
Affected: bf5c25d608613eaf4dcdba5a9cac5b2afe67d635 , < d44403ec0676317b7f7edf2a035bb219fee3304e (git)
Affected: bf5c25d608613eaf4dcdba5a9cac5b2afe67d635 , < 8836c266201c29a5acb4f582227686f47b65ad61 (git)
Affected: bf5c25d608613eaf4dcdba5a9cac5b2afe67d635 , < d5790386595d06ea9decfd9ba5f1ea48cf09aa02 (git)
Affected: bf5c25d608613eaf4dcdba5a9cac5b2afe67d635 , < 04c3eee4e13f60bf6f9a366ad39f88a01a57166e (git)
Affected: bf5c25d608613eaf4dcdba5a9cac5b2afe67d635 , < f99006e840a4dbc8f5a34cecc6b5b26c73ef49bb (git)
Affected: bf5c25d608613eaf4dcdba5a9cac5b2afe67d635 , < 6c26ed3c6abe86ddab0510529000b970b05c9b40 (git)
Affected: bf5c25d608613eaf4dcdba5a9cac5b2afe67d635 , < 2ea35288c83b3d501a88bc17f2df8f176b5cc96f (git)
Create a notification for this product.
    Linux Linux Affected: 4.16
Unaffected: 0 , < 4.16 (semver)
Unaffected: 4.19.295 , ≤ 4.19.* (semver)
Unaffected: 5.4.257 , ≤ 5.4.* (semver)
Unaffected: 5.10.195 , ≤ 5.10.* (semver)
Unaffected: 5.15.132 , ≤ 5.15.* (semver)
Unaffected: 6.1.53 , ≤ 6.1.* (semver)
Unaffected: 6.4.16 , ≤ 6.4.* (semver)
Unaffected: 6.5.3 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2023-53354",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-01-14T18:42:19.915192Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-476",
                "description": "CWE-476 NULL Pointer Dereference",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-01-14T18:43:04.063Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/core/skbuff.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "fcab3f661dbfd88e27ddbbe65368f3fa2d823175",
              "status": "affected",
              "version": "bf5c25d608613eaf4dcdba5a9cac5b2afe67d635",
              "versionType": "git"
            },
            {
              "lessThan": "d44403ec0676317b7f7edf2a035bb219fee3304e",
              "status": "affected",
              "version": "bf5c25d608613eaf4dcdba5a9cac5b2afe67d635",
              "versionType": "git"
            },
            {
              "lessThan": "8836c266201c29a5acb4f582227686f47b65ad61",
              "status": "affected",
              "version": "bf5c25d608613eaf4dcdba5a9cac5b2afe67d635",
              "versionType": "git"
            },
            {
              "lessThan": "d5790386595d06ea9decfd9ba5f1ea48cf09aa02",
              "status": "affected",
              "version": "bf5c25d608613eaf4dcdba5a9cac5b2afe67d635",
              "versionType": "git"
            },
            {
              "lessThan": "04c3eee4e13f60bf6f9a366ad39f88a01a57166e",
              "status": "affected",
              "version": "bf5c25d608613eaf4dcdba5a9cac5b2afe67d635",
              "versionType": "git"
            },
            {
              "lessThan": "f99006e840a4dbc8f5a34cecc6b5b26c73ef49bb",
              "status": "affected",
              "version": "bf5c25d608613eaf4dcdba5a9cac5b2afe67d635",
              "versionType": "git"
            },
            {
              "lessThan": "6c26ed3c6abe86ddab0510529000b970b05c9b40",
              "status": "affected",
              "version": "bf5c25d608613eaf4dcdba5a9cac5b2afe67d635",
              "versionType": "git"
            },
            {
              "lessThan": "2ea35288c83b3d501a88bc17f2df8f176b5cc96f",
              "status": "affected",
              "version": "bf5c25d608613eaf4dcdba5a9cac5b2afe67d635",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/core/skbuff.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.16"
            },
            {
              "lessThan": "4.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.295",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.132",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.295",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.195",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.132",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.53",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.16",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.3",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nskbuff: skb_segment, Call zero copy functions before using skbuff frags\n\nCommit bf5c25d60861 (\"skbuff: in skb_segment, call zerocopy functions\nonce per nskb\") added the call to zero copy functions in skb_segment().\nThe change introduced a bug in skb_segment() because skb_orphan_frags()\nmay possibly change the number of fragments or allocate new fragments\naltogether leaving nrfrags and frag to point to the old values. This can\ncause a panic with stacktrace like the one below.\n\n[  193.894380] BUG: kernel NULL pointer dereference, address: 00000000000000bc\n[  193.895273] CPU: 13 PID: 18164 Comm: vh-net-17428 Kdump: loaded Tainted: G           O      5.15.123+ #26\n[  193.903919] RIP: 0010:skb_segment+0xb0e/0x12f0\n[  194.021892] Call Trace:\n[  194.027422]  \u003cTASK\u003e\n[  194.072861]  tcp_gso_segment+0x107/0x540\n[  194.082031]  inet_gso_segment+0x15c/0x3d0\n[  194.090783]  skb_mac_gso_segment+0x9f/0x110\n[  194.095016]  __skb_gso_segment+0xc1/0x190\n[  194.103131]  netem_enqueue+0x290/0xb10 [sch_netem]\n[  194.107071]  dev_qdisc_enqueue+0x16/0x70\n[  194.110884]  __dev_queue_xmit+0x63b/0xb30\n[  194.121670]  bond_start_xmit+0x159/0x380 [bonding]\n[  194.128506]  dev_hard_start_xmit+0xc3/0x1e0\n[  194.131787]  __dev_queue_xmit+0x8a0/0xb30\n[  194.138225]  macvlan_start_xmit+0x4f/0x100 [macvlan]\n[  194.141477]  dev_hard_start_xmit+0xc3/0x1e0\n[  194.144622]  sch_direct_xmit+0xe3/0x280\n[  194.147748]  __dev_queue_xmit+0x54a/0xb30\n[  194.154131]  tap_get_user+0x2a8/0x9c0 [tap]\n[  194.157358]  tap_sendmsg+0x52/0x8e0 [tap]\n[  194.167049]  handle_tx_zerocopy+0x14e/0x4c0 [vhost_net]\n[  194.173631]  handle_tx+0xcd/0xe0 [vhost_net]\n[  194.176959]  vhost_worker+0x76/0xb0 [vhost]\n[  194.183667]  kthread+0x118/0x140\n[  194.190358]  ret_from_fork+0x1f/0x30\n[  194.193670]  \u003c/TASK\u003e\n\nIn this case calling skb_orphan_frags() updated nr_frags leaving nrfrags\nlocal variable in skb_segment() stale. This resulted in the code hitting\ni \u003e= nrfrags prematurely and trying to move to next frag_skb using\nlist_skb pointer, which was NULL, and caused kernel panic. Move the call\nto zero copy functions before using frags and nr_frags."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-17T14:56:44.388Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/fcab3f661dbfd88e27ddbbe65368f3fa2d823175"
        },
        {
          "url": "https://git.kernel.org/stable/c/d44403ec0676317b7f7edf2a035bb219fee3304e"
        },
        {
          "url": "https://git.kernel.org/stable/c/8836c266201c29a5acb4f582227686f47b65ad61"
        },
        {
          "url": "https://git.kernel.org/stable/c/d5790386595d06ea9decfd9ba5f1ea48cf09aa02"
        },
        {
          "url": "https://git.kernel.org/stable/c/04c3eee4e13f60bf6f9a366ad39f88a01a57166e"
        },
        {
          "url": "https://git.kernel.org/stable/c/f99006e840a4dbc8f5a34cecc6b5b26c73ef49bb"
        },
        {
          "url": "https://git.kernel.org/stable/c/6c26ed3c6abe86ddab0510529000b970b05c9b40"
        },
        {
          "url": "https://git.kernel.org/stable/c/2ea35288c83b3d501a88bc17f2df8f176b5cc96f"
        }
      ],
      "title": "skbuff: skb_segment, Call zero copy functions before using skbuff frags",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53354",
    "datePublished": "2025-09-17T14:56:44.388Z",
    "dateReserved": "2025-09-16T16:08:59.567Z",
    "dateUpdated": "2026-01-14T18:43:04.063Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.5, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2023-53354\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-01-14T18:42:19.915192Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-476\", \"description\": \"CWE-476 NULL Pointer Dereference\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-01-14T18:42:15.924Z\"}}], \"cna\": {\"title\": \"skbuff: skb_segment, Call zero copy functions before using skbuff frags\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"bf5c25d608613eaf4dcdba5a9cac5b2afe67d635\", \"lessThan\": \"fcab3f661dbfd88e27ddbbe65368f3fa2d823175\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bf5c25d608613eaf4dcdba5a9cac5b2afe67d635\", \"lessThan\": \"d44403ec0676317b7f7edf2a035bb219fee3304e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bf5c25d608613eaf4dcdba5a9cac5b2afe67d635\", \"lessThan\": \"8836c266201c29a5acb4f582227686f47b65ad61\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bf5c25d608613eaf4dcdba5a9cac5b2afe67d635\", \"lessThan\": \"d5790386595d06ea9decfd9ba5f1ea48cf09aa02\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bf5c25d608613eaf4dcdba5a9cac5b2afe67d635\", \"lessThan\": \"04c3eee4e13f60bf6f9a366ad39f88a01a57166e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bf5c25d608613eaf4dcdba5a9cac5b2afe67d635\", \"lessThan\": \"f99006e840a4dbc8f5a34cecc6b5b26c73ef49bb\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bf5c25d608613eaf4dcdba5a9cac5b2afe67d635\", \"lessThan\": \"6c26ed3c6abe86ddab0510529000b970b05c9b40\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"bf5c25d608613eaf4dcdba5a9cac5b2afe67d635\", \"lessThan\": \"2ea35288c83b3d501a88bc17f2df8f176b5cc96f\", \"versionType\": \"git\"}], \"programFiles\": [\"net/core/skbuff.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.16\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.16\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.19.295\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.257\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.195\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.132\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.53\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.4.16\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.4.*\"}, {\"status\": \"unaffected\", \"version\": \"6.5.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.5.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/core/skbuff.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/fcab3f661dbfd88e27ddbbe65368f3fa2d823175\"}, {\"url\": \"https://git.kernel.org/stable/c/d44403ec0676317b7f7edf2a035bb219fee3304e\"}, {\"url\": \"https://git.kernel.org/stable/c/8836c266201c29a5acb4f582227686f47b65ad61\"}, {\"url\": \"https://git.kernel.org/stable/c/d5790386595d06ea9decfd9ba5f1ea48cf09aa02\"}, {\"url\": \"https://git.kernel.org/stable/c/04c3eee4e13f60bf6f9a366ad39f88a01a57166e\"}, {\"url\": \"https://git.kernel.org/stable/c/f99006e840a4dbc8f5a34cecc6b5b26c73ef49bb\"}, {\"url\": \"https://git.kernel.org/stable/c/6c26ed3c6abe86ddab0510529000b970b05c9b40\"}, {\"url\": \"https://git.kernel.org/stable/c/2ea35288c83b3d501a88bc17f2df8f176b5cc96f\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nskbuff: skb_segment, Call zero copy functions before using skbuff frags\\n\\nCommit bf5c25d60861 (\\\"skbuff: in skb_segment, call zerocopy functions\\nonce per nskb\\\") added the call to zero copy functions in skb_segment().\\nThe change introduced a bug in skb_segment() because skb_orphan_frags()\\nmay possibly change the number of fragments or allocate new fragments\\naltogether leaving nrfrags and frag to point to the old values. This can\\ncause a panic with stacktrace like the one below.\\n\\n[  193.894380] BUG: kernel NULL pointer dereference, address: 00000000000000bc\\n[  193.895273] CPU: 13 PID: 18164 Comm: vh-net-17428 Kdump: loaded Tainted: G           O      5.15.123+ #26\\n[  193.903919] RIP: 0010:skb_segment+0xb0e/0x12f0\\n[  194.021892] Call Trace:\\n[  194.027422]  \u003cTASK\u003e\\n[  194.072861]  tcp_gso_segment+0x107/0x540\\n[  194.082031]  inet_gso_segment+0x15c/0x3d0\\n[  194.090783]  skb_mac_gso_segment+0x9f/0x110\\n[  194.095016]  __skb_gso_segment+0xc1/0x190\\n[  194.103131]  netem_enqueue+0x290/0xb10 [sch_netem]\\n[  194.107071]  dev_qdisc_enqueue+0x16/0x70\\n[  194.110884]  __dev_queue_xmit+0x63b/0xb30\\n[  194.121670]  bond_start_xmit+0x159/0x380 [bonding]\\n[  194.128506]  dev_hard_start_xmit+0xc3/0x1e0\\n[  194.131787]  __dev_queue_xmit+0x8a0/0xb30\\n[  194.138225]  macvlan_start_xmit+0x4f/0x100 [macvlan]\\n[  194.141477]  dev_hard_start_xmit+0xc3/0x1e0\\n[  194.144622]  sch_direct_xmit+0xe3/0x280\\n[  194.147748]  __dev_queue_xmit+0x54a/0xb30\\n[  194.154131]  tap_get_user+0x2a8/0x9c0 [tap]\\n[  194.157358]  tap_sendmsg+0x52/0x8e0 [tap]\\n[  194.167049]  handle_tx_zerocopy+0x14e/0x4c0 [vhost_net]\\n[  194.173631]  handle_tx+0xcd/0xe0 [vhost_net]\\n[  194.176959]  vhost_worker+0x76/0xb0 [vhost]\\n[  194.183667]  kthread+0x118/0x140\\n[  194.190358]  ret_from_fork+0x1f/0x30\\n[  194.193670]  \u003c/TASK\u003e\\n\\nIn this case calling skb_orphan_frags() updated nr_frags leaving nrfrags\\nlocal variable in skb_segment() stale. This resulted in the code hitting\\ni \u003e= nrfrags prematurely and trying to move to next frag_skb using\\nlist_skb pointer, which was NULL, and caused kernel panic. Move the call\\nto zero copy functions before using frags and nr_frags.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.295\", \"versionStartIncluding\": \"4.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.257\", \"versionStartIncluding\": \"4.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.195\", \"versionStartIncluding\": \"4.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.132\", \"versionStartIncluding\": \"4.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.53\", \"versionStartIncluding\": \"4.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.4.16\", \"versionStartIncluding\": \"4.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.5.3\", \"versionStartIncluding\": \"4.16\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6\", \"versionStartIncluding\": \"4.16\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-09-17T14:56:44.388Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2023-53354\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-14T18:43:04.063Z\", \"dateReserved\": \"2025-09-16T16:08:59.567Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-09-17T14:56:44.388Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…