CVE-2026-89733

usb: gadget: uvc: fix dangling pointers in uvc_function_bind() and uvc_function_unbind()

HIGH
7.8
CVSS Score
Published: September 11, 2026 at 07:46 PM UTC
Updated: October 19, 2026 at 09:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: uvc: fix dangling pointers in uvc_function_bind() and uvc_function_unbind() In uvc_function_bind() error path, we use usb_ep_free_request which uses uvc->control_req but does not set it to NULL afterwards. Thus, uvc->control_req is a dangling pointer causing a UAF. Also we do not set the uvc->control_buf pointer to NULL after freeing it, which is another dangling pointer. Fix it by setting uvc->control_req to NULL after we run usb_ep_free_request() and uvc->control_buf to NULL after kfree. Do the same for uvc_function_unbind().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

065f5561a20659cf17aae5f72b32b5c2695c8e000f9df939385527049c8062a099fbfa1479fe7ce01efa8a5aac93d9e67075995d7d4902b57ce184f73.2.363.4.253.7.23.865f5561a20659cf17aae5f72b32b5c2695c8e0e7a4b0efe62e56a0acc81d16091c6efc2a282be8
Vendor states this is fixed in 38f822ddce9355893d734279a26ddec45182197e (fixed)
Vendor states this is fixed in 502a7f5b79b7ba751988789e982924f8f496129f (fixed)
Vendor states this is fixed in 85dd5e8bd6776d02854f2847d83429f1f712e99c (fixed)
Vendor states this is fixed in 8e88ed8a374de67270d38689f2a81018909cafbb (fixed)
Vendor states this is fixed in 9897b7da8c0ad8356c1b8649379fcb5a689462cb (fixed)
Vendor states this is fixed in bdab5605259ba5d6ff927c1a85cc83eb3ecfdacc (fixed)
Vendor states this is fixed in bec7708eb3b5295d12e931db24381b7c94c72953 (fixed)
Vendor states this is fixed in ddb1b0d5d858584ed0d3a5aaa042ee693998c7e2 (fixed)
Affected range stops below 3.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 3.8 (unaffected)
Vendor states this is fixed in 5.10.270 (unaffected)
Vendor states this is fixed in 5.15.221 (unaffected)
Vendor states this is fixed in 6.1.188 (unaffected)
Vendor states this is fixed in 6.12.109 (unaffected)
Vendor states this is fixed in 6.18.50 (unaffected)
Vendor states this is fixed in 6.6.157 (unaffected)
Vendor states this is fixed in 7.2.4 (unaffected)
Vendor states this is fixed in 7.3 (unaffected)
Vendor states this is fixed in 7.3-rc1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card