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.
References
Configurations
Configuration 1 (hide)
|
History
28 Oct 2025, 17:08
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Linux linux Kernel
Linux |
|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
| CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:* |
|
| CWE | CWE-476 | |
| References | () https://git.kernel.org/stable/c/466132f6d28a7e47a82501fe1c46b8f90487412e - Patch | |
| References | () https://git.kernel.org/stable/c/f3b97b7d4bf316c3991e5634c9f4847c2df35478 - Patch | |
| References | () https://git.kernel.org/stable/c/f8aaa38cfaf6f20afa4db36b6529032fb69165dc - Patch |
08 Apr 2025, 18:13
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
08 Apr 2025, 09:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-04-08 09:15
Updated : 2025-10-28 17:08
NVD link : CVE-2025-22017
Mitre link : CVE-2025-22017
CVE.ORG link : CVE-2025-22017
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference
