CVE-2025-40015

Source
https://cve.org/CVERecord?id=CVE-2025-40015
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40015.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40015
Downstream
Related
Published
2025-10-20T15:29:09.728Z
Modified
2026-04-02T12:48:14.953393Z
Summary
media: stm32-csi: Fix dereference before NULL check
Details

In the Linux kernel, the following vulnerability has been resolved:

media: stm32-csi: Fix dereference before NULL check

In 'stm32csistart', 'csidev->ssubdev' is dereferenced directly while assigning a value to the 'srcpad'. 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40015.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e7bad98c205d17c745de9d83ebf73e53cbf99d48
Fixed
1f053d82e59c785b2b939cbed12f13657f84b296
Fixed
4eeafff163e80d576c5efc1360ae310c0ceedd02
Fixed
80eaf32672871bd2623ce6ba13ffc1f018756580

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40015.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.16.11
Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.17.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40015.json"