Linux
bus: mhi: ep: Update read pointer only after buffer is written
In the Linux kernel, the following vulnerability has been resolved: bus: mhi: ep: Update read pointer only after buffer is written Inside mhi_ep_ring_add_element, the read pointer (rd_offset) is updated before the buffer is written, potentially causing race conditions where the host sees an updated read pointer before the buffer is actually written. Updating rd_offset prematurely can lead to the host accessing an uninitialized or incomplete element, resulting in data corruption. Invoke the buffer write before updating rd_offset to ensure the element is fully written before signaling its availability.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < e2176aa3ba4361e98d9f91178a762dca6cf21fe0
- >= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < 44b9620e82bbec2b9a6ac77f63913636d84f96dc
- >= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < f704a80d9fa268e51a6cc5242714502c3c1fa605
- >= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < 0007ef098dab48f1ba58364c40b4809f1e21b130
- >= bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34, < 6f18d174b73d0ceeaa341f46c0986436b3aefc9a
Fixed in e2176aa3ba4361e98d9f91178a762dca6cf21fe0, 44b9620e82bbec2b9a6ac77f63913636d84f96dc, f704a80d9fa268e51a6cc5242714502c3c1fa605, 0007ef098dab48f1ba58364c40b4809f1e21b130, 6f18d174b73d0ceeaa341f46c0986436b3aefc9a
- 5.19
Fixed in 0, 6.1.191, 6.6.95, 6.12.35, 6.15.4, 6.16
Mitigation
Upgrade Linux to e2176aa3ba4361e98d9f91178a762dca6cf21fe0 or 44b9620e82bbec2b9a6ac77f63913636d84f96dc or f704a80d9fa268e51a6cc5242714502c3c1fa605 or 0007ef098dab48f1ba58364c40b4809f1e21b130 or 6f18d174b73d0ceeaa341f46c0986436b3aefc9a or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.95 or 6.12.35 or 6.15.4 or 6.16 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.