In the Linux kernel, the following vulnerability has been resolved:
drm/v3d: Fix use-after-free of CPU job query arrays on error path
The CPU job ioctl's fail label calls kvfree() on cpu_job's timestamp and performance query arrays after v3d_job_cleanup(), which drops the job's last reference and frees cpu_job. Reading cpu_job at that point is a use-after-free. Also, on the early v3d_job_init() failure path, it is a NULL dereference, since v3d_job_deallocate() zeroes the local pointer.
In the success path, the arrays are released from the scheduler's .free_job callback, but on the error path, they are freed manually, as the job was never pushed to the scheduler. While the success path deals with this correctly, the fail path doesn't.
On top of that, the manual kvfree() calls only free the array storage; they don't drm_syncobj_put() the per-query syncobjs that v3d_timestamp_query_info_free() and v3d_performance_query_info_free() release on the success path. So the same fail path that triggers the use-after-free also leaks one syncobj reference per query.
Unify the CPU job teardown into the CPU job's kref destructor, mirroring v3d_render_job_free(). The scheduler's .free_job slot reverts to the generic v3d_sched_job_free() and the fail label drops the manual kvfree() calls, leaving a single teardown path that is reached from both the scheduler and the ioctl error path. That removes the use-after-free, the NULL dereference, and the syncobj leak by construction.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Jul 23, 2026 | Jul 23, 2026 |
| Ubuntu | — | Upgrade linux-image-6.8.0-1035-nvidia-tegra-rtUpgrade linux-image-7.0.0-1008-oracle-64kUpgrade linux-image-nvidia-64kUpgrade linux-image-aws-64k-7.0Upgrade linux-image-raspi-realtime-7.0Upgrade linux-image-7.0.0-1008-oracleUpgrade linux-image-7.0.0-2016-nvidia-bos-64kUpgrade linux-image-7.0.0-1015-raspiUpgrade linux-image-7.0.0-1016-nvidiaUpgrade linux-image-oracleUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-7.0.0-1016-nvidia-64kUpgrade linux-image-aws-64kUpgrade linux-image-oracle-64kUpgrade linux-image-7.0.0-1014-azureUpgrade linux-image-nvidia-tegra-rt-6.8Upgrade linux-image-raspi-7.0Upgrade linux-image-azure-7.0Upgrade linux-image-7.0.0-1015-raspi-realtimeUpgrade linux-image-gcp-64kUpgrade linux-image-awsUpgrade linux-image-aws-7.0Upgrade linux-image-oracle-7.0Upgrade linux-image-gcp-7.0Upgrade linux-image-oracle-64k-7.0Upgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-nvidia-tegra-rtUpgrade linux-image-nvidiaUpgrade linux-image-azure-fde-7.0Upgrade linux-image-raspiUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-7.0.0-1009-azure-fdeUpgrade linux-image-gcpUpgrade linux-image-nvidia-tegraUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-azure-fdeUpgrade linux-image-7.0.0-1010-azureUpgrade linux-image-7.0.0-1009-awsUpgrade linux-image-7.0.0-1010-ibmUpgrade linux-image-azureUpgrade linux-image-ibm-7.0Upgrade linux-image-7.0.0-2016-nvidia-bosUpgrade linux-image-6.8.0-1035-nvidia-tegraUpgrade linux-image-nvidia-tegra-6.8Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-nvidia-bos-64kUpgrade linux-image-7.0.0-1009-aws-64kUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-ibmUpgrade linux-image-raspi-realtimeUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-nvidia-bosUpgrade linux-image-nvidia-7.0 | Jul 21, 2026 | Jul 20, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 3, 2026 | Jul 19, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub