# CVE-2026-68230: media: amlogic-c3: Add validations for ae and awb config

- Severity: High 7.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-10T12:00:53.425Z
- Modified: 2026-12-01T17:04:59.503Z
- Weaknesses: CWE-787
- Assigned by: Linux

## Description

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

(As written by CVE List.)

## Affected

- Linux Linux: from fb2e135208f364f26b7579c191434d38655e813f before 391fe3e36e59f3c6e3d46edfb3a5de51e00cd216; from fb2e135208f364f26b7579c191434d38655e813f before 32cbe5474e74817aa8a576b94135cc45e59f5e07; from fb2e135208f364f26b7579c191434d38655e813f before 9724164f71974a2a44a5e026614fbcc05bab6d91; 6.16 (not affected: before 6.16; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.16 before 6.18.42; from 6.19 before 7.1.6

## References

- <https://git.kernel.org/stable/c/391fe3e36e59f3c6e3d46edfb3a5de51e00cd216> (patch)
- <https://git.kernel.org/stable/c/32cbe5474e74817aa8a576b94135cc45e59f5e07> (patch)
- <https://git.kernel.org/stable/c/9724164f71974a2a44a5e026614fbcc05bab6d91> (patch)

## Sources

- CVE List: [CVE-2026-68230](https://www.cve.org/CVERecord?id=CVE-2026-68230), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-68230](https://nvd.nist.gov/vuln/detail/CVE-2026-68230), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-68230 · Whole record: https://cve.day/CVE-2026-68230.json · Rebuilt by cve.day 2026-12-01T17:17:32.640Z
