{"id":"CVE-2026-43293","aliases":["CVE-2026-43293"],"related":[],"kind":"vulnerability","state":"published","title":"media: chips-media: wave5: Fix kthread worker destruction in polling mode","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: chips-media: wave5: Fix kthread worker destruction in polling mode\n\nFix the cleanup order in polling mode (irq < 0) to prevent kernel warnings\nduring module removal. Cancel the hrtimer before destroying the kthread\nworker to ensure work queues are empty.\n\nIn polling mode, the driver uses hrtimer to periodically trigger\nwave5_vpu_timer_callback() which queues work via kthread_queue_work().\nThe kthread_destroy_worker() function validates that both work queues\nare empty with WARN_ON(!list_empty(&worker->work_list)) and\nWARN_ON(!list_empty(&worker->delayed_work_list)).\n\nThe original code called kthread_destroy_worker() before hrtimer_cancel(),\ncreating a race condition where the timer could fire during worker\ndestruction and queue new work, triggering the WARN_ON.\n\nThis causes the following warning on every module unload in polling mode:\n\n  ------------[ cut here ]------------\n  WARNING: CPU: 2 PID: 1034 at kernel/kthread.c:1430\n    kthread_destroy_worker+0x84/0x98\n  Modules linked in: wave5(-) rpmsg_ctrl rpmsg_char ...\n  Call trace:\n   kthread_destroy_worker+0x84/0x98\n   wave5_vpu_remove+0xc8/0xe0 [wave5]\n   platform_remove+0x30/0x58\n  ...\n  ---[ end trace 0000000000000000 ]---","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: chips-media: wave5: Fix kthread worker destruction in polling mode\n\nFix the cleanup order in polling mode (irq < 0) to prevent kernel warnings\nduring module removal. Cancel the hrtimer before destroying the kthread\nworker to ensure work queues are empty.\n\nIn polling mode, the driver uses hrtimer to periodically trigger\nwave5_vpu_timer_callback() which queues work via kthread_queue_work().\nThe kthread_destroy_worker() function validates that both work queues\nare empty with WARN_ON(!list_empty(&worker->work_list)) and\nWARN_ON(!list_empty(&worker->delayed_work_list)).\n\nThe original code called kthread_destroy_worker() before hrtimer_cancel(),\ncreating a race condition where the timer could fire during worker\ndestruction and queue new work, triggering the WARN_ON.\n\nThis causes the following warning on every module unload in polling mode:\n\n  ------------[ cut here ]------------\n  WARNING: CPU: 2 PID: 1034 at kernel/kthread.c:1430\n    kthread_destroy_worker+0x84/0x98\n  Modules linked in: wave5(-) rpmsg_ctrl rpmsg_char ...\n  Call trace:\n   kthread_destroy_worker+0x84/0x98\n   wave5_vpu_remove+0xc8/0xe0 [wave5]\n   platform_remove+0x30/0x58\n  ...\n  ---[ end trace 0000000000000000 ]---","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: media: chips-media: wave5: Corregir la destrucción del worker kthread en modo de sondeo Corregir el orden de limpieza en modo de sondeo (irq menor que 0) para prevenir advertencias del kernel durante la eliminación del módulo. Cancelar el hrtimer antes de destruir el worker kthread para asegurar que las colas de trabajo estén vacías. En modo de sondeo, el controlador utiliza hrtimer para activar periódicamente wave5_vpu_timer_callback() que encola trabajo a través de kthread_queue_work(). La función kthread_destroy_worker() valida que ambas colas de trabajo estén vacías con WARN_ON(!list_empty( y worker  ->  work_list)) y WARN_ON(!list_empty( y worker  ->  delayed_work_list)). El código original llamaba a kthread_destroy_worker() antes de hrtimer_cancel(), creando una condición de carrera donde el temporizador podría activarse durante la destrucción del worker y encolar nuevo trabajo, lo que activaría el WARN_ON. Esto causa la siguiente advertencia en cada descarga de módulo en modo de sondeo: ------------[ cut here ]------------ WARNING: CPU: 2 PID: 1034 at kernel/kthread.c:1430 kthread_destroy_worker+0x84/0x98 Modules linked in: wave5(-) rpmsg_ctrl rpmsg_char ... Call trace: kthread_destroy_worker+0x84/0x98 wave5_vpu_remove+0xc8/0xe0 [wave5] platform_remove+0x30/0x58 ... ---[ end trace 0000000000000000 ]---","source":"nvd"}],"published":"2026-05-08T13:11:16.812Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ed7276ed2fd02208bfca9f222ef1e7b2743d710d","fixed":"156020e889edf4593870d926d3c4a6d06baac44a","status":"affected"},{"type":"git","introduced":"ed7276ed2fd02208bfca9f222ef1e7b2743d710d","fixed":"cc8071b1bac6568ea09d54be2d4f74dba80e17f8","status":"affected"},{"type":"git","introduced":"ed7276ed2fd02208bfca9f222ef1e7b2743d710d","fixed":"0c2e752688a0ee3b89993e6de6c496d863870c93","status":"affected"},{"type":"git","introduced":"ed7276ed2fd02208bfca9f222ef1e7b2743d710d","fixed":"5a0c122e834b2f7f029526422c71be922960bf03","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.10","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.16"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/156020e889edf4593870d926d3c4a6d06baac44a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc8071b1bac6568ea09d54be2d4f74dba80e17f8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c2e752688a0ee3b89993e6de6c496d863870c93","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5a0c122e834b2f7f029526422c71be922960bf03","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43293","url":"https://www.cve.org/CVERecord?id=CVE-2026-43293","licence":"CVE Terms of Use","modified":"2026-05-11T22:21:45.305Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43293","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43293","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:20.977Z","epss":{"score":0.00122,"percentile":0.02156,"date":"2026-12-02T12:00:21.000Z"}}