VDB

CVE-2025-22128

CVE-2025-22128 PUBLISHED

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.

PackageEcosystemFixed in
kernel-toolsAmazon Linux6.12.35-55.103.amzn2023
kernel-libbpf-staticAmazon Linux6.12.35-55.103.amzn2023
perf6.12Amazon Linux6.12.35-55.103.amzn2023
kernel-libbpf-develAmazon Linux6.12.35-55.103.amzn2023
kernel-modules-extra-commonAmazon Linux6.12.35-55.103.amzn2023
python3-perf6.12Amazon Linux6.12.35-55.103.amzn2023
kernel-develAmazon Linux6.12.35-55.103.amzn2023
kernel6.12-modules-extraAmazon Linux6.12.35-55.103.amzn2023
kernel-libbpfAmazon Linux6.12.35-55.103.amzn2023
linux_kernellinux6.14.2, 6.12.35
LinuxLinuxb43b1e2c52db77c872bd60d30cdcc72c47df70c7, a69a594794fcad96d4cfce12aab6c5014a12b4c8, 6.8, 35b33ba76765ce9e72949d957f3cf1feafd2955c

Affected products

VendorProductVersions
LinuxLinuxa3012f206d07fa62b5c2e384cbc3a81a4dbba3c9, a3012f206d07fa62b5c2e384cbc3a81a4dbba3c9, a3012f206d07fa62b5c2e384cbc3a81a4dbba3c9
LinuxLinux6.8, 0, 6.12.35
amazon:2023kernel-tools0
amazon:2023kernel-libbpf-static0
amazon:2023perf6.120
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023python3-perf6.120
amazon:2023kernel-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-libbpf0
LinuxLinux6.8, 0, 6.14.2
amazon:2023kernel-tools-devel0
amazon:2023kernel6.120
linuxlinux_kernel6.8, 6.8, 6.8
amazon:2023kernel-livepatch-6.12.35-55.1030
amazon:2023bpftool0
amazon:2023kernel-headers0

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›