Linux Kernel, Memory Handling Vulnerability, CVE-2025-38359 (Critical)

Listen to this Post

How the mentioned CVE works

The vulnerability exists within the s390-specific memory management code of the Linux kernel. The `do_secure_storage_access()` function, responsible for handling secure storage access faults, incorrectly attempts to resolve page faults while executing in an atomic context. This context is characterized by a non-zero preempt_count, where operations like taking semaphores are forbidden. When a kernel-space uaccess (user space access) function, such as copy_page_from_iter_atomic(), encounters a non-exported page from secure storage, it triggers a page fault. The fault handler enters do_secure_storage_access(), which then improperly tries to acquire the mmap_lock via a down_read() call. Since this lock acquisition can sleep and the context is atomic, it triggers a “sleeping function called from invalid context” bug, potentially leading to a kernel panic or system instability.

DailyCVE Form

Platform: Linux Kernel
Version: s390 architecture
Vulnerability: Memory Fault
Severity: Critical
Date: 07/25/2025

Prediction: Patch expected 07/31/2025

What Undercode Say:

Analytics

grep -r "do_secure_storage_access" /usr/src/linux/
cat /proc/sys/kernel/tainted
dmesg | grep "BUG: sleeping function"

How Exploit:

Crafting specific kernel uaccess operations targeting secure storage pages from an atomic context to trigger a kernel panic, causing a Denial of Service (DoS). Exploitation requires the ability to initiate these operations, potentially through a malicious VM or driver.

Protection from this CVE

Apply kernel patch. Update system.

Impact:

Kernel panic. System crash. Denial of Service.

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: nvd.nist.gov
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top