Linux
mailbox: Prevent out-of-bounds access in fw_mbox_index_xlate()
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c, < 2c7ff651ec6b660c7c96a36db9328b3232f555d8
- >= 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c, < ec0874447895b994182a962d2fee9ef075de5efd
- >= 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c, < 2662ed331a69c0b551f78af58f12eb629a89a36f
- >= 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c, < 31c4c67dec3362094a6747a171a4848e98542265
- >= 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c, < 01d9a8c2615d436b2b30c19c1afe9fcd5726ff6d
- >= 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c, < 4caae8168d1b808c7d4ff481295292e3f97f90fb
- >= 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c, < f50b39fd7c72a8734153644ee945ca0d8b2e65ab
- >= 2b6d83e2b8b7de82331a6a1dcd64b51020a6031c, < fcd7f96c783626c07ee3ed75fa3739a8a2052310
Fixed in 2c7ff651ec6b660c7c96a36db9328b3232f555d8, ec0874447895b994182a962d2fee9ef075de5efd, 2662ed331a69c0b551f78af58f12eb629a89a36f, 31c4c67dec3362094a6747a171a4848e98542265, 01d9a8c2615d436b2b30c19c1afe9fcd5726ff6d, 4caae8168d1b808c7d4ff481295292e3f97f90fb, f50b39fd7c72a8734153644ee945ca0d8b2e65ab, fcd7f96c783626c07ee3ed75fa3739a8a2052310
- 3.18
Fixed in 0, 5.10.258, 5.15.209, 6.1.167, 6.6.130, 6.12.77, 6.18.16, 6.19.6, 7.0
Mitigation
Upgrade Linux to 2c7ff651ec6b660c7c96a36db9328b3232f555d8 or ec0874447895b994182a962d2fee9ef075de5efd or 2662ed331a69c0b551f78af58f12eb629a89a36f or 31c4c67dec3362094a6747a171a4848e98542265 or 01d9a8c2615d436b2b30c19c1afe9fcd5726ff6d or 4caae8168d1b808c7d4ff481295292e3f97f90fb or f50b39fd7c72a8734153644ee945ca0d8b2e65ab or fcd7f96c783626c07ee3ed75fa3739a8a2052310 or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.167 or 6.6.130 or 6.12.77 or 6.18.16 or 6.19.6 or 7.0 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.