# CVE-2026-43293: media: chips-media: wave5: Fix kthread worker destruction in polling mode

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-02)
- Published: 2026-05-08T13:11:16.812Z
- Modified: 2026-11-11T20:10:00.273Z
- Assigned by: Linux

## Description

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

media: chips-media: wave5: Fix kthread worker destruction in polling mode

Fix the cleanup order in polling mode (irq < 0) to prevent kernel warnings
during module removal. Cancel the hrtimer before destroying the kthread
worker to ensure work queues are empty.

In polling mode, the driver uses hrtimer to periodically trigger
wave5_vpu_timer_callback() which queues work via kthread_queue_work().
The kthread_destroy_worker() function validates that both work queues
are empty with WARN_ON(!list_empty(&worker->work_list)) and
WARN_ON(!list_empty(&worker->delayed_work_list)).

The original code called kthread_destroy_worker() before hrtimer_cancel(),
creating a race condition where the timer could fire during worker
destruction and queue new work, triggering the WARN_ON.

This causes the following warning on every module unload in polling mode:

  ------------[ 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 ]---

(As written by CVE List.)

## Affected

- Linux Linux: from ed7276ed2fd02208bfca9f222ef1e7b2743d710d before 156020e889edf4593870d926d3c4a6d06baac44a; from ed7276ed2fd02208bfca9f222ef1e7b2743d710d before cc8071b1bac6568ea09d54be2d4f74dba80e17f8; from ed7276ed2fd02208bfca9f222ef1e7b2743d710d before 0c2e752688a0ee3b89993e6de6c496d863870c93; from ed7276ed2fd02208bfca9f222ef1e7b2743d710d before 5a0c122e834b2f7f029526422c71be922960bf03; 6.10 (not affected: before 6.10; from 6.12.75 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.10 before 6.12.75; from 6.13 before 6.18.16; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/156020e889edf4593870d926d3c4a6d06baac44a> (patch)
- <https://git.kernel.org/stable/c/cc8071b1bac6568ea09d54be2d4f74dba80e17f8> (patch)
- <https://git.kernel.org/stable/c/0c2e752688a0ee3b89993e6de6c496d863870c93> (patch)
- <https://git.kernel.org/stable/c/5a0c122e834b2f7f029526422c71be922960bf03> (patch)

## Sources

- CVE List: [CVE-2026-43293](https://www.cve.org/CVERecord?id=CVE-2026-43293), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-43293](https://nvd.nist.gov/vuln/detail/CVE-2026-43293), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43293 · Whole record: https://cve.day/CVE-2026-43293.json · Rebuilt by cve.day 2026-11-25T22:59:20.977Z
