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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

EPSS 0.05% · P15
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux c137743bce02b18c1537d4681aa515f7b80bf0a8 ~ f8aaa38cfaf6f20afa4db36b6529032fb69165dc -
LinuxLinux 6.7 -

II. Public POCs for CVE-2025-22017

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-22017

登录查看更多情报信息。

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

CVE-2025-22016dpll: fix xa_alloc_cyclic() error handling
CVE-2025-22015mm/migrate: fix shmem xarray update during migration
CVE-2025-22014soc: qcom: pdr: Fix the potential deadlock
CVE-2025-22013KVM: arm64: Unconditionally save+flush host FPSIMD/SVE/SME state
CVE-2025-22012Revert "arm64: dts: qcom: sdm845: Affirm IDR0.CCTW on apps_smmu"
CVE-2025-22011ARM: dts: bcm2711: Fix xHCI power-domain
CVE-2025-22010RDMA/hns: Fix soft lockup during bt pages loop
CVE-2025-22009regulator: dummy: force synchronous probing
CVE-2025-22008regulator: 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