CVE-2024-27000
serial: mxs-auart: add spinlock around changing cts state
Check your servers for CVE-2024-27000
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-2024-27000 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:
serial: mxs-auart: add spinlock around changing cts state
The uart_handle_cts_change() function in serial_core expects the caller to hold uport->lock. For example, I have seen the below kernel splat, when the Bluetooth driver is loaded on an i.MX28 board.
[ 85.119255] ------------[ cut here ]------------ [ 85.124413] WARNING: CPU: 0 PID: 27 at /drivers/tty/serial/serial_core.c:3453 uart_handle_cts_change+0xb4/0xec [ 85.134694] Modules linked in: hci_uart bluetooth ecdh_generic ecc wlcore_sdio configfs [ 85.143314] CPU: 0 PID: 27 Comm: kworker/u3:0 Not tainted 6.6.3-00021-gd62a2f068f92 #1 [ 85.151396] Hardware name: Freescale MXS (Device Tree) [ 85.156679] Workqueue: hci0 hci_power_on [bluetooth] (...) [ 85.191765] uart_handle_cts_change from mxs_auart_irq_handle+0x380/0x3f4 [ 85.198787] mxs_auart_irq_handle from __handle_irq_event_percpu+0x88/0x210 (...)
Exploitation
EPSS 0.33%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 28 May 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4, before 56434e295bd446142025913bfdf1587f5e1970ad affected from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4, before 21535ef0ac1945080198fe3e4347ea498205c99a affected from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4, before 0dc0637e6b16158af85945425821bfd0151adb37 affected from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4, before 479244d68f5d94f3903eced52b093c1e01ddb495 affected from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4, before 2c9b943e9924cf1269e44289bc5e60e51b0f5270 affected from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4, before 5f40fd6ca2cf0bfbc5a5c9e403dfce8ca899ba37 affected from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4, before 94b0e65c75f4af888ab2dd6c90f060f762924e86 affected from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4, before 54c4ec5f8c471b7c1137a1f769648549c423c026
Other versions: unaffected
|
| Linux |
affected 3.18 unaffected before 3.18 unaffected from 4.19.313 up to and including 4.19.* unaffected from 5.4.275 up to and including 5.4.* unaffected from 5.10.216 up to and including 5.10.* unaffected from 5.15.158 up to and including 5.15.* unaffected from 6.1.88 up to and including 6.1.* unaffected from 6.6.29 up to and including 6.6.* unaffected from 6.8.8 up to and including 6.8.* unaffected 6.9 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-2024-27000 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27000
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-2024-27000
trivy image --scanners vuln IMAGE | grep CVE-2024-27000
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/56434e295bd446142025913bfdf1587f5e1970ad git.kernel.org
- https://git.kernel.org/stable/c/21535ef0ac1945080198fe3e4347ea498205c99a git.kernel.org
- https://git.kernel.org/stable/c/0dc0637e6b16158af85945425821bfd0151adb37 git.kernel.org
- https://git.kernel.org/stable/c/479244d68f5d94f3903eced52b093c1e01ddb495 git.kernel.org
- https://git.kernel.org/stable/c/2c9b943e9924cf1269e44289bc5e60e51b0f5270 git.kernel.org
- https://git.kernel.org/stable/c/5f40fd6ca2cf0bfbc5a5c9e403dfce8ca899ba37 git.kernel.org
- https://git.kernel.org/stable/c/94b0e65c75f4af888ab2dd6c90f060f762924e86 git.kernel.org
- https://git.kernel.org/stable/c/54c4ec5f8c471b7c1137a1f769648549c423c026 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/ lists.fedoraproject.org
Source: the record CVE-2024-27000 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse