https://bugzilla.kernel.org/show_bug.cgi?id=216026 Sean Christopherson (seanjc@xxxxxxxxxx) changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |seanjc@xxxxxxxxxx --- Comment #3 from Sean Christopherson (seanjc@xxxxxxxxxx) --- Some of the GCC-12 errors, including this one[*], are likely GCC bugs. The KVM code has existed for many, many years, i.e. this wasn't something introduced in v5.18. I am working on a small series to guard against KVM bugs in this area, which will in theory squash this warning, but unless someone can prove that an out-of-bounds access really truly is possible, I doubt any "fix" for this will be backported to already-released kernels. Your best bet is to build with CONFIG_WERROR=n and CONFIG_KVM_WERROR=n so that GCC-12's zealotry doesn't break the build. [*] https://lore.kernel.org/all/YofQlBrlx18J7h9Y@xxxxxxxxxx -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.