Linux kernel denial of service in host1x device teardown
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8f7da1578e90bf1af30269dc6dd8806c96e9c683 · < 71d25f668bc5c0f36ea843462e12307dea45aaa3| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
host1x: bus: Fix missing ops null check in error teardown
In host1x_device_init(), the error teardown paths do not check client->ops before dereferencing it, unlike the forward init paths which correctly guard with 'client->ops &&'. This can result in a NULL pointer dereference if client->ops is NULL.
Fix by adding the missing client->ops check in both the teardown and teardown_late labels.
From the CVE record · Linux
The Linux kernel's host1x bus error teardown can dereference a NULL pointer when initialization fails and client->ops is NULL. This can cause a kernel crash; the input does not establish whether an attacker can trigger it or what access would be required.
Engineers running Linux kernels with the host1x bus should check their versions against the vendor advisory; affected versions are not specified.