cvelo
P4 · InfoEPSS 0.2%

drm/vc4: Drop the BO reservations outside of job_lock

  • CVE-2026-99769
  • GHSA-m5fx-q296-mgqq
  • EUVD-2026-130886

Description

In the Linux kernel, the following vulnerability has been resolved: drm/vc4: Drop the BO reservations outside of job_lock vc4_queue_submit() calls drm_exec_fini() with job_lock held and interrupts disabled. Besides unlocking the reservations, drm_exec_fini() frees the object array with kvfree(), which asks for preemptible task context or a non-NMI interrupt, and may reach might_sleep() through vfree(). Considering that an array that exceeds a page can take the vmalloc fallback, call drm_exec_fini() once job_lock is dropped. The reservations are then held across the job kick, which is harmless as nothing in the completion path takes a BO reservation. Note that vc4_attach_fences() has to stay inside the critical section, as it walks exec, which the job done worker is free to release as soon as job_lock is dropped.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.15none stated
    before 6.15: not affectednone stated
    from 6.18.64 up to 6.18.*: not affectednone stated
    from 7.3.5 up to 7.3.*: not affectednone stated
    from 7.4-rc2 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.