Skip to content
Heist/ feed
Back to feed
HighFix available

bnxt: prevent skb UAF after handing over to PTP worker

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: bnxt: prevent skb UAF after handing over to PTP worker When reading the timestamp is required bnxt_tx_int() hands over the ownership of the completed skb to the PTP worker. The skb should not be used afterwards, as the worker may run before the rest of our code and free the skb, leading to a use-after-free. Since dev_kfree_skb_any() accepts NULL make the loss of ownership more obvious and set skb to NULL.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.71, 5.19.12
CVEs
CVE-2022-48637
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 05:30 UTC · Revision 1

Source evidence

bnxt: prevent skb UAF after handing over to PTP worker

core-osv · Original source

Published 28 Apr 2024, 12:59 UTC

In the Linux kernel, the following vulnerability has been resolved: bnxt: prevent skb UAF after handing over to PTP worker When reading the timestamp is required bnxt_tx_int() hands over the ownership of the completed skb to the PTP worker. The skb should not be used afterwards, as the worker may run before the rest of our code and free the skb, leading to a use-after-free. Since dev_kfree_skb_any() accepts NULL make the loss of ownership more obvious and set skb to NULL.

osv:CVE-2022-48637

Kernel

Fixed versions: 5.15.71, 5.19.12

Complete source record
{
  "id": "68133b8c8cadf4b5daf6cdda5e16bb6d65a634a051db609ae1670c46621bd5d1",
  "url": "https://osv.dev/vulnerability/CVE-2022-48637",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "bnxt: prevent skb UAF after handing over to PTP worker",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: bnxt: prevent skb UAF after handing over to PTP worker When reading the timestamp is required bnxt_tx_int() hands over the ownership of the completed skb to the PTP worker. The skb should not be used afterwards, as the worker may run before the rest of our code and free the skb, leading to a use-after-free. Since dev_kfree_skb_any() accepts NULL make the loss of ownership more obvious and set skb to NULL.",
    "evidence": "osv:CVE-2022-48637",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.71",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.19.12",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-48637",
      "aliases": [
        "CVE-2022-48637"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/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": "83bb623c968e7351aee5111547693f95f330dc5a"
                },
                {
                  "fixed": "08483e4c0c83b221b8891434a04cec405dee94a6"
                },
                {
                  "fixed": "32afa1f23e42cc635ccf4c39f24514d03d1e8338"
                },
                {
                  "fixed": "c31f26c8f69f776759cbbdfb38e40ea91aa0dd65"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48637.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.14.0"
                },
                {
                  "fixed": "5.15.71"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.19.12"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48637.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.199491836Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/08483e4c0c83b221b8891434a04cec405dee94a6",
        "https://git.kernel.org/stable/c/32afa1f23e42cc635ccf4c39f24514d03d1e8338",
        "https://git.kernel.org/stable/c/c31f26c8f69f776759cbbdfb38e40ea91aa0dd65",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48637.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-48637",
        "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/2022/48xxx/CVE-2022-48637.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-48637",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492741,
  "published_at": "2024-04-28T12:59:33.285+00:00"
}