my first patch to the linux kernel
Summary
A personal blog post detailing a sign-extension bug in a Linux kernel descriptor used for VMX, which corrupted the TSS base during context switches. It explains how integer promotion in C caused sign extension and how casting to unsigned before shifting fixes the issue, with a patch that was merged. The piece also touches on hypervisor behavior, KVM, and a note on using AI to summarize logs.