CVE-2023-54245
ASoC: codecs: tx-macro: Fix for KASAN: slab-out-of-bounds
Check your servers for CVE-2023-54245
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-54245 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:
ASoC: codecs: tx-macro: Fix for KASAN: slab-out-of-bounds
When we run syzkaller we get below Out of Bound. "KASAN: slab-out-of-bounds Read in regcache_flat_read"
Below is the backtrace of the issue:
dump_backtrace+0x0/0x4c8 show_stack+0x34/0x44 dump_stack_lvl+0xd8/0x118 print_address_description+0x30/0x2d8 kasan_report+0x158/0x198 __asan_report_load4_noabort+0x44/0x50 regcache_flat_read+0x10c/0x110 regcache_read+0xf4/0x180 _regmap_read+0xc4/0x278 _regmap_update_bits+0x130/0x290 regmap_update_bits_base+0xc0/0x15c snd_soc_component_update_bits+0xa8/0x22c snd_soc_component_write_field+0x68/0xd4 tx_macro_digital_mute+0xec/0x140
Actually There is no need to have decimator with 32 bits. By limiting the variable with short type u8 issue is resolved.
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d207bdea0ca9efde321ff142e9b9f2ef73f9cdf5, before da35a4e6eee5d73886312e85322a6e97df901987 affected from d207bdea0ca9efde321ff142e9b9f2ef73f9cdf5, before 57f9a9a232bde7abfe49c3072b29a255da9ba891 affected from d207bdea0ca9efde321ff142e9b9f2ef73f9cdf5, before b0cd740a31412340fead50e69e4fe9bc3781c754 affected from d207bdea0ca9efde321ff142e9b9f2ef73f9cdf5, before e5e7e398f6bb7918dab0612eb6991f7bae95520d
Other versions: unaffected
|
| Linux |
affected 5.12 unaffected before 5.12 unaffected from 5.15.106 up to and including 5.15.* unaffected from 6.1.23 up to and including 6.1.* unaffected from 6.2.10 up to and including 6.2.* unaffected 6.3 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-54245 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54245
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-54245
trivy image --scanners vuln IMAGE | grep CVE-2023-54245
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/da35a4e6eee5d73886312e85322a6e97df901987 git.kernel.org
- https://git.kernel.org/stable/c/57f9a9a232bde7abfe49c3072b29a255da9ba891 git.kernel.org
- https://git.kernel.org/stable/c/b0cd740a31412340fead50e69e4fe9bc3781c754 git.kernel.org
- https://git.kernel.org/stable/c/e5e7e398f6bb7918dab0612eb6991f7bae95520d git.kernel.org
Source: the record CVE-2023-54245 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