CVE-2026-68230

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

Published Aug 10, 2026 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
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

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Ubuntu USN Ubuntu USN USN-8887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8889-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-2 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8887-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
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'}

Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Weaknesses CWE-119
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
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 5:01 AM
Reserved
Jul 30, 2026, 9:28 AM
Status
Received
Published
Aug 10, 2026, 1:20 PM
Modified
Aug 17, 2026, 5:18 AM
Severity
Public date
Aug 10, 2026, 12:00 AM