
Cloud Vulnerability DB
A community-led vulnerabilities database
A stack-out-of-bounds read vulnerability was discovered in the Linux kernel's arm64/ptrace functionality, specifically in the regsgetkernelstacknth() function. The vulnerability was assigned CVE-2025-38320 and was disclosed on July 10, 2025 (NVD, CVE).
The vulnerability manifests as a KASAN-reported stack-out-of-bounds read in the regsgetkernelstacknth() function. The issue appears to be related to the behavior of some gcc compilers and was previously fixed on the s390 architecture. The bug occurs when reading a value at *addr, even though regsgetkernelstacknth() has confirmed that addr is on the stack. The issue was detected through KASAN (Kernel Address Sanitizer) reporting a stack-out-of-bounds read at address ffff800089277c10 (NVD).
The vulnerability could potentially lead to information disclosure through unauthorized memory access, as it allows reading memory outside the intended stack boundaries. This could expose sensitive kernel information to attackers (NVD).
The fix involves using the READONCENOCHECK() helper to silence the KASAN check for this case, as the addr value has already been confirmed to be on the stack. This solution was implemented based on previous fixes for similar issues in the s390 architecture (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."