xen/evtchn: avoid WARN() when unbinding an event channel
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
xen/evtchn: avoid WARN() when unbinding an event channel
When unbinding a user event channel, the related handler might be called a last time in case the kernel was built with CONFIG_DEBUG_SHIRQ. This might cause a WARN() in the handler.
Avoid that by adding an "unbinding" flag to struct user_event which will short circuit the handler.
From the CVE record · Linux
The Linux kernel’s Xen event channel handler may trigger a WARN() when a user event channel is unbound. This can happen if the kernel was built with CONFIG_DEBUG_SHIRQ and the handler is called one last time during unbinding. The input does not specify authentication requirements or any further impact.
Engineers running Linux kernels with Xen event channels and CONFIG_DEBUG_SHIRQ should check whether their kernel is affected; no affected versions are specified.