CVE-2026-139047

Source
https://cve.org/CVERecord?id=CVE-2026-139047
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139047.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139047
Downstream
Published
2026-11-30T13:27:22Z
Modified
2026-11-30T15:01:59Z
Summary
media: cx231xx-audio: drain wq_trigger before audio fini
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139047.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
61b04cb24a129f2483d5110e119fc2e365177741
Fixed
3cd008aa8391ba1d788035d6e33f092d15f95dfa
Fixed
5c8ecd9ebc95523c950b3616703d4c19ee5e8b33
Fixed
450f37994eb36e006ebfd075e8fdc27b9465ca22
Fixed
a691c54986412e1fa87f036d2577d5a78a75e658

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139047.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.37
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139047.json"