{"api_version":"1","generated_at":"2026-08-15T02:49:12+00:00","cve":"CVE-2026-68230","urls":{"html":"https://cve.report/CVE-2026-68230","api":"https://cve.report/api/cve/CVE-2026-68230.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-68230","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-68230"},"summary":{"title":"media: amlogic-c3: Add validations for ae and awb config","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: amlogic-c3: Add validations for ae and awb config\n\nAvoid invalid memory access if the zones_num is bigger than\nzone_weight.\n\nThis patch fixes the following smatch errors:\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() error: buffer overflow 'cfg->zone_weight' 768 <= u32max\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() error: buffer overflow 'cfg->zone_weight' 768 <= u32max\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() error: buffer overflow 'cfg->zone_weight' 255 <= u32max\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() error: buffer overflow 'cfg->zone_weight' 255 <= u32max","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-10 13:20:11","updated_at":"2026-08-13 23:17:25"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.3","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","data":{"baseScore":7.3,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/391fe3e36e59f3c6e3d46edfb3a5de51e00cd216","name":"https://git.kernel.org/stable/c/391fe3e36e59f3c6e3d46edfb3a5de51e00cd216","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/32cbe5474e74817aa8a576b94135cc45e59f5e07","name":"https://git.kernel.org/stable/c/32cbe5474e74817aa8a576b94135cc45e59f5e07","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9724164f71974a2a44a5e026614fbcc05bab6d91","name":"https://git.kernel.org/stable/c/9724164f71974a2a44a5e026614fbcc05bab6d91","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-68230","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68230","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fb2e135208f364f26b7579c191434d38655e813f 391fe3e36e59f3c6e3d46edfb3a5de51e00cd216 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fb2e135208f364f26b7579c191434d38655e813f 32cbe5474e74817aa8a576b94135cc45e59f5e07 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected fb2e135208f364f26b7579c191434d38655e813f 9724164f71974a2a44a5e026614fbcc05bab6d91 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.42 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.6 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"68230","cve":"CVE-2026-68230","epss":"0.001700000","percentile":"0.066760000","score_date":"2026-08-14","updated_at":"2026-08-15 00:04:44"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/media/platform/amlogic/c3/isp/c3-isp-params.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"391fe3e36e59f3c6e3d46edfb3a5de51e00cd216","status":"affected","version":"fb2e135208f364f26b7579c191434d38655e813f","versionType":"git"},{"lessThan":"32cbe5474e74817aa8a576b94135cc45e59f5e07","status":"affected","version":"fb2e135208f364f26b7579c191434d38655e813f","versionType":"git"},{"lessThan":"9724164f71974a2a44a5e026614fbcc05bab6d91","status":"affected","version":"fb2e135208f364f26b7579c191434d38655e813f","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/media/platform/amlogic/c3/isp/c3-isp-params.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.16"},{"lessThan":"6.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.42","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.42","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.6","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"6.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: amlogic-c3: Add validations for ae and awb config\n\nAvoid invalid memory access if the zones_num is bigger than\nzone_weight.\n\nThis patch fixes the following smatch errors:\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() error: buffer overflow 'cfg->zone_weight' 768 <= u32max\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() error: buffer overflow 'cfg->zone_weight' 768 <= u32max\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() error: buffer overflow 'cfg->zone_weight' 255 <= u32max\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() error: buffer overflow 'cfg->zone_weight' 255 <= u32max"}],"metrics":[{"cvssV3_1":{"baseScore":7.3,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerability is reached only through the local V4L2 meta-output device node of the Amlogic C3 ISP driver, by opening /dev/videoX and issuing VIDIOC_QBUF plus VIDIOC_STREAMON ioctls. No network or adjacent-network path exists.\nAC:L - Both horiz_zones_num and vert_zones_num are copied verbatim from the queued parameters buffer with no validation, so setting them to 0xff deterministically produces a ~64KB out-of-bounds read on every stream start. No race, timing, or memory-layout condition is involved.\nPR:L - The attacker only needs read/write access to the ISP parameters video node (typically group video, or the camera service/HAL user on Android-class devices); no CAP_SYS_ADMIN or root is required, and every ioctl on the path is unprivileged.\nUI:N - The attacking process queues the malformed parameter buffer and starts streaming entirely on its own; no action by any other user or victim process is needed.\nS:U - The out-of-bounds access occurs in kernel memory within the same security authority as the kernel itself; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - zones_num can reach 255*255=65025 against a 255-byte (AE) or 768-byte (AWB) array inside a ~1.7KB kvmalloc buffer, so up to ~64KB of adjacent kernel heap is read out of bounds and pushed into device state — a large, attacker-positioned disclosure of kernel memory rather than a few strictly bounded bytes.\nI:L - The loop performs thousands of writes (up to 8128 register writes) of out-of-bounds heap data into the auto-incrementing AE/AWB weight LUT, far beyond its 32/96-entry depth, corrupting ISP hardware configuration and the statistics delivered to userspace; no arbitrary kernel memory write is available.\nA:H - Reading ~64KB past the end of a slab object can hit an unmapped or poisoned page and oops; the same code runs from c3_isp_params_isr() in interrupt context under spinlock_irqsave, where a fault reliably results in a kernel panic, and it is also an immediate KASAN slab-out-of-bounds."}]}],"providerMetadata":{"dateUpdated":"2026-08-13T22:42:11.151Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/391fe3e36e59f3c6e3d46edfb3a5de51e00cd216"},{"url":"https://git.kernel.org/stable/c/32cbe5474e74817aa8a576b94135cc45e59f5e07"},{"url":"https://git.kernel.org/stable/c/9724164f71974a2a44a5e026614fbcc05bab6d91"}],"title":"media: amlogic-c3: Add validations for ae and awb config","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-68230","datePublished":"2026-08-10T12:00:53.425Z","dateReserved":"2026-07-30T09:28:09.376Z","dateUpdated":"2026-08-13T22:42:11.151Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-10 13:20:11","lastModifiedDate":"2026-08-13 23:17:25","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"LOW","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.5}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"68230","Ordinal":"1","Title":"media: amlogic-c3: Add validations for ae and awb config","CVE":"CVE-2026-68230","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"68230","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: amlogic-c3: Add validations for ae and awb config\n\nAvoid invalid memory access if the zones_num is bigger than\nzone_weight.\n\nThis patch fixes the following smatch errors:\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() error: buffer overflow 'cfg->zone_weight' 768 <= u32max\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:111 c3_isp_params_awb_wt() error: buffer overflow 'cfg->zone_weight' 768 <= u32max\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() error: buffer overflow 'cfg->zone_weight' 255 <= u32max\ndrivers/media/platform/amlogic/c3/isp/c3-isp-params.c:227 c3_isp_params_ae_wt() error: buffer overflow 'cfg->zone_weight' 255 <= u32max","Type":"Description","Title":"media: amlogic-c3: Add validations for ae and awb config"}]}}}