CVE-2026-43297

MEDIUM

media: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (14)
linux/Kernel 6.13.0 - 6.18.16linux
linux/Kernel 6.19.0 - 6.19.6linux
linux/Kernel 6.8.0 - 6.12.75linux
Linux/Linux < 6.8
Linux/Linux 6.12.75 - 6.12.*
Linux/Linux 6.18.16 - 6.18.*
Linux/Linux 6.19.6 - 6.19.*
Linux/Linux 6.8
Linux/Linux 6040702ade234c8212dcfdef85e2f5549aa2f0f5 - 1af2853b4e97fd95262fdef311b2334337069bc9
Linux/Linux 6040702ade234c8212dcfdef85e2f5549aa2f0f5 - 5da29ade540b51763b950987bd410add7edaf3d1
... and 4 more
Published May 08, 2026
Tracked Since May 08, 2026