Bug 2405123 (CVE-2025-40015) - CVE-2025-40015 kernel: media: stm32-csi: Fix dereference before NULL check
Summary: CVE-2025-40015 kernel: media: stm32-csi: Fix dereference before NULL check
Keywords:
Status: NEW
Alias: CVE-2025-40015
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-20 17:23 UTC by OSIDB Bzimport
Modified: 2025-10-20 17:54 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-20 17:23:36 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.