{"id":"CVE-2025-40015","summary":"media: stm32-csi: Fix dereference before NULL check","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.","modified":"2026-04-02T12:48:14.953393Z","published":"2025-10-20T15:29:09.728Z","related":["openSUSE-SU-2025:15671-1","openSUSE-SU-2026:10301-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40015.json","cna_assigner":"Linux"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e7bad98c205d17c745de9d83ebf73e53cbf99d48"},{"fixed":"1f053d82e59c785b2b939cbed12f13657f84b296"},{"fixed":"4eeafff163e80d576c5efc1360ae310c0ceedd02"},{"fixed":"80eaf32672871bd2623ce6ba13ffc1f018756580"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40015.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.15.0"},{"fixed":"6.16.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.17.1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40015.json"}}],"schema_version":"1.7.5"}