CVE-2026-98309

drm/vc4: Use managed KMS polling to fix UAF on unbind

State
Published
Severity
Not scored
Published
Oct 6, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/vc4: Use managed KMS polling to fix UAF on unbind

vc4_kms_load() calls drm_kms_helper_poll_init() but the driver provides no matching drm_kms_helper_poll_fini(). The output poll work stays scheduled after unbind and runs on the freed drm_device:

# modprobe vc4; rmmod vc4; sleep 10 BUG: KASAN: slab-use-after-free in delayed_work_timer_fn BUG: KASAN: slab-use-after-free in drm_client_dev_hotplug [drm] Workqueue: events output_poll_execute [drm_kms_helper] Allocated by task 171: __devm_drm_dev_alloc Freed by task 262 (rmmod): drm_dev_put / component_del

Use drmm_kms_helper_poll_init() so polling is finalized with the device, as other drivers do.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c8b75bca92cbf064b9fa125fc74a85994452e935 to before b6beee927e7f4e3142032ff91b2d0417cdddc0f6Affected
  • c8b75bca92cbf064b9fa125fc74a85994452e935 to before cf0c4432bda37b02e7d430ff5017228ceb7caf0cAffected
  • c8b75bca92cbf064b9fa125fc74a85994452e935 to before ee507691c18f9fee5d4751e295ab9a7ff31d59aeAffected
  • c8b75bca92cbf064b9fa125fc74a85994452e935 to before 7f9780df677370a19b4ec9764f13b1b82073e0d9Affected
  • c8b75bca92cbf064b9fa125fc74a85994452e935 to before 073a30d75f309812ed61af134f24ffef4107b13aAffected
LinuxLinux
  • 4.4Affected
  • before 4.4Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.54 through 6.18.*Not affected
  • 7.2.8 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.