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

CVE-2026-99512
Not available

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 53460c53b7619c14e8564a3ba2c60fc27f303f6b < f6828fdabb07a9738419792273886d5b7d096757
affected : ≥ 53460c53b7619c14e8564a3ba2c60fc27f303f6b < ca99be2c3c5e8794444fd4a5ce324c7672b0aa68
affected : ≥ 53460c53b7619c14e8564a3ba2c60fc27f303f6b < cb104ec7111aec9f9c19775422d70f917b39e947
affected : ≥ 53460c53b7619c14e8564a3ba2c60fc27f303f6b < 0cfc8c1884451c4c3839dfeb1e0e2b008bc00efc
affected : ≥ 53460c53b7619c14e8564a3ba2c60fc27f303f6b < 95a1f45a82e51ff23bd82c0529bfd817c8ec437f
affected : ≥ 53460c53b7619c14e8564a3ba2c60fc27f303f6b < 5e30e92df3a0fb3985f3686536065219c28dd65d
affected : ≥ 53460c53b7619c14e8564a3ba2c60fc27f303f6b < 521030837bee352515d5ea57cc6a29581db3506e
Other versions : unaffected
Linux · Linux
affected : 4.13
unaffected : ≥ 0 < 4.13
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD