{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "7cde76db8883ec8a3d1456068079ecadbfb15ca5"
            },
            {
              "fixed": "dd24998a4a4016fb9921916024399bd80f0d45c6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "1dabf00ee206eceb0f08a1fe5d1ce635f9064338"
            },
            {
              "fixed": "18c64439f249859b6140f7bf8bcf95c8ed841f28"
            },
            {
              "fixed": "f27cfdcfc916bb59297825805f4c3499f89f9e76"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "d4457f23ac0130240053a34be663f0fade3bb371"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.18.16"
            },
            {
              "fixed": "6.18.32"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.19.6"
            },
            {
              "fixed": "6.20"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.18.32"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46240.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: iris: Fix use-after-free in iris_release_internal_buffers()\n\nThe recent change in commit 1dabf00ee206 (\"media: iris: gen1: Destroy\ninternal buffers after FW releases\") introduced a regression where\nsession_release_buf() may free the buffer. The caller,\niris_release_internal_buffers(), continued to access `buffer` after the\ncall, leading to a potential use-after-free.\n\nFix this by setting BUF_ATTR_PENDING_RELEASE before calling\nsession_release_buf(), and reverting the flag if the call fails. This\nensures no dereference occurs after potential freeing.",
  "id": "CVE-2026-46240",
  "modified": "2026-07-08T05:36:27.351591177Z",
  "published": "2026-05-28T09:41:08.376Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/18c64439f249859b6140f7bf8bcf95c8ed841f28"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dd24998a4a4016fb9921916024399bd80f0d45c6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f27cfdcfc916bb59297825805f4c3499f89f9e76"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46240.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-46240"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "media: iris: Fix use-after-free in iris_release_internal_buffers()"
}