Linux kernel CVE announcements
 help / color / mirror / Atom feed
* CVE-2026-43301: media: chips-media: wave5: Fix PM runtime usage count underflow
@ 2026-05-08 13:12 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-05-08 13:12 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

From: Greg Kroah-Hartman <gregkh@kernel.org>

Description
===========

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

media: chips-media: wave5: Fix PM runtime usage count underflow

Replace pm_runtime_put_sync() with pm_runtime_dont_use_autosuspend() in
the remove path to properly pair with pm_runtime_use_autosuspend() from
probe. This allows pm_runtime_disable() to handle reference count cleanup
correctly regardless of current suspend state.

The driver calls pm_runtime_put_sync() unconditionally in remove, but the
device may already be suspended due to autosuspend configured in probe.
When autosuspend has already suspended the device, the usage count is 0,
and pm_runtime_put_sync() decrements it to -1.

This causes the following warning on module unload:

  ------------[ cut here ]------------
  WARNING: CPU: 1 PID: 963 at kernel/kthread.c:1430
    kthread_destroy_worker+0x84/0x98
  ...
  vdec 30210000.video-codec: Runtime PM usage count underflow!

The Linux kernel CVE team has assigned CVE-2026-43301 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.8 with commit 9707a6254a8a6b978bde811a44fe07d86c229d1c and fixed in 6.18.16 with commit 3a278a55ead50db2444c8f01410c7f5a68723990
	Issue introduced in 6.8 with commit 9707a6254a8a6b978bde811a44fe07d86c229d1c and fixed in 6.19.6 with commit 0bffda02317989f8d5cdc2d4462a4110b1290cf0
	Issue introduced in 6.8 with commit 9707a6254a8a6b978bde811a44fe07d86c229d1c and fixed in 7.0 with commit 9cf4452e824c1e2d41c9c0b13cc8a32a0a7dec38

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-43301
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/media/platform/chips-media/wave5/wave5-vpu.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/3a278a55ead50db2444c8f01410c7f5a68723990
	https://git.kernel.org/stable/c/0bffda02317989f8d5cdc2d4462a4110b1290cf0
	https://git.kernel.org/stable/c/9cf4452e824c1e2d41c9c0b13cc8a32a0a7dec38

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-08 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08 13:12 CVE-2026-43301: media: chips-media: wave5: Fix PM runtime usage count underflow Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox