{"id":"CVE-2026-43297","summary":"media: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()\n\nrga_get_frame() can return ERR_PTR(-EINVAL) when buffer type is\nunsupported or invalid. rga_buf_init() does not check the return value\nand unconditionally dereferences the pointer when accessing f-\u003esize.\n\nAdd proper ERR_PTR checking and return the error to prevent\ndereferencing an invalid pointer.","modified":"2026-06-18T03:55:48.504151472Z","published":"2026-05-08T13:11:19.530Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43297.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1af2853b4e97fd95262fdef311b2334337069bc9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5da29ade540b51763b950987bd410add7edaf3d1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81f8e0e6a2e115df9274d0289779f8fca694479c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa22221c5dc695a3d479e1e1b63f0c0e9eb29dbf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43297.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43297"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6040702ade234c8212dcfdef85e2f5549aa2f0f5"},{"fixed":"5da29ade540b51763b950987bd410add7edaf3d1"},{"fixed":"1af2853b4e97fd95262fdef311b2334337069bc9"},{"fixed":"aa22221c5dc695a3d479e1e1b63f0c0e9eb29dbf"},{"fixed":"81f8e0e6a2e115df9274d0289779f8fca694479c"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43297.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.8.0"},{"fixed":"6.12.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43297.json"}}],"schema_version":"1.7.5"}