CVE-2023-53501
iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbind
Reported by linux · Published October 1, 2025
In the Linux kernel, the following vulnerability has been resolved: iommu/amd/iommu_v2: Fix pasid_state refcount dec hit 0 warning on pasid unbind When unbinding pasid - a race condition exists vs outstanding page faults. To prevent this, the pasid_state object contains a refcount. * set to 1 on pasid bind * incremented on each ppr notification start * decremented on each ppr notification done * decremented on pasid unbind Since refcount_dec assumes that refcount will never reach 0: the current implementation causes the following to be invoked on pasid unbind: REFCOUNT_WARN("decrement hit 0; leaking memory") Fix this issue by changing refcount_dec to refcount_dec_and_test to explicitly handle refcount=1.
EPSS 0.15% · 4.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf | errata.rockylinux.org | 4.18.0-553.123.1.el8 |
| kernel-libbpf-static | Amazon Linux | 6.1.55-75.123.amzn2023 |
| bpftool | Amazon Linux | 6.1.55-75.123.amzn2023 |
| python3-perf | Amazon Linux | 6.1.55-75.123.amzn2023 |
| kernel-abi-stablelists | errata.rockylinux.org | 4.18.0-553.123.1.el8 |
| kernel | errata.rockylinux.org | 4.18.0-553.123.1.el8 |
| kernel-tools | errata.rockylinux.org | 4.18.0-553.123.1.el8 |
| kernel-libbpf-devel | Amazon Linux | 6.1.55-75.123.amzn2023 |
| kernel-tools-libs | errata.rockylinux.org | 4.18.0-553.123.1.el8 |
| kernel-debug-devel | errata.rockylinux.org | 4.18.0-553.123.1.el8 |
| kernel-livepatch-6.1.55-75.123 | Amazon Linux | 1.0-0.amzn2023 |
| python3-perf-debuginfo | errata.rockylinux.org | 4.18.0-553.123.1.el8 |
3 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8bc54824da4e8fcf0ed679cf09ac32f23d83254a, 8bc54824da4e8fcf0ed679cf09ac32f23d83254a, 8bc54824da4e8fcf0ed679cf09ac32f23d83254a |
| Linux | Linux | 5.15, 0, 5.15.132 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.55-75.123 | 0 |
| amazon:2023 | kernel-devel | 0 |
| Linux | Linux | 8bc54824da4e8fcf0ed679cf09ac32f23d83254a, 8bc54824da4e8fcf0ed679cf09ac32f23d83254a, 8bc54824da4e8fcf0ed679cf09ac32f23d83254a |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
Timeline
- Oct 1, 2025 CVE Published
- Oct 4, 2025 Coalition ESS Score (6 in total, the first dated here)
- Oct 8, 2025 EPSS Score (29 in total, the first dated here)
- Oct 12, 2025 PoC Published (6 in total, the first dated here)
- Jan 24, 2026 Security Advisory (43 in total, the first dated here)
- Oct 7, 2026 Distribution Patch (33 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-53501
vulnetix vdb fixes CVE-2023-53501
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-53501/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart