CVE-2026-43297

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

No CVSS score yet EPSS 0.12%

Published 8 May 2026 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2026-43297

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-43297 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.12%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.16% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6040702ade234c8212dcfdef85e2f5549aa2f0f5, before 5da29ade540b51763b950987bd410add7edaf3d1
affected from 6040702ade234c8212dcfdef85e2f5549aa2f0f5, before 1af2853b4e97fd95262fdef311b2334337069bc9
affected from 6040702ade234c8212dcfdef85e2f5549aa2f0f5, before aa22221c5dc695a3d479e1e1b63f0c0e9eb29dbf
affected from 6040702ade234c8212dcfdef85e2f5549aa2f0f5, before 81f8e0e6a2e115df9274d0289779f8fca694479c
Other versions: unaffected
Linux
affected 6.8
unaffected before 6.8
unaffected from 6.12.75 up to and including 6.12.*
unaffected from 6.18.16 up to and including 6.18.*
unaffected from 6.19.6 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-43297 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-43297

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-43297
trivy image --scanners vuln IMAGE | grep CVE-2026-43297

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-43297 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.