Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
  • Support the projectPage
Back

CVE-2025-22017

devlink: fix xa_alloc_cyclic() error handling

Description

In the Linux kernel, the following vulnerability has been resolved: devlink: 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 (rel). Fix it by checking if err is lower than zero. This wasn't found in real usecase, only noticed. Credit to Pierre.

Timeline

  1. ID reserved

    By Linux

  2. · 3 months later

    Published

  3. · 19 months later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2025-22017, by who scored it
Scored byCVSSScoreVector
NVDNVD · Analyzed3.1Medium5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS (exploitation in 30 days)
0.21% · top 89% of all CVEs (10 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.

Affected products

  • Linux · Linux

    • affected c137743bce02b18c1537d4681aa515f7b80bf0a8 – < f8aaa38cfaf6f20afa4db36b6529032fb69165dc
    • affected c137743bce02b18c1537d4681aa515f7b80bf0a8 – < 466132f6d28a7e47a82501fe1c46b8f90487412e
    • affected c137743bce02b18c1537d4681aa515f7b80bf0a8 – < f3b97b7d4bf316c3991e5634c9f4847c2df35478
  • Linux · Linux

    • affected 6.7
    • unaffected < 6.7
    • unaffected 6.12.21 – ≤ 6.12.*
    • unaffected 6.13.9 – ≤ 6.13.*
    • unaffected 6.14 – ≤ *

References

3

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2025-22017 badge
[![CVE-2025-22017](https://cveledger.app/badge/CVE-2025-22017.svg)](https://cveledger.app/cve/CVE-2025-22017)

Record last updated .