Linux
rapidio/tsi721: prevent a bad dereference in tsi721_db_dpc()
In the Linux kernel, the following vulnerability has been resolved: rapidio/tsi721: prevent a bad dereference in tsi721_db_dpc() With a list_for_each() loop, if we don't find the item we are looking for in the list, then the loop exits with the iterator, which is "dbell" in this loop, pointing to invalid memory. This code uses the "found" variable to determine if we have found the doorbell we are looking for or not. However, the problem that the "found" variable needs to be set to false at the start of each iteration, otherwise after the first correct doorbell, then everything is marked as found. Reset the "found" to false at the start of the iteration and move the variable inside the loop.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 48618fb4e522d9d02e217ac05f52749545c1af20, < 9e775c3199903d7c09a52530042b1198eab705bd
- >= 48618fb4e522d9d02e217ac05f52749545c1af20, < 81c06ef66c3ab6eeaa72eb790c90ae043cdb3d43
- >= 48618fb4e522d9d02e217ac05f52749545c1af20, < 13092966ba5d8fb214a4efeddc87f9ed0fd2f945
- >= 48618fb4e522d9d02e217ac05f52749545c1af20, < acd54f42abbbd806464468838dbc04efd203d2be
- >= 48618fb4e522d9d02e217ac05f52749545c1af20, < 3b5c66e922aa6a3331915a14520848a5b3beccc7
- >= 48618fb4e522d9d02e217ac05f52749545c1af20, < 070f356ea4f419e4e85e4089381f4477f41d969e
- >= 48618fb4e522d9d02e217ac05f52749545c1af20, < dc28a14f3e4546b2b06098d24177942540581a5f
- >= 48618fb4e522d9d02e217ac05f52749545c1af20, < fc15e3a30ddd950f009c76765331783b9af94a87
Fixed in 9e775c3199903d7c09a52530042b1198eab705bd, 81c06ef66c3ab6eeaa72eb790c90ae043cdb3d43, 13092966ba5d8fb214a4efeddc87f9ed0fd2f945, acd54f42abbbd806464468838dbc04efd203d2be, 3b5c66e922aa6a3331915a14520848a5b3beccc7, 070f356ea4f419e4e85e4089381f4477f41d969e, dc28a14f3e4546b2b06098d24177942540581a5f, fc15e3a30ddd950f009c76765331783b9af94a87
- 3.2
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to 9e775c3199903d7c09a52530042b1198eab705bd or 81c06ef66c3ab6eeaa72eb790c90ae043cdb3d43 or 13092966ba5d8fb214a4efeddc87f9ed0fd2f945 or acd54f42abbbd806464468838dbc04efd203d2be or 3b5c66e922aa6a3331915a14520848a5b3beccc7 or 070f356ea4f419e4e85e4089381f4477f41d969e or dc28a14f3e4546b2b06098d24177942540581a5f or fc15e3a30ddd950f009c76765331783b9af94a87 or later.
Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 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.