VDB

CVE-2025-22016

CVE-2025-22016 PUBLISHED

dpll: fix xa_alloc_cyclic() error handling

Reported by linux · Published April 8, 2025

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

VendorProductVersions
LinuxLinux97f265ef7f5b526b33d6030b2a1fc69a2259bf4a, 97f265ef7f5b526b33d6030b2a1fc69a2259bf4a, 97f265ef7f5b526b33d6030b2a1fc69a2259bf4a
LinuxLinux6.8, 0, 6.12.21
linuxlinux_kernel6.8, 6.8, 6.8
LinuxLinux97f265ef7f5b526b33d6030b2a1fc69a2259bf4a, 97f265ef7f5b526b33d6030b2a1fc69a2259bf4a, 97f265ef7f5b526b33d6030b2a1fc69a2259bf4a

Timeline

  • Apr 7, 2025 CVE Published
  • Apr 8, 2025 EPSS Score (30 in total, the first dated here)
  • May 10, 2025 Coalition ESS Score (7 in total, the first dated here)
  • Dec 21, 2025 Security Advisory (107 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (104 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-22016
vulnetix vdb fixes CVE-2025-22016

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-22016/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 ›