CVE-2025-22128
wifi: ath12k: Clear affinity hint before calling ath12k_pci_free_irq() in error path
Reported by linux · Published April 16, 2025
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Clear affinity hint before calling ath12k_pci_free_irq() in error path If a shared IRQ is used by the driver due to platform limitation, then the IRQ affinity hint is set right after the allocation of IRQ vectors in ath12k_pci_msi_alloc(). This does no harm unless one of the functions requesting the IRQ fails and attempt to free the IRQ. This may end up with a warning from the IRQ core that is expecting the affinity hint to be cleared before freeing the IRQ: kernel/irq/manage.c: /* make sure affinity_hint is cleaned up */ if (WARN_ON_ONCE(desc->affinity_hint)) desc->affinity_hint = NULL; So to fix this issue, clear the IRQ affinity hint before calling ath12k_pci_free_irq() in the error path. The affinity will be cleared once again further down the error path due to code organization, but that does no harm.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.12.35-55.103.amzn2023 |
| perf6.12 | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 6.12.35-55.103.amzn2023 |
| python3-perf6.12 | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-devel | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 6.12.35-55.103.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.12.35-55.103.amzn2023 |
| linux_kernel | linux | 6.14.2, 6.12.35 |
| Linux | Linux | b43b1e2c52db77c872bd60d30cdcc72c47df70c7, a69a594794fcad96d4cfce12aab6c5014a12b4c8, 6.8, 35b33ba76765ce9e72949d957f3cf1feafd2955c |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | a3012f206d07fa62b5c2e384cbc3a81a4dbba3c9, a3012f206d07fa62b5c2e384cbc3a81a4dbba3c9, a3012f206d07fa62b5c2e384cbc3a81a4dbba3c9 |
| Linux | Linux | 6.8, 0, 6.12.35 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| Linux | Linux | 6.8, 0, 6.14.2 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| linux | linux_kernel | 6.8, 6.8, 6.8 |
| amazon:2023 | kernel-livepatch-6.12.35-55.103 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-headers | 0 |
Timeline
- Apr 16, 2025 CVE Published
- Apr 17, 2025 EPSS Score (30 in total, the first dated here)
- Apr 25, 2025 Coalition ESS Score (18 in total, the first dated here)
- Dec 21, 2025 Security Advisory (283 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (276 in total, the first dated here)
- Nov 2, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-22128
vulnetix vdb fixes CVE-2025-22128
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-2025-22128/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart