CVE-2026-43297: media: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()

Published May 8, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

media: rockchip: rga: Fix possible ERRPTR dereference in rgabufinit()

rgagetframe() can return ERRPTR(-EINVAL) when buffer type is unsupported or invalid. rgabufinit() does not check the return value and unconditionally dereferences the pointer when accessing f->size.

Add proper ERRPTR checking and return the error to prevent dereferencing an invalid pointer.

Affected Software

4 affected components
Linux Linux kernel (media/rockchip rga)
Linux Linux kernel>=6.8<6.12.75
Linux Linux kernel>=6.13<6.18.16
Linux Linux kernel>=6.19<6.19.6

Event History

May 8, 2026
CVE Published
via MITRE·01:11 PM
Data Sourced
via MITRE·01:11 PM
Description
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-43297?

CVE-2026-43297 is classified as a medium severity vulnerability due to the potential for ERR_PTR dereference.

2

How do I fix CVE-2026-43297?

To fix CVE-2026-43297, update the Linux kernel to the latest stable version where the vulnerability has been addressed.

3

Which versions of the Linux kernel are affected by CVE-2026-43297?

CVE-2026-43297 affects specific versions of the Linux kernel that utilize the rockchip rga component.

4

What can happen if CVE-2026-43297 is exploited?

If exploited, CVE-2026-43297 may lead to crashes or undefined behavior due to dereferencing an invalid pointer.

5

Who is primarily affected by CVE-2026-43297?

Users running applications that utilize the media: rockchip rga functionality within the Linux kernel are primarily affected by CVE-2026-43297.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203