{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "e7bad98c205d17c745de9d83ebf73e53cbf99d48"
            },
            {
              "fixed": "1f053d82e59c785b2b939cbed12f13657f84b296"
            },
            {
              "fixed": "4eeafff163e80d576c5efc1360ae310c0ceedd02"
            },
            {
              "fixed": "80eaf32672871bd2623ce6ba13ffc1f018756580"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.15.0"
            },
            {
              "fixed": "6.16.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.17.0"
            },
            {
              "fixed": "6.17.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40015.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: stm32-csi: Fix dereference before NULL check\n\nIn 'stm32_csi_start', 'csidev-\u003es_subdev' is dereferenced directly while\nassigning a value to the 'src_pad'. However the same value is being\nchecked against NULL at a later point of time indicating that there\nare chances that the value can be NULL.\n\nMove the dereference after the NULL check.",
  "id": "CVE-2025-40015",
  "modified": "2026-04-01T23:08:50.718746952Z",
  "published": "2025-10-20T15:29:09.728Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1f053d82e59c785b2b939cbed12f13657f84b296"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4eeafff163e80d576c5efc1360ae310c0ceedd02"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/80eaf32672871bd2623ce6ba13ffc1f018756580"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40015.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-40015"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "summary": "media: stm32-csi: Fix dereference before NULL check"
}