CVE-2025-40015

published 20 Oct 2025 · updated 11 May 2026

media: stm32-csi: Fix dereference before NULL check

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1f053d82e59c785b2b939cbed12f13657f84b296, Kernel 4eeafff163e80d576c5efc1360ae310c0ceedd02 and Kernel 80eaf32672871bd2623ce6ba13ffc1f018756580.

In the Linux kernel, the following vulnerability has been resolved: media: stm32-csi: Fix dereference before NULL check In 'stm32_csi_start', 'csidev->s_subdev' is dereferenced directly while assigning a value to the 'src_pad'. However the same value is being checked against NULL at a later point of time indicating that there are chances that the value can be NULL. Move the dereference after the NULL check.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.15, >=e7bad98c205d17c745de9d83ebf73e53cbf99d48 <1f053d82e59c785b2b939cbed12f13657f84b296, >=e7bad98c205d17c745de9d83ebf73e53cbf99d48 <4eeafff163e80d576c5efc1360ae310c0ceedd02, >=e7bad98c205d17c745de9d83ebf73e53cbf99d48 <80eaf32672871bd2623ce6ba13ffc1f0187565801f053d82e59c785b2b939cbed12f13657f84b296, 4eeafff163e80d576c5efc1360ae310c0ceedd02, 80eaf32672871bd2623ce6ba13ffc1f018756580

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40015 severity on Zeptric[![CVE-2025-40015](https://zeptric.io/badge/cve/CVE-2025-40015.svg)](https://zeptric.io/cve/CVE-2025-40015)