{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6040702ade234c8212dcfdef85e2f5549aa2f0f5"
            },
            {
              "fixed": "5da29ade540b51763b950987bd410add7edaf3d1"
            },
            {
              "fixed": "1af2853b4e97fd95262fdef311b2334337069bc9"
            },
            {
              "fixed": "aa22221c5dc695a3d479e1e1b63f0c0e9eb29dbf"
            },
            {
              "fixed": "81f8e0e6a2e115df9274d0289779f8fca694479c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43297.json"
  },
  "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.",
  "id": "CVE-2026-43297",
  "modified": "2026-07-08T05:39:27.568447717Z",
  "published": "2026-05-08T13:11:19.530Z",
  "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"
    }
  ],
  "schema_version": "1.7.5",
  "summary": "media: rockchip: rga: Fix possible ERR_PTR dereference in rga_buf_init()"
}