CVE-2023-53146 json
media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
published 2025-05-14 17 mo ago modified 2026-06-17 4 mo ago also EUVD-2023-59776
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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")
Patch / fix
- Linux Linux 4.14.326, 4.19.295, 5.4.257, 5.10.197, 5.15.133, 6.1.55, 6.5.5, 6.6
- linux Debian 12 6.1.55-1
- linux Debian 14, Debian 13 6.5.6-1
debian advisories DEBIAN-CVE-2023-53146
- linux Ubuntu 20.04 LTS 5.4.0-169.187
- linux Ubuntu 22.04 LTS 5.15.0-94.104
- linux-aws Ubuntu 20.04 LTS 5.4.0-1116.126
- linux-aws Ubuntu 22.04 LTS 5.15.0-1053.58
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1120.129
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1051.59
- linux-gke Ubuntu 22.04 LTS 5.15.0-1050.55
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1063.68
ubuntu advisories UBUNTU-CVE-2023-53146
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-coco SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.28.coco15sp6.1
- kernel-syms-coco SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.28.coco15sp6.1
- kernel-coco_debug SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.28.coco15sp6.1
- kernel-source-coco SLE Module for Confidential Computing Technical Preview 15 SP6 6.4.0-15061.28.coco15sp6.1
- kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.8.1
- kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.8.1
- kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.8.1
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.6.1
suse advisories SUSE-SU-2025:02923-1SUSE-SU-2025:02333-1SUSE-SU-2025:02307-1SUSE-SU-2025:02254-1SUSE-SU-2025:02000-1SUSE-SU-2025:20413-1
- git.kernel.org/stable/c/77cbd42d29de9ffc93d5529bab8813cde53af14c commit
- git.kernel.org/stable/c/ecbe6d011b95c7da59f014f8d26cb7245ed1e11e commit
- git.kernel.org/stable/c/beb9550494e7349f92b9eaa283256a5ad9b1c9be commit
- git.kernel.org/stable/c/97fdbdb750342cbc204befde976872fedb406ee6 commit
- git.kernel.org/stable/c/903566208ae6bb9c0e7e54355ce75bf6cf72485d commit
- git.kernel.org/stable/c/08dfcbd03b2b7f918c4f87c6ff637054e510df74 commit
- git.kernel.org/stable/c/fb28afab113a82b89ffec48c8155ec05b4f8cb5e commit
- git.kernel.org/stable/c/5ae544d94abc8ff77b1b9bf8774def3fa5689b5b commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-53146 updated cvss 5.5
kernel: media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/77cbd42d29de9ffc93d5529bab8813cde53af14c
patch
-
git.kernel.org
/stable/c/ecbe6d011b95c7da59f014f8d26cb7245ed1e11e
patch
-
git.kernel.org
/stable/c/beb9550494e7349f92b9eaa283256a5ad9b1c9be
patch
-
git.kernel.org
/stable/c/97fdbdb750342cbc204befde976872fedb406ee6
patch
-
git.kernel.org
/stable/c/903566208ae6bb9c0e7e54355ce75bf6cf72485d
patch
-
git.kernel.org
/stable/c/08dfcbd03b2b7f918c4f87c6ff637054e510df74
patch
-
git.kernel.org
/stable/c/fb28afab113a82b89ffec48c8155ec05b4f8cb5e
patch
-
git.kernel.org
/stable/c/5ae544d94abc8ff77b1b9bf8774def3fa5689b5b
patch
Sources
- CVE List CVE-2023-53146
- NVD CVE-2023-53146
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.