CVE-2026-68230 PUBLISHED

media: amlogic-c3: Add validations for ae and awb config

Assigner: Linux
Reserved: 30.07.2026 Published: 10.08.2026 Updated: 10.08.2026

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 zones_num is bigger than zone_weight.

This patch fixes the following smatch errors: drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() error: buffer overflow 'cfg->zone_weight' 768 <= u32max drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() error: buffer overflow 'cfg->zone_weight' 768 <= u32max drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() error: buffer overflow 'cfg->zone_weight' 255 <= u32max drivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() error: buffer overflow 'cfg->zone_weight' 255 <= u32max

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from fb2e135208f364f26b7579c191434d38655e813f to 391fe3e36e59f3c6e3d46edfb3a5de51e00cd216 (excl.)
  • affected from fb2e135208f364f26b7579c191434d38655e813f to 32cbe5474e74817aa8a576b94135cc45e59f5e07 (excl.)
  • affected from fb2e135208f364f26b7579c191434d38655e813f to 9724164f71974a2a44a5e026614fbcc05bab6d91 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.16 is affected
  • unaffected from 0 to 6.16 (excl.)
  • unaffected from 6.18.42 to 6.18.* (incl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References