Cyber Resilience

CVE-2025-21711

Memory Safety in Linux Kernel 2.6.12 – 6.1.129

Published
27 February 2025
Modified
12 May 2026
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.0022 13th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-21711 is a medium-severity Integer Overflow or Wraparound (CWE-190) vulnerability in Linux Linux Kernel. Its CVSS base score is 5.5 (Medium).

Operationally, ranked at the 13th 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-10 (Information Input Validation) and AC-3 (Access Enforcement) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

In the Linux kernel, the following vulnerability has been resolved: net/rose: prevent integer overflows in rose_setsockopt() In case of possible unpredictably large arguments passed to rose_setsockopt() and multiplied by extra values on top of that, integer overflows may occur. Do…

more

the safest minimum and fix these issues by checking the contents of 'opt' and returning -EINVAL if they are too large. Also, switch to unsigned int and remove useless check for negative 'opt' in ROSE_IDLE case.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-52557Same product: Linux Linux Kernel
CVE-2024-53187Same product: Linux Linux Kernel
CVE-2024-46726Same product: Linux Linux Kernel
CVE-2026-45990Same product: Linux Linux Kernel
CVE-2025-21964Same product: Linux Linux Kernel
CVE-2023-52933Same product: Linux Linux Kernel
CVE-2024-37356Same product: Linux Linux Kernel
CVE-2025-21962Same product: Linux Linux Kernel
CVE-2023-42752Same product: Linux Linux Kernel
CVE-2024-38661Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
2.6.12 — 6.1.129 · 6.2 — 6.6.76 · 6.7 — 6.12.13

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • AC-3 Access Enforcement
  • SI-16 Memory Protection
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V5.2.6

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires validation of socket-option arguments to reject values that would cause integer overflow before any multiplication occurs.

prevent

Enforces that only valid, non-overflowing parameters are accepted when setting ROSE socket options, rejecting malformed input at the system-call boundary.

prevent

Provides memory-protection mechanisms that can limit the impact if an overflow were to occur despite input checks.

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 directly require use of safe arithmetic, bounds checks, and testing that prevent integer overflows.

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 in development can detect integer overflows before release.

prevents

Secure SDLC mandates input validation and arithmetic checks that prevent integer overflows.

degrades

Application security requirements include bounds checking and safe arithmetic to avoid overflow conditions.

degrades

Secure architecture principles require defensive coding patterns that mitigate integer wraparound risks.

prevents

Secure coding standards explicitly forbid unsafe integer operations and mandate overflow-safe constructs.

References