bus: mhi: host: Drop chan lock before queuing buffers (Linux Linux)

CVE-2023-52493
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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]

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 < 20a6dea2d1c68d4e03c6bb50bc12e72e226b5c0e ; affected 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 < 6e4c84316e2b70709f0d00c33ba3358d9fc8eece ; affected 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 < 3c5ec66b4b3f6816f3a6161538672e389e537690 ; affected 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 < eaefb9464031215d63c0a8a7e2bfaa00736aa17e ; affected 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 < b8eff20d87092e14cac976d057cb0aea2f1d0830 ; affected 1d3173a3bae7039b765a0956e3e4bf846dbaacb8 < 01bd694ac2f682fb8017e16148b928482bc8fa4b
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.210 ≤ 5.10.* ; unaffected 5.15.149 ≤ 5.15.* ; unaffected 6.1.76 ≤ 6.1.* ; unaffected 6.6.15 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD