# CVE-2026-46063: x86/shstk: Prevent deadlock during shstk sigreturn

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2026-05-27T12:57:27.336Z
- **Modified:** 2026-11-06T17:17:34.000Z

## Who should check

- Anyone running Linux \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< e2c2b044458cbf22da05264fa707308e8d4f86f9; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< d042d69b417515959e49021fef008c9b04a99bd5; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< 4f3374c990fb2adec06d20fd6d780927811c9aa0; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< 3d29db827502067626062f5c74dd502d14ab15bc; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< 9874b2917b9fbc30956fee209d3c4aa47201c64e
- Anyone running Linux 6.6

## 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.

## Affected and fixed versions

- Linux: \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< e2c2b044458cbf22da05264fa707308e8d4f86f9; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< d042d69b417515959e49021fef008c9b04a99bd5; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< 4f3374c990fb2adec06d20fd6d780927811c9aa0; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< 3d29db827502067626062f5c74dd502d14ab15bc; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< 9874b2917b9fbc30956fee209d3c4aa47201c64e (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 9874b2917b9fbc30956fee209d3c4aa47201c64e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46063. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46063.md
Affected: Linux >= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, < e2c2b044458cbf22da05264fa707308e8d4f86f9; >= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, < d042d69b417515959e49021fef008c9b04a99bd5; >= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, < 4f3374c990fb2adec06d20fd6d780927811c9aa0; >= 7fad2a432cd35bbf104d2d9…
Fixed in: Linux 4f3374c990fb2adec06d20fd6d780927811c9aa0, Linux 3d29db827502067626062f5c74dd502d14ab15bc, Linux 9874b2917b9fbc30956fee209d3c4aa47201c64e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-46063 being exploited?

There is no confirmed exploitation: CVE-2026-46063 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46063?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46063?

Linux \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< e2c2b044458cbf22da05264fa707308e8d4f86f9; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< d042d69b417515959e49021fef008c9b04a99bd5; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< 4f3374c990fb2adec06d20fd6d780927811c9aa0; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< 3d29db827502067626062f5c74dd502d14ab15bc; \>= 7fad2a432cd35bbf104d2d9d426e74902f22aa95, \< 9874b2917b9fbc30956fee209d3c4aa47201c64e; Linux 6.6.

### Is there a fix for CVE-2026-46063?

Yes. Fixed in Linux 4f3374c990fb2adec06d20fd6d780927811c9aa0, Linux 3d29db827502067626062f5c74dd502d14ab15bc, Linux 9874b2917b9fbc30956fee209d3c4aa47201c64e. Upgrade Linux to 9874b2917b9fbc30956fee209d3c4aa47201c64e or later.

### How do I check if I'm affected by CVE-2026-46063?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/e2c2b044458cbf22da05264fa707308e8d4f86f9>
- patch: <https://git.kernel.org/stable/c/d042d69b417515959e49021fef008c9b04a99bd5>
- patch: <https://git.kernel.org/stable/c/4f3374c990fb2adec06d20fd6d780927811c9aa0>
- patch: <https://git.kernel.org/stable/c/3d29db827502067626062f5c74dd502d14ab15bc>
- patch: <https://git.kernel.org/stable/c/9874b2917b9fbc30956fee209d3c4aa47201c64e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46063>

HTML: <https://flawdb.com/CVE-2026-46063> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46063>
