CVE-2026-99339
KVM: x86: Zero reserved synic flags when delivering message to avoid stack leak
- CVSS
- —
- EPSS
- 0.23% (p15)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-12-01
- Product
- Linux Linux
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.
Fixed in
17e825d384861e49049160811758c7fc7001a979 · 20931f3d794632f265be952e60808e65c142a6ae · 2616f497506a772db53e7bb1024cde50b4c165e0 · 416da9d1824cf34c709f3222f5012714810734dd · 5.10.275 · 5.15.226 · 6.1.193 · 6.12.117 · 6.18.61 · 6.6.163 · 7.3.2 · 8fdb97a4c89635c7ba973c5ef98efd1d8c8e0405 · ab15e4093e2aff170ea2087ab994f64530a13cba · d8b73d478858f8249af318e249df38d98a103480 · fd7764eea189053ce6345950f11e4aeecd741fba
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.0.0, <5.10.275 | 5.10.275 |
| Linux | Kernel | >=5.11.0, <5.15.226 | 5.15.226 |
| Linux | Kernel | >=5.16.0, <6.1.193 | 6.1.193 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| Linux | Kernel | >=6.2.0, <6.6.163 | 6.6.163 |
| Linux | Kernel | >=6.7.0, <6.12.117 | 6.12.117 |
| vendor | Linux | >=3a0e7731724f6ac684129f1763eef4d2d3e7dec7, <17e825d384861e49049160811758c7fc7001a979 | 17e825d384861e49049160811758c7fc7001a979 |
| vendor | Linux | >=3a0e7731724f6ac684129f1763eef4d2d3e7dec7, <20931f3d794632f265be952e60808e65c142a6ae | 20931f3d794632f265be952e60808e65c142a6ae |
| vendor | Linux | >=3a0e7731724f6ac684129f1763eef4d2d3e7dec7, <2616f497506a772db53e7bb1024cde50b4c165e0 | 2616f497506a772db53e7bb1024cde50b4c165e0 |
| vendor | Linux | >=3a0e7731724f6ac684129f1763eef4d2d3e7dec7, <416da9d1824cf34c709f3222f5012714810734dd | 416da9d1824cf34c709f3222f5012714810734dd |
| vendor | Linux | >=3a0e7731724f6ac684129f1763eef4d2d3e7dec7, <8fdb97a4c89635c7ba973c5ef98efd1d8c8e0405 | 8fdb97a4c89635c7ba973c5ef98efd1d8c8e0405 |
| vendor | Linux | >=3a0e7731724f6ac684129f1763eef4d2d3e7dec7, <ab15e4093e2aff170ea2087ab994f64530a13cba | ab15e4093e2aff170ea2087ab994f64530a13cba |
| vendor | Linux | >=3a0e7731724f6ac684129f1763eef4d2d3e7dec7, <d8b73d478858f8249af318e249df38d98a103480 | d8b73d478858f8249af318e249df38d98a103480 |
| vendor | Linux | >=3a0e7731724f6ac684129f1763eef4d2d3e7dec7, <fd7764eea189053ce6345950f11e4aeecd741fba | fd7764eea189053ce6345950f11e4aeecd741fba |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/fd7764eea189053ce6345950f11e4aeecd741fba other
- https://git.kernel.org/stable/c/ab15e4093e2aff170ea2087ab994f64530a13cba other
- https://git.kernel.org/stable/c/416da9d1824cf34c709f3222f5012714810734dd other
- https://git.kernel.org/stable/c/2616f497506a772db53e7bb1024cde50b4c165e0 other
- https://git.kernel.org/stable/c/20931f3d794632f265be952e60808e65c142a6ae other
- https://git.kernel.org/stable/c/8fdb97a4c89635c7ba973c5ef98efd1d8c8e0405 other
- https://git.kernel.org/stable/c/17e825d384861e49049160811758c7fc7001a979 other
- https://git.kernel.org/stable/c/d8b73d478858f8249af318e249df38d98a103480 other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99339.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99339 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package