uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ca3cda6fcf1e922213a0cc58e708ffb999151db3 · < de6946be9c8bc7d2279123433495af7c21011b99| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind
For primary VM Bus channels, primary_channel pointer is always NULL. This pointer is valid only for the secondary channels. Also, rescind callback is meant for primary channels only.
Fix NULL pointer dereference by retrieving the device_obj from the parent for the primary channel.
From the CVE record · Linux
The Linux kernel's uio_hv_generic component can dereference a NULL pointer when handling a rescind callback for a primary VM Bus channel. The input does not specify how an attacker could trigger the condition or whether network access, authentication, or user interaction is required.
Teams running Linux kernels with the uio_hv_generic component should check their kernel's exposure; affected versions are not specified.