# CVE-2020-36785: media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-02-28T08:13:06.032Z
- Modified: 2026-08-26T11:16:36.860Z
- Weaknesses: CWE-415, CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from a49d25364dfb9f8a64037488a39ab1f56c5fa419 before 51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654; from ad85094b293e40e7a2f831b0311a389d952ebd5e before d218c7a0284f6b92a7b82d2e19706e18663b4193; from ad85094b293e40e7a2f831b0311a389d952ebd5e before 801c1d505894008c888bc71d08d5cff5d87f8aba; from ad85094b293e40e7a2f831b0311a389d952ebd5e before 8267ccd7b9df7ab682043507dd682fe0621cf045; from ad85094b293e40e7a2f831b0311a389d952ebd5e before ba11bbf303fafb33989e95473e409f6ab412b18d; 4.12; 5.8 (not affected: before 4.12; from 4.18 before 5.8; from 5.10.37 up to 5.10.*; from 5.11.21 up to 5.11.*; from 5.12.4 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 5.8 before 5.10.37; from 5.11 before 5.11.21; from 5.12 before 5.12.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/51b8dc5163d2ff2bf04019f8bf7e3bd0e75bb654>
- <https://git.kernel.org/stable/c/d218c7a0284f6b92a7b82d2e19706e18663b4193> (patch)
- <https://git.kernel.org/stable/c/801c1d505894008c888bc71d08d5cff5d87f8aba> (patch)
- <https://git.kernel.org/stable/c/8267ccd7b9df7ab682043507dd682fe0621cf045> (patch)
- <https://git.kernel.org/stable/c/ba11bbf303fafb33989e95473e409f6ab412b18d> (patch)

## Sources

- CVE List: [CVE-2020-36785](https://www.cve.org/CVERecord?id=CVE-2020-36785), CVE Terms of Use, modified 2026-08-26
- NVD: [CVE-2020-36785](https://nvd.nist.gov/vuln/detail/CVE-2020-36785), Public domain, modified 2026-08-26

---

Page: https://cve.day/CVE-2020-36785 · Whole record: https://cve.day/CVE-2020-36785.json · Rebuilt by cve.day 2026-11-25T22:57:58.950Z
