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
unspecified
unspecified
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: 2026-06-29 18:44 UTC (History)
2 users (show)

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.

Comment 1 Jon Moroney 2025-10-20 17:53:00 UTC Comment hidden (spam)

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