CVE-2026-68230: media: amlogic-c3: Add validations for ae and awb config
In the Linux kernel, the following vulnerability has been resolved:
media: amlogic-c3: Add validations for ae and awb config
Avoid invalid memory access if the zonesnum is bigger than zoneweight.
This patch fixes the following smatch errors: drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3ispparamsawbwt() error: buffer overflow 'cfg->zoneweight' 768 <= u32max drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3ispparamsawbwt() error: buffer overflow 'cfg->zoneweight' 768 <= u32max drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3ispparamsaewt() error: buffer overflow 'cfg->zoneweight' 255 <= u32max drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3ispparamsaewt() error: buffer overflow 'cfg->zoneweight' 255 <= u32max
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/linux-aws-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1014.14~24.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1017.17~24.04.1 - Upgrade
Upgrade
ubuntu/linux-azure-fde-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1016.16~24.04.1 - Upgrade
Upgrade
ubuntu/linux-gcp-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1014.14~24.04.1 - Upgrade
Upgrade
ubuntu/linux-hwe-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-38.38~24.04.4 - Upgrade
Upgrade
ubuntu/linux-nvidia-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1024.25~24.04.1 - Upgrade
Upgrade
ubuntu/linux-oracle-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1013.13~24.04.1 - Upgrade
Upgrade
ubuntu/linux-riscv-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1~24.04.1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 7.0.0-38.38 - Upgrade
Upgrade
ubuntu/linux-awsto a version that resolves this vulnerability.Fixed in 7.0.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-azureto a version that resolves this vulnerability.Fixed in 7.0.0-1017.17 - Upgrade
Upgrade
ubuntu/linux-azure-fdeto a version that resolves this vulnerability.Fixed in 7.0.0-1016.16 - Upgrade
Upgrade
ubuntu/linux-gcpto a version that resolves this vulnerability.Fixed in 7.0.0-1014.14 - Upgrade
Upgrade
ubuntu/linux-gketo a version that resolves this vulnerability.Fixed in 7.0.0-1008.9 - Upgrade
Upgrade
ubuntu/linux-ibmto a version that resolves this vulnerability.Fixed in 7.0.0-1015.15 - Upgrade
Upgrade
ubuntu/linux-nvidia-bosto a version that resolves this vulnerability.Fixed in 7.0.0-2022.23 - Upgrade
Upgrade
ubuntu/linux-oem-7.0to a version that resolves this vulnerability.Fixed in 7.0.0-1015.15 - Upgrade
Upgrade
ubuntu/linux-oracleto a version that resolves this vulnerability.Fixed in 7.0.0-1013.13 - Upgrade
Upgrade
ubuntu/linux-realtimeto a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1 - Upgrade
Upgrade
ubuntu/linux-riscvto a version that resolves this vulnerability.Fixed in 7.0.0-38.38.1 - Compensating control
Add validations for the AEC and AWB configurations so zones_num cannot exceed the corresponding zone_weight buffer size, preventing invalid memory access in c3_isp_params_ae_wt() and c3_isp_params_awb_wt().
Event History
Frequently Asked Questions
What is the severity of CVE-2026-68230?
The severity of CVE-2026-68230 is classified as 27.
What type of vulnerability is CVE-2026-68230?
CVE-2026-68230 is classified as a Buffer Overflow vulnerability.
How do I fix CVE-2026-68230?
To fix CVE-2026-68230, update the Linux kernel with the patch that adds validations for ae and awb configuration.
What is affected by CVE-2026-68230?
CVE-2026-68230 affects the media subsystem in the Amlogic C3 kernel drivers.
When was CVE-2026-68230 published?
CVE-2026-68230 was published on August 10, 2026.