CVE-2026-99512: media: au0828: fix use-after-free in bulk_timeout timer on disconnect
In the Linux kernel, the following vulnerability has been resolved:
media: au0828: fix use-after-free in bulktimeout timer on disconnect
starturbtransfer() arms dev->bulktimeout, whose callback au0828bulktimeout() queues dev->restartstreaming; that work in turn calls starturbtransfer() and re-arms the timer.
au0828dvbunregister() cancels restartstreaming on disconnect but does not sync bulktimeout. au0828usbrelease() then frees dev with kfree(), so a timer still armed or pending at that point can fire after the free and dereference dev through timercontainerof().
Sync the timer with timershutdownsync() before cancelworksync(). 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 starturbtransfer(). 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.61 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.3-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1 - Compensating control
In au0828_dvb_unregister(), call timer_shutdown_sync() for dev->bulk_timeout before cancel_work_sync() on restart_streaming, so the timer callback cannot queue work or re-arm the timer during teardown.