CVE-2025-40015

media: stm32-csi: Fix dereference before NULL check

N/A
Published: October 20, 2025 at 03:29 PM UTC
Updated: October 19, 2026 at 09:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.15e7bad98c205d17c745de9d83ebf73e53cbf99d48
Vendor states this is fixed in 1f053d82e59c785b2b939cbed12f13657f84b296 (fixed)
Vendor states this is fixed in 4eeafff163e80d576c5efc1360ae310c0ceedd02 (fixed)
Vendor states this is fixed in 80eaf32672871bd2623ce6ba13ffc1f018756580 (fixed)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.16.11 (unaffected)
Vendor states this is fixed in 6.17.1 (unaffected)
Vendor states this is fixed in 6.18 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card