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
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A buffer overflow was identified in the amlogic-c3 media driver for the Linux kernel. The vulnerability arises when the number of zones in the auto‑exposure (AE) or auto‑white‑balance (AWB) configuration exceeds the provided zone weight array, allowing an attacker to write beyond the bounds of the configuration structure. If successful, this memory corruption could enable execution of arbitrary code within kernel space, granting elevated privileges. The flaw is a classic out‑of‑bounds write (CWE‑119), correcting a smatch reported buffer overflow in the source files c3-isp-params.c.

Affected Systems

The issue affects any Linux system running a kernel that includes the amlogic‑c3 media driver, such as devices using Amlogic C3 SoCs. No specific vendor or product version is listed, but all Linux kernel installations that provide this driver are potentially impacted.

Risk and Exploitability

Because the vulnerability requires manipulation of AE/AWB configuration data, the most probable attack vector is local or via a privileged user that can control the media subsystem. The EPSS score is not available, and the flaw is not listed in CISA KEV, indicating no confirmed widespread exploitation. Nonetheless, as a kernel buffer overflow, the risk of exploitation remains high if an attacker gains control of the media driver input path. Prompt patching is recommended to mitigate this risk.

Generated by OpenCVE AI on August 10, 2026 at 14:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the fixed amlogic-c3 driver (e.g., kernel 6.6 or newer).
  • If a patch is not immediately available, disable the amlogic-c3 media driver by setting the appropriate kernel configuration option (CONFIG_MEDIA_CAMERA_V4L2=y) to n or unload the driver modules before rebooting.
  • Monitor system logs for abnormal memory access errors in the media subsystem and apply any future upstream patches that address similar kernel driver validations.

Generated by OpenCVE AI on August 10, 2026 at 14:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
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
Title media: amlogic-c3: Add validations for ae and awb config
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-10T12:00:53.425Z

Reserved: 2026-07-30T09:28:09.376Z

Link: CVE-2026-68230

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T18:30:04Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer