CVE-2026-43297

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

published May 8, 2026

CVSS
—
EPSS
0%
Percentile
5.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.0th percentile
Published
2026-05-08T13:11Z
EPSS history
Timeline
  • 08 MAY 13:11Z
    media: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()
    cvelistv5