CVE-2022-48637

high

Description

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.

References

https://git.kernel.org/stable/c/c31f26c8f69f776759cbbdfb38e40ea91aa0dd65

https://git.kernel.org/stable/c/32afa1f23e42cc635ccf4c39f24514d03d1e8338

https://git.kernel.org/stable/c/08483e4c0c83b221b8891434a04cec405dee94a6

Details

Source: Mitre, NVD

Published: 2024-04-28

Updated: 2024-07-03

Risk Information

CVSS v2

Base Score: 6

Vector: CVSS2#AV:L/AC:H/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High