dpll: fix xa_alloc_cyclic() error handling
Published Apr 8, 2025
5.5
MEDIUMCVSS 3.1
EPSS 0.19%
Description
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
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.8StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.8
- Version 6.12.21StatusunaffectedConstraints<=6.12.*
- Version 6.13.9StatusunaffectedConstraints<=6.13.*
- Version 6.14StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 6.8 · < 6.12.21
- ≥ 6.13 · < 6.13.9
- 6.14
- 6.14
- 6.14
- 6.14
- 6.14
- 6.14
- 6.14
No data.
Red Hat Enterprise Linux 10
kernel
Fix deferred
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Fix deferred
Red Hat Enterprise Linux 9
kernel-rt
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.19% (0.00195) | 8.30th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.16% (0.00159) | 5.45th | v5 (v2026.06.15) |
| Apr 8, 2025 | 0.02% (0.00017) | 2.02th | v4 (v2025.03.14) |
References (8)
- https://access.redhat.com/security/cve/CVE-2025-22016 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2358232 Issue Tracking
- https://git.kernel.org/stable/c/3614bf90130d60f191a5fe218d04f6251c678e13 Patch
- https://git.kernel.org/stable/c/4d350043be684762e581d9bdd32d543621d01a9c Patch
- https://git.kernel.org/stable/c/cb2f8a5c1fd9e7a1fefa23afe20570e16da1ada4 Patch
- https://lore.kernel.org/linux-cve-announce/2025040844-CVE-2025-22016-ac9d@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2025-22016
- https://www.cve.org/CVERecord?id=CVE-2025-22016
Change history (0)
No recorded changes yet.