CVE-2026-142797

CVE-2026-142797CVE-2026-142797

Description

In the Linux kernel, the following vulnerability has been resolved: media: s5p-mfc: use timer_shutdown_sync() for the self-rearming watchdog The MFC watchdog timer (s5p_mfc_watchdog) is self-rearming: every callback re-arms itself with add_timer() and, on a timeout, schedules watchdog_work. s5p_mfc_remove() tears this down with timer_delete_sync() followed by flush_work(). timer_delete_sync() dequeues the timer and waits for a callback that is already running, but it does not prevent a subsequent re-arm. Because the watchdog callback re-arms via add_timer(), this is the wrong shutdown primitive: once the wait returns nothing guarantees a just-queued re-arm will not fire later, dereferencing dev (clock on/off, deinit_hw, load_firmware, init_hw) after video_unregister_device(), DMA teardown and s5p_mfc_final_pm() have run, a potential use-after-free. Use timer_shutdown_sync(), which puts the timer into a shutdown state so that any add_timer()/mod_timer() from the callback becomes a n

Scoring

Last modified2026-12-03
Sourced from NVD. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.