CVE-2023-52493
JSON

5.5medium

bus: mhi: host: Drop chan lock before queuing buffers

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: bus: mhi: host: Drop chan lock before queuing buffers Ensure read and write locks for the channel are not taken in succession by dropping the read lock from parse_xfer_event() such that a callback given to client can potentially queue buffers and acquire the write lock in that process. Any queueing of buffers should be done without channel read lock acquired as it can result in multiple locks and a soft lockup. [mani: added fixes tag and cc'ed stable]

Affected

Product or packageVersionsReported by
Linux Linuxfrom 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 before 20a6dea2d1c68d4e03c6bb50bc12e72e226b5c0e, from 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 before 6e4c84316e2b70709f0d00c33ba3358d9fc8eece, from 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 before 3c5ec66b4b3f6816f3a6161538672e389e537690, from 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 before eaefb9464031215d63c0a8a7e2bfaa00736aa17e, from 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 before b8eff20d87092e14cac976d057cb0aea2f1d0830, from 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 before 01bd694ac2f682fb8017e16148b928482bc8fa4b, 5.7
Not affected: before 5.7, from 5.10.210 up to 5.10.*, from 5.15.149 up to 5.15.*, from 6.1.76 up to 6.1.*, from 6.6.15 up to 6.6.*, from 6.7.3 up to 6.7.*
CVE List
linux linux_kernelfrom 5.7 before 5.10.210, from 5.11 before 5.15.149, from 5.16 before 6.1.76, from 6.2 before 6.6.15, from 6.7 before 6.7.3NVD

Classification

CWE-667

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: bus: mhi: host: Drop chan lock before queuing buffers Ensure read and write locks for the channel are not taken in succession by dropping the read lock from parse_xfer_event() such that a callback given to client can potentially queue buffers and acquire the write lock in that process. Any queueing of buffers should be done without channel read lock acquired as it can result in multiple locks and a soft lockup. [mani: added fixes tag and cc'ed stable]

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bus: mhi: host: Eliminar el bloqueo de canal antes de poner en cola los búferes asegúrese de que los bloqueos de lectura y escritura para el canal no se tomen en sucesión eliminando el bloqueo de lectura de parse_xfer_event() de manera que se pueda realizar una devolución de llamada dado al cliente puede potencialmente poner en cola los búferes y adquirir el bloqueo de escritura en ese proceso. Cualquier puesta en cola de búferes debe realizarse sin adquirir el bloqueo de lectura del canal, ya que puede generar múltiples bloqueos y un bloqueo suave. [mani: etiqueta de correcciones agregada y copia estable]

References

Sources

SourceRecordLicence
CVE ListCVE-2023-52493 changed 2026-05-11CVE Terms of Use
NVDCVE-2023-52493 changed 2026-06-17Public domain