CVE-2026-99186
Last modified
CVE-2026-99186 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: x86/insn-eval: Fix shadowed segment index in get_seg_reg_override_idx() Commit 45e1dccc0653 ("x86/insn: Simplify for_each_insn_prefix()") made for_each_insn_prefix() declare its own loop counter named idx. get_seg_reg_override_idx() keeps its result in a local of the same name, so the assignments in the loop body now write the loop counter: - the function always returns INAT_SEG_REG_DEFAULT, so FS and GS overrides are ignored; - a CS override sets the counter to INAT_SEG_REG_CS (2), the increment makes it 3, and prefixes.bytes[3] holds the last prefix, 0x2e again, so the loop never terminates. The UMIP emulation reaches this from the #GP handler for user space: an SGDT, SIDT or SMSW with a memory operand and a CS prefix leaves the task spinning in the kernel, never returning to user space, with a SIGKILL that is never delivered. Any user can thus tie up CPUs until reboot. With an FS or GS prefix, the emulated result is written to the wrong address. Rename the internal macro iterator variable. [ Lukas' original patch renamed the use site, I changed it to rename the iterator in the macro instead, but left Lukas' commit message and authorship - Linus ].
Description
In the Linux kernel, the following vulnerability has been resolved: x86/insn-eval: Fix shadowed segment index in get_seg_reg_override_idx() Commit 45e1dccc0653 ("x86/insn: Simplify for_each_insn_prefix()") made for_each_insn_prefix() declare its own loop counter named idx. get_seg_reg_override_idx() keeps its result in a local of the same name, so the assignments in the loop body now write the loop counter: - the function always returns INAT_SEG_REG_DEFAULT, so FS and GS overrides are ignored; - a CS override sets the counter to INAT_SEG_REG_CS (2), the increment makes it 3, and prefixes.bytes[3] holds the last prefix, 0x2e again, so the loop never terminates. The UMIP emulation reaches this from the #GP handler for user space: an SGDT, SIDT or SMSW with a memory operand and a CS prefix leaves the task spinning in the kernel, never returning to user space, with a SIGKILL that is never delivered. Any user can thus tie up CPUs until reboot. With an FS or GS prefix, the emulated result is written to the wrong address. Rename the internal macro iterator variable. [ Lukas' original patch renamed the use site, I changed it to rename the iterator in the macro instead, but left Lukas' commit message and authorship - Linus ]
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 45e1dccc0653c50e377dae57ef086a8d0f71061d, < 0efe927053f7eabd1e8658cbda96ee3d78bd1765; >= 45e1dccc0653c50e377dae57ef086a8d0f71061d, < 32c52ec87d6245ee2d12ed5dd509e40062939b50 |
| Linux | Linux | 6.19 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99186?
How severe is CVE-2026-99186?
How do I fix CVE-2026-99186?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99180In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99181In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99182In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99183In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99184In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99185In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-99187In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99188In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99189In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9919Out of bounds read in WebGL in Google Chrome on Android prio…4.3
- CVE-2026-99190In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99191In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99186?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
