Junglewise Threat Intelligence

CVE-2026-46063: Linux Kernel x86 shadow stack deadlock in sigreturn

CVE-2026-46063 · Severity: info · CVSS 4.7 · Published 2026-05-27

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's handling of 'shadow stacks' on x86 processors could allow a local user to cause a system deadlock. Shadow stacks are a security feature designed to prevent certain types of cyberattacks; however, a flaw in how the kernel manages memory locks during specific signal operations can cause the system to hang. This results in a denial-of-service, potentially requiring a hard reboot and disrupting operations.

Technical details

A deadlock condition exists in the Linux kernel's x86 shadow stack (shstk) implementation within the 'shstk_pop_sigframe' function. During a sigreturn, the kernel attempts to read the shadow stack signal frame while holding the 'mmap_read_lock'. If this access triggers a page fault, the fault handler attempts to acquire the same lock recursively. While recursive read locks are generally permitted, a deadlock occurs if a writer (e.g., another thread performing an mmap operation) is simultaneously waiting for the lock on a different CPU. The fix involves using speculative mmap locking (mmap_lock_speculate) to verify VMA integrity without holding the lock during userspace access. The fix also makes X86_USER_SHADOW_STACK dependent on PER_VMA_LOCK.

Affected products

  • Linux Linux Kernel x86_64 with X86_USER_SHADOW_STACK enabled

Timeline

  • 2026-04-09: patched: Initial patch authored by Rick Edgecombe
  • 2026-05-27: disclosed: CVE-2026-46063 published

References

Related threats