drm/vc4: hvs/v3d: Fix null dereference in unbind
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 8f62aae059e06746a18a00af27179c3c0f17f4c7, Kernel 261f0a3f0ac03248284f5116d3258f89c9642215, Kernel 3be8dcc1a5854cf24cc332e0d6fc865c47ff49a1 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: drm/vc4: hvs/v3d: Fix null dereference in unbind The hvs and v3d drivers use dev_get_drvdata(master) in their unbind functions. Since the vc4-drm gets removed before its dependent drivers (vc4_hvs/vc4_v3d) the vc4_hvs_unbind/vc4_v3d_unbind functions try to get drvdata of its master and fails with a null dereference error. Use the data pointer passed to the unbind functions directly instead of dev_get_drvdata(master). This avoids using potentially freed memory.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c8b75bca92cbf064b9fa125fc74a85994452e935 <8f62aae059e06746a18a00af27179c3c0f17f4c7, >=c8b75bca92cbf064b9fa125fc74a85994452e935 <261f0a3f0ac03248284f5116d3258f89c9642215, >=c8b75bca92cbf064b9fa125fc74a85994452e935 <3be8dcc1a5854cf24cc332e0d6fc865c47ff49a1, >=c8b75bca92cbf064b9fa125fc74a85994452e935 <3ed3d0b31500b11c8fd9ef96b7703edbccb32e2e, >=c8b75bca92cbf064b9fa125fc74a85994452e935 <708688ec31ac6b35103ba364dc300a09930079d4, >=c8b75bca92cbf064b9fa125fc74a85994452e935 <7dc3680b7ffe01add3e9299fde8471d2dd53a8ae, =4.4 | 8f62aae059e06746a18a00af27179c3c0f17f4c7, 261f0a3f0ac03248284f5116d3258f89c9642215, 3be8dcc1a5854cf24cc332e0d6fc865c47ff49a1, 3ed3d0b31500b11c8fd9ef96b7703edbccb32e2e, 708688ec31ac6b35103ba364dc300a09930079d4, 7dc3680b7ffe01add3e9299fde8471d2dd53a8ae |
| linux-kernel: Kernel | >=6.13.0 <6.18.53, >=6.19.0 <7.1.6, >=6.2.0 <6.6.160, >=6.7.0 <6.12.111, >=4.4.0 <6.1.191 | 6.18.53, 7.1.6, 6.6.160, 6.12.111, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket