CVE-2026-139047: media: cx231xx-audio: drain wq_trigger before audio fini

Published Nov 30, 2026
·
Updated

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

media: cx231xx-audio: drain wqtrigger before audio fini

audiotrigger() is deferred work (dev->wqtrigger) armed from sndcx231xxcapturetrigger() on every PCM START/STOP; it dereferences dev->adev state and may free the URBs via cx231xxisocaudiodeinit(). cx231xxaudiofini() tore down that state without draining wqtrigger, so work armed before or racing fini ran against freed state.

Use disableworksync() in fini to drain the work and prevent further queueing. Initialize the work, lock and streamstarted counter at the top of cx231xxaudioinit(), before any fallible allocation, and clear the partially-built audio state on its error path, so fini is safe even if a later step fails.

This issue was found by an in-house static analysis tool.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In cx231xx_audio_init(), initialize the work, lock, and stream_started counter at the top of the function, before any fallible allocation, so fini is safe on the error path.

  2. Compensating control

    In cx231xx_audio_fini(), use disable_work_sync() to drain dev->wq_trigger and prevent further queueing before tearing down audio state or freeing URBs.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
Description

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