{"id":"CVE-2026-139038","state":"PUBLISHED","title":"media: microchip-isc: disable histogram and flush AWB work on teardown","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: microchip-isc: disable histogram and flush AWB work on teardown\n\nisc_stop_streaming() and the isc_start_streaming() error path dropped the\nruntime PM reference with the histogram still enabled. A HISDONE firing\njust before the stop, or a failed isc_update_profile() on the start path,\ncan queue isc_awb_work(), which reads the histogram registers before\ntaking its own PM reference and faults on the unclocked device.\n\nDisable the histogram, synchronize the IRQ and flush the work before the\ndevice is left unclocked. isc_configure() is the one enabling the\nhistogram and then calling isc_update_profile(), so do the cleanup in its\nown failure path; isc_stop_streaming() does the same on teardown.\nsynchronize_irq() must come before cancel_work_sync(), so an in-flight\nhandler cannot re-queue awb_work after it is cancelled.","publishedAt":"2026-11-30T13:27:17.596Z","updatedAt":"2026-11-30T13:27:17.596Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3","status":"affected","lessThan":"04d698f5bdb23f5e013fcbe751eb7a0b7a007b36","versionType":"git"},{"version":"93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3","status":"affected","lessThan":"e57d9cea533d232ffa31fd77f6d79fa704af57fc","versionType":"git"},{"version":"93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3","status":"affected","lessThan":"6dc8e17c26a9042291f7b6e70042c1499a20929a","versionType":"git"},{"version":"93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3","status":"affected","lessThan":"77496797f854d0a74621ed1b8fafc4d63a2b9666","versionType":"git"},{"version":"93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3","status":"affected","lessThan":"00d87c379915a3689b2488bd37f490875d79e20f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/microchip/microchip-isc-base.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.12","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","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/platform/microchip/microchip-isc-base.c"]}],"references":["https://git.kernel.org/stable/c/04d698f5bdb23f5e013fcbe751eb7a0b7a007b36","https://git.kernel.org/stable/c/e57d9cea533d232ffa31fd77f6d79fa704af57fc","https://git.kernel.org/stable/c/6dc8e17c26a9042291f7b6e70042c1499a20929a","https://git.kernel.org/stable/c/77496797f854d0a74621ed1b8fafc4d63a2b9666","https://git.kernel.org/stable/c/00d87c379915a3689b2488bd37f490875d79e20f"],"weaknesses":[],"ingestedAt":"2026-11-30T13:40:04.421Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139038.json","commit":"5317bbbde1916a58cb1fadabb726eb126daf44c1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139038","state":"PUBLISHED","datePublished":"2026-11-30T13:27:17.596Z","dateUpdated":"2026-11-30T13:27:17.596Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.910Z"},"containers":{"cna":{"title":"media: microchip-isc: disable histogram and flush AWB work on teardown","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: microchip-isc: disable histogram and flush AWB work on teardown\n\nisc_stop_streaming() and the isc_start_streaming() error path dropped the\nruntime PM reference with the histogram still enabled. A HISDONE firing\njust before the stop, or a failed isc_update_profile() on the start path,\ncan queue isc_awb_work(), which reads the histogram registers before\ntaking its own PM reference and faults on the unclocked device.\n\nDisable the histogram, synchronize the IRQ and flush the work before the\ndevice is left unclocked. isc_configure() is the one enabling the\nhistogram and then calling isc_update_profile(), so do the cleanup in its\nown failure path; isc_stop_streaming() does the same on teardown.\nsynchronize_irq() must come before cancel_work_sync(), so an in-flight\nhandler cannot re-queue awb_work after it is cancelled."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3","status":"affected","lessThan":"04d698f5bdb23f5e013fcbe751eb7a0b7a007b36","versionType":"git"},{"version":"93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3","status":"affected","lessThan":"e57d9cea533d232ffa31fd77f6d79fa704af57fc","versionType":"git"},{"version":"93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3","status":"affected","lessThan":"6dc8e17c26a9042291f7b6e70042c1499a20929a","versionType":"git"},{"version":"93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3","status":"affected","lessThan":"77496797f854d0a74621ed1b8fafc4d63a2b9666","versionType":"git"},{"version":"93d4a26c3dabcee4d8bd6c9a1aba779484dc3cc3","status":"affected","lessThan":"00d87c379915a3689b2488bd37f490875d79e20f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/microchip/microchip-isc-base.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.12","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","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/platform/microchip/microchip-isc-base.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/04d698f5bdb23f5e013fcbe751eb7a0b7a007b36"},{"url":"https://git.kernel.org/stable/c/e57d9cea533d232ffa31fd77f6d79fa704af57fc"},{"url":"https://git.kernel.org/stable/c/6dc8e17c26a9042291f7b6e70042c1499a20929a"},{"url":"https://git.kernel.org/stable/c/77496797f854d0a74621ed1b8fafc4d63a2b9666"},{"url":"https://git.kernel.org/stable/c/00d87c379915a3689b2488bd37f490875d79e20f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:27:17.596Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.12","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}