7.8high
serial: mxs-auart: add spinlock around changing cts state
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.33% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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 (...)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4 before 56434e295bd446142025913bfdf1587f5e1970ad, from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4 before 21535ef0ac1945080198fe3e4347ea498205c99a, from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4 before 0dc0637e6b16158af85945425821bfd0151adb37, from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4 before 479244d68f5d94f3903eced52b093c1e01ddb495, from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4 before 2c9b943e9924cf1269e44289bc5e60e51b0f5270, from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4 before 5f40fd6ca2cf0bfbc5a5c9e403dfce8ca899ba37, from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4 before 94b0e65c75f4af888ab2dd6c90f060f762924e86, from 4d90bb147ef6b91f529a21b498ff2b5fdc6785b4 before 54c4ec5f8c471b7c1137a1f769648549c423c026 and 1 more Not affected: before 3.18, from 4.19.313 up to 4.19.*, from 5.4.275 up to 5.4.*, from 5.10.216 up to 5.10.*, from 5.15.158 up to 5.15.*, from 6.1.88 up to 6.1.* | CVE List |
| linux linux_kernel | from 3.18 before 4.19.313, from 4.20 before 5.4.275, from 5.5 before 5.10.216, from 5.11 before 5.15.158, from 5.16 before 6.1.88, from 6.2 before 6.6.29, from 6.7 before 6.8.8, 6.9 | NVD |
| debian debian_linux | 10.0 | NVD |
| fedoraproject fedora | 38, 39, 40 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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 (...)
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: serial: mxs-auart: agrega spinlock para cambiar el estado de cts. La función uart_handle_cts_change() en serial_core espera que la persona que llama mantenga uport->lock. Por ejemplo, he visto el siguiente símbolo del kernel, cuando el controlador Bluetooth está cargado en una placa i.MX28. [85.119255] ------------[ cortar aquí ]------------ [ 85.124413] ADVERTENCIA: CPU: 0 PID: 27 en /drivers/tty/serial/ serial_core.c:3453 uart_handle_cts_change+0xb4/0xec [85.134694] Módulos vinculados en: hci_uart bluetooth ecdh_generic ecc wlcore_sdio configfs [85.143314] CPU: 0 PID: 27 Comm: kworker/u3:0 No contaminado 6.6.3-00021-gd6 2a2f068f92 #1 [85.151396] Nombre de hardware: Freescale MXS (árbol de dispositivos) [85.156679] Cola de trabajo: hci0 hci_power_on [bluetooth] (...) [85.191765] uart_handle_cts_change from mxs_auart_irq_handle+0x380/0x3f4 [ 85.198787] q_handle de __handle_irq_event_percpu+0x88/0x210 (.. .)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27000 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-27000 changed 2026-06-17 | Public domain |