media: au0828: fix use-after-free in bulk_timeout timer on disconnect

State
Published
Severity
Not Scored
Published
Nov 19, 2026
Updated
Nov 23, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

media: au0828: fix use-after-free in bulk_timeout timer on disconnect

start_urb_transfer() arms dev->bulk_timeout, whose callback au0828_bulk_timeout() queues dev->restart_streaming; that work in turn calls start_urb_transfer() and re-arms the timer.

au0828_dvb_unregister() cancels restart_streaming on disconnect but does not sync bulk_timeout. au0828_usb_release() then frees dev with kfree(), so a timer still armed or pending at that point can fire after the free and dereference dev through timer_container_of().

Sync the timer with timer_shutdown_sync() before cancel_work_sync(). The timer callback queues the work, so the timer must be stopped first; the shutdown variant is needed because the work re-arms the timer through start_urb_transfer(). The dvb->frontend == NULL early return guards the register-failure path where the timer was never set up.

This bug was found by static analysis.

ProductVersions
Linux Linux53460c53b7619c14e8564a3ba2c60fc27f303f6b to before f6828fdabb07a9738419792273886d5b7d096757 Affected53460c53b7619c14e8564a3ba2c60fc27f303f6b to before ca99be2c3c5e8794444fd4a5ce324c7672b0aa68 Affected53460c53b7619c14e8564a3ba2c60fc27f303f6b to before cb104ec7111aec9f9c19775422d70f917b39e947 Affected53460c53b7619c14e8564a3ba2c60fc27f303f6b to before 0cfc8c1884451c4c3839dfeb1e0e2b008bc00efc Affected53460c53b7619c14e8564a3ba2c60fc27f303f6b to before 95a1f45a82e51ff23bd82c0529bfd817c8ec437f Affected53460c53b7619c14e8564a3ba2c60fc27f303f6b to before 5e30e92df3a0fb3985f3686536065219c28dd65d Affected53460c53b7619c14e8564a3ba2c60fc27f303f6b to before 521030837bee352515d5ea57cc6a29581db3506e Affected
Linux Linux4.13 Affectedbefore 4.13 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.