Skip to contentSkip to conversation

CVE-2026-98915: media: video-i2c: use vb2_video_unregister_device on driver removal

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

media: video-i2c: use vb2_video_unregister_device on driver removal

The driver uses vb2_fop_release() as its file release operation, so vb2_video_unregister_device() should be used instead of video_unregister_device() during driver removal.

This ensures that the vb2 queue is properly disconnected before the video device is unregistered.

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

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

	Fixed in 6.1.189 with commit 97adc8cd04df2085f7fd437838005f3bb16bafae
	Fixed in 6.6.158 with commit b7afb0c24a761c2367e5fa87a9941d67d373c127
	Fixed in 6.12.111 with commit b8fba9f66019d4c83235c4219ff8edeb7e3af20d
	Fixed in 6.18.53 with commit 82e432c9ebfa13fb8d47d6d550be5d7d2a84a8ab
	Fixed in 7.2 with commit 56384b486b80ce4a2bc93689aae49995f908f90d

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-98915

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/i2c/video-i2c.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/97adc8cd04df2085f7fd437838005f3bb16bafae
	https://git.kernel.org/stable/c/b7afb0c24a761c2367e5fa87a9941d67d373c127
	https://git.kernel.org/stable/c/b8fba9f66019d4c83235c4219ff8edeb7e3af20d
	https://git.kernel.org/stable/c/82e432c9ebfa13fb8d47d6d550be5d7d2a84a8ab
	https://git.kernel.org/stable/c/56384b486b80ce4a2bc93689aae49995f908f90d