Skip to content
Heist/ feed
Back to feed
UnratedFix available

net: fix skb leak in __skb_tstamp_tx()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: net: fix skb leak in __skb_tstamp_tx() Commit 50749f2dd685 ("tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.") added a call to skb_orphan_frags_rx() to fix leaks with zerocopy skbs. But it ended up adding a leak of its own. When skb_orphan_frags_rx() fails, the function just returns, leaking the skb it just cloned. Free it before returning. This bug was discovered and resolved using Coverity Static Analysis Security Testing (SAST) by Synopsys, Inc.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.316, 4.19.284, 5.10.181, 5.15.114, 5.4.244, 6.1.31, 6.3.5
CVEs
CVE-2023-53716
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:57 UTC · Revision 1

Source evidence

net: fix skb leak in __skb_tstamp_tx()

core-osv · Original source

Published 22 Oct 2025, 13:23 UTC

In the Linux kernel, the following vulnerability has been resolved: net: fix skb leak in __skb_tstamp_tx() Commit 50749f2dd685 ("tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.") added a call to skb_orphan_frags_rx() to fix leaks with zerocopy skbs. But it ended up adding a leak of its own. When skb_orphan_frags_rx() fails, the function just returns, leaking the skb it just cloned. Free it before returning. This bug was discovered and resolved using Coverity Static Analysis Security Testing (SAST) by Synopsys, Inc.

osv:CVE-2023-53716

Kernel

Fixed versions: 4.14.316, 4.19.284, 5.4.244, 5.10.181, 5.15.114, 6.1.31, 6.3.5

Complete source record
{
  "id": "86c7a78db784665df87568e180960627544f6527c843d1fbcc4b648b9d205bd0",
  "url": "https://osv.dev/vulnerability/CVE-2023-53716",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net: fix skb leak in __skb_tstamp_tx()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: net: fix skb leak in __skb_tstamp_tx() Commit 50749f2dd685 (\"tcp/udp: Fix memleaks of sk and zerocopy skbs with TX timestamp.\") added a call to skb_orphan_frags_rx() to fix leaks with zerocopy skbs. But it ended up adding a leak of its own. When skb_orphan_frags_rx() fails, the function just returns, leaking the skb it just cloned. Free it before returning. This bug was discovered and resolved using Coverity Static Analysis Security Testing (SAST) by Synopsys, Inc.",
    "evidence": "osv:CVE-2023-53716",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.14.316",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.284",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.244",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.181",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.114",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.31",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.3.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-53716",
      "aliases": [
        "CVE-2023-53716"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "281072fb2a7294cde7acbf5375b879f40a8001b7"
                },
                {
                  "fixed": "82501f1ead557cbee1c2467654ec109a80334d22"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1f69c086b20e27763af28145981435423f088268"
                },
                {
                  "fixed": "779332447108545ef04682ea29af5f85c0202aee"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "602fa8af44fd55a58f9e94eb673e8adad2c6cc46"
                },
                {
                  "fixed": "58766252f6b2c0487cda6976a53d2bb03ae28e2a"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "230a5ed7d813fb516de81d23f09d7506753e41e9"
                },
                {
                  "fixed": "a594382ec6d0cc8cff5a8bc7e61b54e3858fb243"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "43e4197dd5f6b474a8b16f8b6a42cd45cf4f9d1a"
                },
                {
                  "fixed": "e06841a2abf9c82735cee39e88b1d79464088840"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cb52e7f24c1d01a536a847dff0d1d95889cc3b5c"
                },
                {
                  "fixed": "cc18b4685910d5d9de8314bae9c55790701b1811"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "426384dd4980040651536fef5feac4dcc4d7ee4e"
                },
                {
                  "fixed": "f4d928c00254cfc9dd0ee7076f4a59bceec675f4"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "50749f2dd6854a41830996ad302aef2ffaf011d8"
                },
                {
                  "fixed": "8a02fb71d7192ff1a9a47c9d937624966c6e09af"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.2.15"
                },
                {
                  "fixed": "6.3"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "30290f210ba7426ff7592fe2eb4114b1b5bad219"
                }
              ]
            }
          ],
          "versions": [
            "v4.14.315",
            "v4.19.283",
            "v5.4.243",
            "v5.10.180",
            "v5.15.113",
            "v5.15.112",
            "v5.15.111",
            "v6.1.30",
            "v6.1.29",
            "v6.1.28",
            "v6.3.4",
            "v6.3.3",
            "v6.3.2",
            "v6.2.16",
            "v6.2.15"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53716.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.14.315"
                },
                {
                  "fixed": "4.14.316"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.19.283"
                },
                {
                  "fixed": "4.19.284"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.4.243"
                },
                {
                  "fixed": "5.4.244"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.10.180"
                },
                {
                  "fixed": "5.10.181"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.15.111"
                },
                {
                  "fixed": "5.15.114"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.28"
                },
                {
                  "fixed": "6.1.31"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.3.2"
                },
                {
                  "fixed": "6.3.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53716.json"
          }
        }
      ],
      "modified": "2026-10-08T02:48:03.235997538Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/58766252f6b2c0487cda6976a53d2bb03ae28e2a",
        "https://git.kernel.org/stable/c/779332447108545ef04682ea29af5f85c0202aee",
        "https://git.kernel.org/stable/c/82501f1ead557cbee1c2467654ec109a80334d22",
        "https://git.kernel.org/stable/c/8a02fb71d7192ff1a9a47c9d937624966c6e09af",
        "https://git.kernel.org/stable/c/a594382ec6d0cc8cff5a8bc7e61b54e3858fb243",
        "https://git.kernel.org/stable/c/cc18b4685910d5d9de8314bae9c55790701b1811",
        "https://git.kernel.org/stable/c/e06841a2abf9c82735cee39e88b1d79464088840",
        "https://git.kernel.org/stable/c/f4d928c00254cfc9dd0ee7076f4a59bceec675f4",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53716.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53716",
        "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/2023/53xxx/CVE-2023-53716.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53716",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 98262,
  "published_at": "2025-10-22T13:23:49.536+00:00"
}