SRU Template ------------ [Impact]
Currently, Hyper-V may be notified of a panic for any die event. However, this results in false panic notifications for various user space traps that are die events. The following commit fixes this by ignoring die events that is not an oops: 608a973bd52e ("Drivers: hv: vmbus: Only notify Hyper-V for die events that are oops") [Test Case] Without the fix in the Linux VM, do the following to demonstrate the problem: 1. Create a VM in Azure. 2. Run a user space program that does a divide-by-zero. The user space program will terminate abnormally because of the error. 3. Monitor notifications in the Azure portal in the Resource Health section of the VM. There should be a report that the Linux VM has panicked. With the fix, do the same steps. The panic report in Step #3 should not happen. [Regression Potential] The risk of regression is low. This patch fixes the issue by ignoring die events that aren't oops. The upstream LKML thread mentions that DIE_PANIC may also be something that should be reported, but it doesn't get emitted anywhere so this might not be significantly different than DIE_OOPS. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in Ubuntu. https://bugs.launchpad.net/bugs/1891222 Title: Only notify Hyper-V for die events that are oops Status in linux-azure package in Ubuntu: In Progress Status in linux-azure-4.15 package in Ubuntu: In Progress Status in linux-azure source package in Bionic: Invalid Status in linux-azure-4.15 source package in Bionic: In Progress Status in linux-azure source package in Focal: In Progress Status in linux-azure-4.15 source package in Focal: Invalid Bug description: Currently, Hyper-V may be notified of a panic for any die event. However, this results in false panic notifications for various user space traps that are die events. The following commit fixes this by ignoring die events that is not an oops: 608a973bd52e ("Drivers: hv: vmbus: Only notify Hyper-V for die events that are oops") We would like to request this commit in all releases supported on Azure and Hyper-V. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/1891222/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp