{"id":"CVE-2026-139048","state":"PUBLISHED","title":"media: pci: hws: only init channels the device actually has","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: pci: hws: only init channels the device actually has\n\nhws_probe() initializes max_channels (always 4) control handlers, but\nregister/unregister only walk cur_max_video_ch (1 or 2 on smaller\nchips). The extra handlers are never freed.\n\nInitialize the same number of channels that cleanup uses.","publishedAt":"2026-11-30T13:27:23.112Z","updatedAt":"2026-11-30T13:27:23.112Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ba07fd2f5742e8b0d965003b34c7a44eb4f67e53","status":"affected","lessThan":"079615bb524a3f118b1c82fdf49c2596eae6f340","versionType":"git"},{"version":"ba07fd2f5742e8b0d965003b34c7a44eb4f67e53","status":"affected","lessThan":"ad5390c35ccf98cec66ef1009351305f25b5a757","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/pci/hws/hws_pci.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/pci/hws/hws_pci.c"]}],"references":["https://git.kernel.org/stable/c/079615bb524a3f118b1c82fdf49c2596eae6f340","https://git.kernel.org/stable/c/ad5390c35ccf98cec66ef1009351305f25b5a757"],"weaknesses":[],"ingestedAt":"2026-11-30T13:42:04.437Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139048.json","commit":"5317bbbde1916a58cb1fadabb726eb126daf44c1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139048","state":"PUBLISHED","datePublished":"2026-11-30T13:27:23.112Z","dateUpdated":"2026-11-30T13:27:23.112Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.911Z"},"containers":{"cna":{"title":"media: pci: hws: only init channels the device actually has","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: pci: hws: only init channels the device actually has\n\nhws_probe() initializes max_channels (always 4) control handlers, but\nregister/unregister only walk cur_max_video_ch (1 or 2 on smaller\nchips). The extra handlers are never freed.\n\nInitialize the same number of channels that cleanup uses."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ba07fd2f5742e8b0d965003b34c7a44eb4f67e53","status":"affected","lessThan":"079615bb524a3f118b1c82fdf49c2596eae6f340","versionType":"git"},{"version":"ba07fd2f5742e8b0d965003b34c7a44eb4f67e53","status":"affected","lessThan":"ad5390c35ccf98cec66ef1009351305f25b5a757","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/pci/hws/hws_pci.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/pci/hws/hws_pci.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/079615bb524a3f118b1c82fdf49c2596eae6f340"},{"url":"https://git.kernel.org/stable/c/ad5390c35ccf98cec66ef1009351305f25b5a757"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:27:23.112Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}