media: pci: hws: only init channels the device actually has

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

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

media: pci: hws: only init channels the device actually has

hws_probe() initializes max_channels (always 4) control handlers, but register/unregister only walk cur_max_video_ch (1 or 2 on smaller chips). The extra handlers are never freed.

Initialize the same number of channels that cleanup uses.

ProductVersions
Linux Linuxba07fd2f5742e8b0d965003b34c7a44eb4f67e53 to before 079615bb524a3f118b1c82fdf49c2596eae6f340 Affectedba07fd2f5742e8b0d965003b34c7a44eb4f67e53 to before ad5390c35ccf98cec66ef1009351305f25b5a757 Affected
Linux Linux7.2 Affectedbefore 7.2 Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.