CVE-2026-43297
media: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | May 8, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
6040702ade234c8212dcfdef85e2f5549aa2f0f5 < 5da29ade540b51763b950987bd410add7edaf3d1 6040702ade234c8212dcfdef85e2f5549aa2f0f5 < 1af2853b4e97fd95262fdef311b2334337069bc9 6040702ade234c8212dcfdef85e2f5549aa2f0f5 < aa22221c5dc695a3d479e1e1b63f0c0e9eb29dbf 6040702ade234c8212dcfdef85e2f5549aa2f0f5 < 81f8e0e6a2e115df9274d0289779f8fca694479c
Linux / Linux
6.8
References
git.kernel.org: https://git.kernel.org/stable/c/5da29ade540b51763b950987bd410add7edaf3d1 git.kernel.org: https://git.kernel.org/stable/c/1af2853b4e97fd95262fdef311b2334337069bc9 git.kernel.org: https://git.kernel.org/stable/c/aa22221c5dc695a3d479e1e1b63f0c0e9eb29dbf git.kernel.org: https://git.kernel.org/stable/c/81f8e0e6a2e115df9274d0289779f8fca694479c