KVM: x86: Zero reserved synic flags when delivering message to avoid stack leak
- State
- Published
- Severity
- Not Scored
- Published
- Nov 19, 2026
- Updated
- Nov 23, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
KVM: x86: Zero reserved synic flags when delivering message to avoid stack leak
Ensure all reserved flags are zeroed when setting the msg_pending flag as part of SynIC message delivery, as setting only msg_pending can leak seven bits of kernel stack data to the guest. E.g. gcc typically uses a bitwise-OR to set the msg_pending flag, without initializing the on-stack variable.
Precisely zero the flags, e.g. as opposed to zeroing the entire structure, to make it somewhat more obvious that the flags *need* to be zeroed. E.g. it would be quite easy to misread the initial read of guest memory and think that zeroing the entire structure is completely superfluous.
| Product | Versions |
|---|---|
| Linux Linux | 3a0e7731724f6ac684129f1763eef4d2d3e7dec7 to before 20931f3d794632f265be952e60808e65c142a6ae Affected3a0e7731724f6ac684129f1763eef4d2d3e7dec7 to before 8fdb97a4c89635c7ba973c5ef98efd1d8c8e0405 Affected3a0e7731724f6ac684129f1763eef4d2d3e7dec7 to before 17e825d384861e49049160811758c7fc7001a979 Affected3a0e7731724f6ac684129f1763eef4d2d3e7dec7 to before d8b73d478858f8249af318e249df38d98a103480 Affected3a0e7731724f6ac684129f1763eef4d2d3e7dec7 to before fd7764eea189053ce6345950f11e4aeecd741fba Affected3a0e7731724f6ac684129f1763eef4d2d3e7dec7 to before ab15e4093e2aff170ea2087ab994f64530a13cba Affected3a0e7731724f6ac684129f1763eef4d2d3e7dec7 to before 416da9d1824cf34c709f3222f5012714810734dd Affected3a0e7731724f6ac684129f1763eef4d2d3e7dec7 to before 2616f497506a772db53e7bb1024cde50b4c165e0 Affected |
| Linux Linux | 5.0 Affectedbefore 5.0 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/20931f3d794632f265be952e60808e65c142a6ae
- https://git.kernel.org/stable/c/8fdb97a4c89635c7ba973c5ef98efd1d8c8e0405
- https://git.kernel.org/stable/c/17e825d384861e49049160811758c7fc7001a979
- https://git.kernel.org/stable/c/d8b73d478858f8249af318e249df38d98a103480
- https://git.kernel.org/stable/c/fd7764eea189053ce6345950f11e4aeecd741fba
- https://git.kernel.org/stable/c/ab15e4093e2aff170ea2087ab994f64530a13cba
- https://git.kernel.org/stable/c/416da9d1824cf34c709f3222f5012714810734dd
- https://git.kernel.org/stable/c/2616f497506a772db53e7bb1024cde50b4c165e0
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.