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: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the amlogic‑c3 media driver contains a buffering flaw that occurs when the number of zones specified in an auto‑exposure or auto‑white‑balance configuration exceeds the size of the zone weight array. This out‑of‑bounds write can corrupt kernel memory; the update to the driver adds checks that prevent the overflow. The vulnerability is a classic buffer overflow (CWE‑787) and was identified by scan analysis of the source files c3‑isp‑params.c.

Affected Systems

Any Linux system that implements the amlogic‑c3 driver, typically those running a kernel version that includes the media driver for Amlogic C3 SoCs. No specific vendor or sub‑version is listed, so any kernel that contains this driver is potentially affected.

Risk and Exploitability

Based on the description, it is inferred that an attacker would need to manipulate the AE/AWB configuration data via the media subsystem. The likely attack vector is local or privileged user control of the media driver, allowing an out‑of‑bounds write to corrupt kernel memory. The CVSS score of 7.3 indicates medium severity. The EPSS score of < 1% shows low exploitation probability, and the vulnerability is not in the CISA KEV catalog. While the exploitation path is not detailed, kernel memory corruption could lead to severe consequences if leveraged.

Generated by OpenCVE AI on August 14, 2026 at 01:27 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.
  • If an update is not immediately possible, disable the driver by removing or blacklisting the amlogic‑c3 module or by disabling the CONFIG_MEDIA_CAMERA_V4L2 kernel option.
  • Monitor system logs for abnormal memory access or crash events related to the media driver and apply future upstream patches that address similar driver validation issues.

Generated by OpenCVE AI on August 14, 2026 at 01:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H'}


Thu, 13 Aug 2026 07:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Wed, 12 Aug 2026 00:15:00 +0000


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-17T05:01:18.566Z

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

Link: CVE-2026-68230

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:11.250

Modified: 2026-08-17T05:18:25.280

Link: CVE-2026-68230

cve-icon Redhat

Severity :

Publid Date: 2026-08-10T00:00:00Z

Links: CVE-2026-68230 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T01:30:04Z

Weaknesses