CVE-2026-89899: media: cec: disable delayed work before freeing an interrupted transmit

Published Sep 16, 2026
·
Updated

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

media: cec: disable delayed work before freeing an interrupted transmit

cectransmitmsgfh() drops adap->lock to wait for a blocking transmit in waitforcompletionkillable(). If that wait is interrupted by a signal, canceldelayedworksync() can run before the CEC kthread arms the reply timeout via scheduledelayedwork(&data->work) in cectransmitdonets(). The work is then armed after the cancel, and the data is freed with its delayedwork still pending:

ODEBUG: free active (active state 0) object: ... hint: cecwaittimeout

Use disabledelayedworksync(): it cancels the work and disables it, so the later scheduledelayedwork() becomes a no-op and the work cannot be re-armed. The data is freed right after, so it need not be re-enabled.

Event History

Sep 16, 2026
CVE Published
via MITRE·10:31 AM
Data Sourced
via MITRE·10:31 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the vulnerable path?

A blocking CEC transmit must be waiting in cec_transmit_msg_fh(), and that wait must be interrupted by a signal. A timing race is then required: the cancellation occurs before the CEC kernel thread arms the reply-timeout delayed work.

2

What is the consequence of winning the race?

The transmit data can be freed while its delayed_work remains pending. When that delayed work later runs, it can access freed data.

3

How is the issue corrected?

The fix uses disable_delayed_work_sync() rather than cancel_delayed_work_sync(). This both cancels the work and prevents the later schedule_delayed_work() call from re-arming it before the associated data is freed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203