Cyber Resilience

CVE-2025-38530

Memory Safety in Linux Kernel 2.6.30 – 5.4.297

Published
16 August 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 7.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS Score 0.0017 7th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2025-38530 is a high-severity Out-of-bounds Read (CWE-125) vulnerability in Linux Linux Kernel. Its CVSS base score is 7.1 (High).

Operationally, ranked at the 7th 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 SI-16 (Memory Protection) — 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: comedi: pcl812: Fix bit shift out of bounds When checking for a supported IRQ number, the following test is used: if ((1 << it->options[1]) & board->irq_bits) { However, `it->options[i]` is…

more

an unchecked `int` value from userspace, so the shift amount could be negative or out of bounds. Fix the test by requiring `it->options[1]` to be within bounds before proceeding with the original test. Valid `it->options[1]` values that select the IRQ will be in the range [1,15]. The value 0 explicitly disables the use of interrupts.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-38320Same product: Debian Debian Linux
CVE-2025-38483Same product: Debian Debian Linux
CVE-2025-38714Same product: Debian Debian Linux
CVE-2025-39710Same product: Debian Debian Linux
CVE-2024-35967Same product: Debian Debian Linux
CVE-2025-38482Same product: Debian Debian Linux
CVE-2025-39853Same product: Debian Debian Linux
CVE-2025-38027Same product: Debian Debian Linux
CVE-2023-6040Same product: Debian Debian Linux
CVE-2025-37780Same product: Debian Debian Linux

Affected Assets

linux
linux kernel
6.16 · 2.6.30 — 5.4.297 · 5.5 — 5.10.241 · 5.11 — 5.15.190
debian
debian linux
11.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • SI-10 Information Input Validation
  • SI-16 Memory Protection
  • SC-39 Process Isolation
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 validation of untrusted userspace values (it->options[1]) before arithmetic operations such as the unchecked bit shift that triggers the out-of-bounds condition.

prevent

Memory-protection mechanisms can detect or block the effects of an out-of-bounds shift/read that results from the invalid IRQ option value.

prevent

Process isolation limits the blast radius of a successful out-of-bounds read in a kernel driver to the affected process context.

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-development practices such as bounds checking and memory-safe languages directly prevent out-of-bounds reads.

ID.RA-01 partial match
prevents

Vulnerability scanning and recording can discover instances of out-of-bounds reads after code is deployed.

PR.PS-02 partial match
prevents

Routine patching replaces vulnerable code containing out-of-bounds read flaws.

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 and acceptance includes fuzzing and static analysis that detect out-of-bounds read defects before release.

A.8.15 Logging partial match
detects

Logging can record evidence of an out-of-bounds read but does not prevent the weakness itself.

prevents

Secure development life cycle mandates input validation and bounds checking that directly prevent out-of-bounds reads.

prevents

Application security requirements include explicit bounds and memory-safety specifications that mitigate buffer over-reads.

prevents

Secure system architecture and engineering principles require memory-safe design patterns and runtime protections against out-of-bounds access.

prevents

Secure coding standards explicitly forbid unsafe pointer arithmetic and mandate bounds-checked reads, eliminating CWE-125.

References