CVE-2022-48637

Source
https://cve.org/CVERecord?id=CVE-2022-48637
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48637.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48637
Downstream
Related
Published
2024-04-28T12:59:33.285Z
Modified
2026-03-14T11:56:15.279107Z
Summary
bnxt: prevent skb UAF after handing over to PTP worker
Details

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 bnxttxint() 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 devkfreeskb_any() accepts NULL make the loss of ownership more obvious and set skb to NULL.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48637.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.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"