What’s Vulnerable › Vulnerabilities
CVE-2025-22016: dpll: fix xa_alloc_cyclic() error handling
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-04-08 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: dpll: fix xa_alloc_cyclic() error handling In case of returning 1 from xa_alloc_cyclic() (wrapping) ERR_PTR(1) will be returned, which will cause IS_ERR() to be false. Which can lead to dereference not allocated pointer (pin). Fix it by checking if err is lower than zero. This wasn't found in real usecase, only noticed. Credit to Pierre.
Affected products
- Linux kernel: from 6.8 before 6.12.21; from 6.13 before 6.13.9; 6.14-rc1, 6.14-rc2, 6.14-rc3, 6.14-rc4, 6.14-rc5, 6.14-rc6 (+1) — fixed in 6.12.21, 6.13.9
How to fix
Upgrade to a fixed version: Linux kernel 6.12.21, 6.13.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3614bf90130d60f191a5fe218d04f6251c678e13
- https://git.kernel.org/stable/c/4d350043be684762e581d9bdd32d543621d01a9c
- https://git.kernel.org/stable/c/cb2f8a5c1fd9e7a1fefa23afe20570e16da1ada4
Get alerted when CVE-2025-22016 or the next vulnerability affects your stack