CVE-2026-98876: host1x: bus: Fix missing ops null check in error teardown
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-98876 to this issue.
Affected and fixed versions
===========================
Fixed in 5.15.222 with commit d8d5b6e02fc281dea33d6b0b0fadaccea56f2067 Fixed in 6.1.189 with commit f1fa6c936fa9de80ae446ba5e76e227e991b8e56 Fixed in 6.6.158 with commit 74bd1f05d9ba2d6672d30ccafe80a38104c1f73f Fixed in 6.12.111 with commit 62851e7b0e55de6fe08da08bc41fd587fbcb0e9b Fixed in 6.18.53 with commit 29375e071ea201fe97bafe1d2ad9d9f30311abfb Fixed in 7.2 with commit 71d25f668bc5c0f36ea843462e12307dea45aaa3
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-98876
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/host1x/bus.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/d8d5b6e02fc281dea33d6b0b0fadaccea56f2067 https://git.kernel.org/stable/c/f1fa6c936fa9de80ae446ba5e76e227e991b8e56 https://git.kernel.org/stable/c/74bd1f05d9ba2d6672d30ccafe80a38104c1f73f https://git.kernel.org/stable/c/62851e7b0e55de6fe08da08bc41fd587fbcb0e9b https://git.kernel.org/stable/c/29375e071ea201fe97bafe1d2ad9d9f30311abfb https://git.kernel.org/stable/c/71d25f668bc5c0f36ea843462e12307dea45aaa3