Cyber Resilience

CVE-2025-22016

Memory Safety in Linux Kernel 6.8 – 6.12.21

Published
08 April 2025
Modified
28 October 2025
Patch / advisory
CVSS Score v3.1 5.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0018 8th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-22016 is a medium-severity NULL Pointer Dereference (CWE-476) vulnerability in Linux Linux Kernel. Its CVSS base score is 5.5 (Medium).

Operationally, ranked at the 8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-11 (Error Handling) and SI-2 (Flaw Remediation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

In the Linux kernel, the following vulnerability has been resolved: dpll: 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…

more

allocated pointer (pin). Fix it by checking if err is lower than zero. This wasn't found in real usecase, only noticed. Credit to Pierre.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-23353Same product: Linux Linux Kernel
CVE-2023-53336Same product: Linux Linux Kernel
CVE-2025-71124Same product: Linux Linux Kernel
CVE-2026-31481Same product: Linux Linux Kernel
CVE-2024-58237Same product: Linux Linux Kernel
CVE-2025-37974Same product: Linux Linux Kernel
CVE-2025-21799Same product: Linux Linux Kernel
CVE-2023-52893Same product: Linux Linux Kernel
CVE-2025-22065Same product: Linux Linux Kernel
CVE-2023-53228Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
6.14 · 6.8 — 6.12.21 · 6.13 — 6.13.9

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires proper error handling so that return values such as ERR_PTR(1) from xa_alloc_cyclic are not misinterpreted, preventing the subsequent invalid pointer dereference.

prevent

Mandates timely application of the kernel patch that corrects the xa_alloc_cyclic error-check, eliminating the root cause of the CWE-476 flaw.

prevent

Provides memory-protection mechanisms that can block or contain invalid pointer dereferences when error-handling logic fails.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices (static analysis, code review, safe coding standards) directly prevent NULL dereference bugs during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing can detect NULL dereference defects before release.

prevents

Secure SDLC mandates defensive coding practices that can prevent NULL dereferences.

prevents

Application security requirements can specify input validation and pointer-safety rules.

prevents

Secure architecture principles encourage defensive design that avoids unsafe pointer use.

prevents

Secure coding standards directly require NULL-pointer checks and safe dereference patterns.

References