Re: [PATCH] Drivers: hv: vmbus: Check ACPI companion before use

From: Wei Liu

Date: Wed Oct 21 2026 - 03:05:04 EST


On Sat, Oct 17, 2026 at 02:43:13PM +0800, Jiale Yao wrote:
> Platform drivers can be forced to bind to devices outside their match
> tables through driver_override. vmbus_acpi_add() assumes that every bound
> device has an ACPI companion and dereferences it without checking.
>
> Return -ENODEV when the companion is absent to avoid a NULL pointer
> dereference.
>
> Signed-off-by: Jiale Yao <yaojiale02@xxxxxxx>

Applied. Thanks.