CVE-2026-46063
x86/shstk: Prevent deadlock during shstk sigreturn
Check your servers for CVE-2026-46063
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-46063 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
x86/shstk: Prevent deadlock during shstk sigreturn
During sigreturn the shadow stack signal frame is popped. The kernel does this by reading the shadow stack using normal read accesses. When it can't assume the memory is shadow stack, it takes extra steps to makes sure it is reading actual shadow stack memory and not other normal readable memory. It does this by holding the mmap read lock while doing the access and checking the flags of the VMA.
Unfortunately that is not safe. If the read of the shadow stack sigframe hits a page fault, the fault handler will try to recursively grab another mmap read lock. This normally works ok, but if a writer on another CPU is also waiting, the second read lock could fail and cause a deadlock.
Fix this by not holding mmap lock during the read access to userspace.
Instead use mmap_lock_speculate_...() to watch for changes between dropping mmap lock and the userspace access. Retry if anything grabbed an mmap write lock in between and could have changed the VMA.
These mmap_lock_speculate_...() helpers use mm::mm_lock_seq, which is only available when PER_VMA_LOCK is configured. So make X86_USER_SHADOW_STACK depend on it. On x86, PER_VMA_LOCK is a default configuration for SMP kernels. So drop support for the other configs under the assumption that the !SMP shadow stack user base does not exist.
Currently there is a check that skips the lookup work when the SSP can be assumed to be on a shadow stack. While reorganizing the function, remove the optimization to make the tricky code flows more common, such that issues like this cannot escape detection for so long.
Exploitation
EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 1.04% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 6 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7fad2a432cd35bbf104d2d9d426e74902f22aa95, before e2c2b044458cbf22da05264fa707308e8d4f86f9 affected from 7fad2a432cd35bbf104d2d9d426e74902f22aa95, before d042d69b417515959e49021fef008c9b04a99bd5 affected from 7fad2a432cd35bbf104d2d9d426e74902f22aa95, before 4f3374c990fb2adec06d20fd6d780927811c9aa0 affected from 7fad2a432cd35bbf104d2d9d426e74902f22aa95, before 3d29db827502067626062f5c74dd502d14ab15bc affected from 7fad2a432cd35bbf104d2d9d426e74902f22aa95, before 9874b2917b9fbc30956fee209d3c4aa47201c64e
Other versions: unaffected
|
| Linux |
affected 6.6 unaffected before 6.6 unaffected from 6.6.140 up to and including 6.6.* unaffected from 6.12.88 up to and including 6.12.* unaffected from 6.18.27 up to and including 6.18.* unaffected from 7.0.4 up to and including 7.0.* unaffected 7.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-46063 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46063
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-46063
trivy image --scanners vuln IMAGE | grep CVE-2026-46063
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/e2c2b044458cbf22da05264fa707308e8d4f86f9 git.kernel.org
- https://git.kernel.org/stable/c/d042d69b417515959e49021fef008c9b04a99bd5 git.kernel.org
- https://git.kernel.org/stable/c/4f3374c990fb2adec06d20fd6d780927811c9aa0 git.kernel.org
- https://git.kernel.org/stable/c/3d29db827502067626062f5c74dd502d14ab15bc git.kernel.org
- https://git.kernel.org/stable/c/9874b2917b9fbc30956fee209d3c4aa47201c64e git.kernel.org
Source: the record CVE-2026-46063 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse