What’s Vulnerable › Vulnerabilities
CVE-2026-43297: media: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-08 · updated 2026-06-17
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: media: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init() rga_get_frame() can return ERR_PTR(-EINVAL) when buffer type is unsupported or invalid. rga_buf_init() does not check the return value and unconditionally dereferences the pointer when accessing f->size. Add proper ERR_PTR checking and return the error to prevent dereferencing an invalid pointer.
Affected products
- Linux kernel: from 6.8 before 6.12.75; from 6.13 before 6.18.16; from 6.19 before 6.19.6 — fixed in 6.12.75, 6.18.16, 6.19.6
How to fix
Upgrade to a fixed version: Linux kernel 6.12.75, 6.18.16, 6.19.6. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1af2853b4e97fd95262fdef311b2334337069bc9
- https://git.kernel.org/stable/c/5da29ade540b51763b950987bd410add7edaf3d1
- https://git.kernel.org/stable/c/81f8e0e6a2e115df9274d0289779f8fca694479c
- https://git.kernel.org/stable/c/aa22221c5dc695a3d479e1e1b63f0c0e9eb29dbf
Get alerted when CVE-2026-43297 or the next vulnerability affects your stack