Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-22017— devlink: fix xa_alloc_cyclic() error handling

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于xa_alloc_cyclic错误处理,可能导致未分配指针被引用。

AI Predicted 3.3 Difficulty: Theoretical EPSS 0.20% · P9

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 8

VendorProduct Version RangeStatus
Linux Linux c137743bce02b18c1537d4681aa515f7b80bf0a8< f8aaa38cfaf6f20afa4db36b6529032fb69165dc affected
c137743bce02b18c1537d4681aa515f7b80bf0a8< 466132f6d28a7e47a82501fe1c46b8f90487412e affected
c137743bce02b18c1537d4681aa515f7b80bf0a8< f3b97b7d4bf316c3991e5634c9f4847c2df35478 affected
6.7 affected
< 6.7 unaffected
6.12.21≤ 6.12.* unaffected
6.13.9≤ 6.13.* unaffected
6.14≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-22017

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
devlink: fix xa_alloc_cyclic() error handling
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于xa_alloc_cyclic错误处理,可能导致未分配指针被引用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux c137743bce02b18c1537d4681aa515f7b80bf0a8 ~ f8aaa38cfaf6f20afa4db36b6529032fb69165dc -
Linux Linux 6.7 -

II. Public POCs for CVE-2025-22017

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-22017

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-22017 (2)

Same Patch Batch · Linux · 2025-04-08 · 10 CVEs total

CVE-2025-22012 8.8 HIGH Revert "arm64: dts: qcom: sdm845: Affirm IDR0.CCTW on apps_smmu"
CVE-2025-22015 7.8 HIGH mm/migrate: fix shmem xarray update during migration
CVE-2025-22013 7.3 HIGH KVM: arm64: Unconditionally save+flush host FPSIMD/SVE/SME state
CVE-2025-22016 dpll: fix xa_alloc_cyclic() error handling
CVE-2025-22014 soc: qcom: pdr: Fix the potential deadlock
CVE-2025-22011 ARM: dts: bcm2711: Fix xHCI power-domain
CVE-2025-22010 RDMA/hns: Fix soft lockup during bt pages loop
CVE-2025-22009 regulator: dummy: force synchronous probing
CVE-2025-22008 regulator: check that dummy regulator has been probed before using it

IV. Related Vulnerabilities

V. Comments for CVE-2025-22017

No comments yet


Leave a comment