Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: mailbox: Prevent out-of-bounds access in fw_mbox_index_xlate() Although it is guided that `#mbox-cells` must be at least 1, there are many instances of `#mbox-cells = <0>;` in the device tree. If that is the case and the corresponding mailbox controller does not provide `fw_xlate` and of_xlate` function pointers, `fw_mbox_index_xlate()` will be used by default and out-of-bounds accesses could occur due to lack of bounds check in that function.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c before 2c7ff651ec6b660c7c96a36db9328b3232f555d8; affected 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c before ec0874447895b994182a962d2fee9ef075de5efd; affected 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c before 2662ed331a69c0b551f78af58f12eb629a89a36f; affected 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c before 31c4c67dec3362094a6747a171a4848e98542265; affected 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c before 01d9a8c2615d436b2b30c19c1afe9fcd5726ff6d; affected 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c before 4caae8168d1b808c7d4ff481295292e3f97f90fb; affected 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c before f50b39fd7c72a8734153644ee945ca0d8b2e65ab; affected 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c before fcd7f96c783626c07ee3ed75fa3739a8a2052310 |
| Linux / Linux | affected 3.18; unaffected 0 before 3.18; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.167 through 6.1.*; unaffected 6.6.130 through 6.6.*; unaffected 6.12.77 through 6.12.*; unaffected 6.18.16 through 6.18.*; unaffected 6.19.6 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2c7ff651ec6b660c7c96a36db9328b3232f555d8
- https://git.kernel.org/stable/c/ec0874447895b994182a962d2fee9ef075de5efd
- https://git.kernel.org/stable/c/2662ed331a69c0b551f78af58f12eb629a89a36f
- https://git.kernel.org/stable/c/31c4c67dec3362094a6747a171a4848e98542265
- https://git.kernel.org/stable/c/01d9a8c2615d436b2b30c19c1afe9fcd5726ff6d
- https://git.kernel.org/stable/c/4caae8168d1b808c7d4ff481295292e3f97f90fb
- https://git.kernel.org/stable/c/f50b39fd7c72a8734153644ee945ca0d8b2e65ab
- https://git.kernel.org/stable/c/fcd7f96c783626c07ee3ed75fa3739a8a2052310