CVE-2025-22017

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedApr 8, 2025
First seenApr 8, 2025

How to fix

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.7 ≤ v < 6.12.21, 6.13 ≤ v < 6.13.9, 6.146.12.21, 6.13.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.