mailbox: riscv-sbi-mpxy: validate RPMI notification lengths
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 11d5af151bcbe78f5a579e0faecd3be9cea0399a, Kernel c7bc5e7677bcda7a446d63b989cfaa3fe91d6b76 and Kernel cbc24bce70dfd91c7b2f53b4fa896e9a4b6d6a6b.
In the Linux kernel, the following vulnerability has been resolved: mailbox: riscv-sbi-mpxy: validate RPMI notification lengths The SBI return value controls how many bytes are copied from shared memory into the RPMI notification buffer. It is not validated against the negotiated shared-memory size before that copy. The event walker also uses a reversed loop condition and can inspect a short event record. Validate the complete notification length before copying it, iterate only while a full event header remains, and stop when a declared event payload extends beyond the copied notification data.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.18, >=bf3022a4eb119c6b4e3424d6b19d8bfdfbc9bb57 <11d5af151bcbe78f5a579e0faecd3be9cea0399a, >=bf3022a4eb119c6b4e3424d6b19d8bfdfbc9bb57 <c7bc5e7677bcda7a446d63b989cfaa3fe91d6b76, >=bf3022a4eb119c6b4e3424d6b19d8bfdfbc9bb57 <cbc24bce70dfd91c7b2f53b4fa896e9a4b6d6a6b | 11d5af151bcbe78f5a579e0faecd3be9cea0399a, c7bc5e7677bcda7a446d63b989cfaa3fe91d6b76, cbc24bce70dfd91c7b2f53b4fa896e9a4b6d6a6b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket