CVE-2025-40015
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | e7bad98c205d17c745de9d83ebf73e53cbf99d48 < 1f053d82e59c785b2b939cbed12f13657f84b296 | affected |
| Linux | Linux | e7bad98c205d17c745de9d83ebf73e53cbf99d48 < 4eeafff163e80d576c5efc1360ae310c0ceedd02 | affected |
| Linux | Linux | e7bad98c205d17c745de9d83ebf73e53cbf99d48 < 80eaf32672871bd2623ce6ba13ffc1f018756580 | affected |
| Linux | Linux | 6.15 | affected |
| Linux | Linux | 0 < 6.15 | unaffected |
| Linux | Linux | 6.16.11 <= 6.16.* | unaffected |
| Linux | Linux | 6.17.1 <= 6.17.* | unaffected |
| Linux | Linux | 6.18 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/1f053d82e59c785b2b939cbed12f13657f84b296
- https://git.kernel.org/stable/c/4eeafff163e80d576c5efc1360ae310c0ceedd02
- https://git.kernel.org/stable/c/80eaf32672871bd2623ce6ba13ffc1f018756580
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.