media: cx231xx-audio: drain wq_trigger before audio fini

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

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

media: cx231xx-audio: drain wq_trigger before audio fini

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

Use disable_work_sync() in fini to drain the work and prevent further queueing. Initialize the work, lock and stream_started counter at the top of cx231xx_audio_init(), 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.

ProductVersions
Linux Linux61b04cb24a129f2483d5110e119fc2e365177741 to before 3cd008aa8391ba1d788035d6e33f092d15f95dfa Affected61b04cb24a129f2483d5110e119fc2e365177741 to before 5c8ecd9ebc95523c950b3616703d4c19ee5e8b33 Affected61b04cb24a129f2483d5110e119fc2e365177741 to before 450f37994eb36e006ebfd075e8fdc27b9465ca22 Affected61b04cb24a129f2483d5110e119fc2e365177741 to before a691c54986412e1fa87f036d2577d5a78a75e658 Affected
Linux Linux2.6.37 Affectedbefore 2.6.37 Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.