We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-38429

bus: mhi: ep: Update read pointer only after buffer is written



Description

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.

Reserved 2025-04-16 | Published 2025-07-25 | Updated 2025-07-25 | Assigner Linux

Product status

Default status
unaffected

bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before 44b9620e82bbec2b9a6ac77f63913636d84f96dc
affected

bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before f704a80d9fa268e51a6cc5242714502c3c1fa605
affected

bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before 0007ef098dab48f1ba58364c40b4809f1e21b130
affected

bbdcba57a1a26a4439a4f4ecdbfaf80a10fd8f34 before 6f18d174b73d0ceeaa341f46c0986436b3aefc9a
affected

Default status
affected

5.19
affected

Any version before 5.19
unaffected

6.6.95
unaffected

6.12.35
unaffected

6.15.4
unaffected

6.16-rc1
unaffected

References

git.kernel.org/...c/44b9620e82bbec2b9a6ac77f63913636d84f96dc

git.kernel.org/...c/f704a80d9fa268e51a6cc5242714502c3c1fa605

git.kernel.org/...c/0007ef098dab48f1ba58364c40b4809f1e21b130

git.kernel.org/...c/6f18d174b73d0ceeaa341f46c0986436b3aefc9a

cve.org (CVE-2025-38429)

nvd.nist.gov (CVE-2025-38429)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-38429

Support options

Helpdesk Chat, Email, Knowledgebase