Review reviewHigh

CVE-2022-48637

Linux Linux, linux kernel

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.

CVSS
7.8
EPSS
0.23%
13.5% percentile
CISA KEV
Not listed
Published
2024.04.28
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.23%
Technical severityCVSS 7.8

Vulnerability overview

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.

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 83bb623c968e7351aee5111547693f95f330dc5a < 08483e4c0c83b221b8891434a04cec405dee94a6, >= 83bb623c968e7351aee5111547693f95f330dc5a < 32afa1f23e42cc635ccf4c39f24514d03d1e8338, >= 83bb623c968e7351aee5111547693f95f330dc5a < c31f26c8f69f776759cbbdfb38e40ea91aa0dd65, >= 5.14, >= 5.14 < 5.15.71, >= 5.16 < 5.19.12, 6.0
Fixed versions
5.15.71, 5.19.12

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2022-48637 — Linux Linux, linux kernel | SECUFOCUS NOW