CVE-2023-53146
MEDIUMLinux Kernel < 4.14.326 - Null Pointer Dereference in dw2102_i2c_transfer
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer() In dw2102_i2c_transfer, msg is controlled by user. When msg[i].buf is null and msg[i].len is zero, former checks on msg[i].buf would be passed. Malicious data finally reach dw2102_i2c_transfer. If accessing msg[i].buf[0] without sanity check, null ptr deref would happen. We add check on msg[i].len to prevent crash. Similar commit: commit 950e252cb469 ("[media] dw2102: limit messages to buffer size")
References (8)
Core 8
Core References
Scores
CVSS v3
5.5
EPSS
0.0015
EPSS Percentile
4.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-476
Status
published
Products (19)
Linux/Linux
< 2.6.27
Linux/Linux
2.6.27
Linux/Linux
4.14.326 - 4.14.*
Linux/Linux
4.19.295 - 4.19.*
Linux/Linux
5.10.197 - 5.10.*
Linux/Linux
5.15.133 - 5.15.*
Linux/Linux
5.4.257 - 5.4.*
Linux/Linux
6.1.55 - 6.1.*
Linux/Linux
6.5.5 - 6.5.*
Linux/Linux
6.6
... and 9 more
Published
May 14, 2025
Tracked Since
Feb 18, 2026