Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-36785

published high CVSS 3.1 · 7.8

media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs()

Published
28 Feb 2024, 08:13:06 UTC
Updated
26 Aug 2026, 11:00:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa49d25364dfb9f8a64037488a39ab1f56c5fa419 to < 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654 · ad85094b293e40e7a2f831b0311a389d952ebd5e to < d218c7a0284f6b92a7b82d2e19706e18663b4193 · ad85094b293e40e7a2f831b0311a389d952ebd5e to < 801c1d505894008c888bc71d08d5cff5d87f8aba · ad85094b293e40e7a2f831b0311a389d952ebd5e to < 8267ccd7b9df7ab682043507dd682fe0621cf045 · ad85094b293e40e7a2f831b0311a389d952ebd5e to < ba11bbf303fafb33989e95473e409f6ab412b18d · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.12 (affected) · 5.8 (affected) · 0 to < 4.12 (unaffected · semver) · 4.18 to < 5.8 (unaffected · semver) · 5.10.37 through 5.10.* (unaffected · semver) · 5.11.21 through 5.11.* (unaffected · semver) · 5.12.4 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs() The "s3a_buf" is freed along with all the other items on the "asd->s3a_stats" list. It leads to a double free and a use after free.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - Exploitation requires opening the AtomISP V4L2 `/dev/video*` node and issuing local ioctls (VIDIOC_REQBUFS / format setup) that call atomisp_alloc_css_stat_bufs(); it is not reachable via network or adjacent-protocol packets. AC:L - An attacker who can open the device can enable both S3A and DIS grids through normal camera configuration and force the dis_buf kzalloc failure (e.g., memory exhaustion), reliably hitting the deterministic double-free error path. PR:L - atomisp_open and the VIDIOC_REQBUFS path perform no CAP_SYS_ADMIN/root checks; access only needs an unprivileged local user with video-group or camera-permission access to the device node. UI:N - The attacker opens the device and issues the ioctls themselves; no separate victim interaction is required. S:U - Impact is kernel memory corruption within the host kernel privilege boundary (local privilege escalation/DoS), not a VM, IOMMU, or other cross-authority escape. C:H - Double-free/use-after-free of the list-linked s3a_buf enables heap reuse and arbitrary kernel memory reads once the freed object is reclaimed. I:H - The UAF/double-free allows heap spraying and corruption of freed kernel objects, enabling arbitrary write or control-flow hijacking primitives. A:H - The double-free/UAF reliably causes kernel oops, panic, or hang even without full exploitation.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a49d25364dfb9f8a64037488a39ab1f56c5fa419 to < 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654 (affected · git)ad85094b293e40e7a2f831b0311a389d952ebd5e to < d218c7a0284f6b92a7b82d2e19706e18663b4193 (affected · git)ad85094b293e40e7a2f831b0311a389d952ebd5e to < 801c1d505894008c888bc71d08d5cff5d87f8aba (affected · git)ad85094b293e40e7a2f831b0311a389d952ebd5e to < 8267ccd7b9df7ab682043507dd682fe0621cf045 (affected · git)ad85094b293e40e7a2f831b0311a389d952ebd5e to < ba11bbf303fafb33989e95473e409f6ab412b18d (affected · git)Default: unaffected Linux · cna
Linux Linux 4.12 (affected)5.8 (affected)0 to < 4.12 (unaffected · semver)4.18 to < 5.8 (unaffected · semver)5.10.37 through 5.10.* (unaffected · semver)5.11.21 through 5.11.* (unaffected · semver)5.12.4 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs()

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
c73561e2b1f68d0a2261810117c3376400bc729f839f51630048f1620541ca9c
Ingested
23 Sep 2026, 07:50:32 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected