CVE-2023-53146
media: dw2102: Fix null-ptr-deref in dw2102_i2c_transfer()
Check your servers for CVE-2023-53146
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53146 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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")
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.29% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7fd4828f6cc5bd4339ff58e372ccb5f528548b30, before 77cbd42d29de9ffc93d5529bab8813cde53af14c affected from 7fd4828f6cc5bd4339ff58e372ccb5f528548b30, before ecbe6d011b95c7da59f014f8d26cb7245ed1e11e affected from 7fd4828f6cc5bd4339ff58e372ccb5f528548b30, before beb9550494e7349f92b9eaa283256a5ad9b1c9be affected from 7fd4828f6cc5bd4339ff58e372ccb5f528548b30, before 97fdbdb750342cbc204befde976872fedb406ee6 affected from 7fd4828f6cc5bd4339ff58e372ccb5f528548b30, before 903566208ae6bb9c0e7e54355ce75bf6cf72485d affected from 7fd4828f6cc5bd4339ff58e372ccb5f528548b30, before 08dfcbd03b2b7f918c4f87c6ff637054e510df74 affected from 7fd4828f6cc5bd4339ff58e372ccb5f528548b30, before fb28afab113a82b89ffec48c8155ec05b4f8cb5e affected from 7fd4828f6cc5bd4339ff58e372ccb5f528548b30, before 5ae544d94abc8ff77b1b9bf8774def3fa5689b5b
Other versions: unaffected
|
| Linux |
affected 2.6.27 unaffected before 2.6.27 unaffected from 4.14.326 up to and including 4.14.* unaffected from 4.19.295 up to and including 4.19.* unaffected from 5.4.257 up to and including 5.4.* unaffected from 5.10.197 up to and including 5.10.* unaffected from 5.15.133 up to and including 5.15.* unaffected from 6.1.55 up to and including 6.1.* unaffected from 6.5.5 up to and including 6.5.* unaffected 6.6 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53146 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53146
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53146
trivy image --scanners vuln IMAGE | grep CVE-2023-53146
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/77cbd42d29de9ffc93d5529bab8813cde53af14c git.kernel.org
- https://git.kernel.org/stable/c/ecbe6d011b95c7da59f014f8d26cb7245ed1e11e git.kernel.org
- https://git.kernel.org/stable/c/beb9550494e7349f92b9eaa283256a5ad9b1c9be git.kernel.org
- https://git.kernel.org/stable/c/97fdbdb750342cbc204befde976872fedb406ee6 git.kernel.org
- https://git.kernel.org/stable/c/903566208ae6bb9c0e7e54355ce75bf6cf72485d git.kernel.org
- https://git.kernel.org/stable/c/08dfcbd03b2b7f918c4f87c6ff637054e510df74 git.kernel.org
- https://git.kernel.org/stable/c/fb28afab113a82b89ffec48c8155ec05b4f8cb5e git.kernel.org
- https://git.kernel.org/stable/c/5ae544d94abc8ff77b1b9bf8774def3fa5689b5b git.kernel.org
Source: the record CVE-2023-53146 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse