Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
48618fb4e522d9d02e217ac05f52749545c1af20 to < 9e775c3199903d7c09a52530042b1198eab705bdaffected48618fb4e522d9d02e217ac05f52749545c1af20 to < 81c06ef66c3ab6eeaa72eb790c90ae043cdb3d43affected48618fb4e522d9d02e217ac05f52749545c1af20 to < 13092966ba5d8fb214a4efeddc87f9ed0fd2f945affected48618fb4e522d9d02e217ac05f52749545c1af20 to < acd54f42abbbd806464468838dbc04efd203d2beaffected48618fb4e522d9d02e217ac05f52749545c1af20 to < 3b5c66e922aa6a3331915a14520848a5b3beccc7affected48618fb4e522d9d02e217ac05f52749545c1af20 to < 070f356ea4f419e4e85e4089381f4477f41d969eaffected48618fb4e522d9d02e217ac05f52749545c1af20 to < dc28a14f3e4546b2b06098d24177942540581a5faffected48618fb4e522d9d02e217ac05f52749545c1af20 to < fc15e3a30ddd950f009c76765331783b9af94a87affected
Linux Linux
Default version status: affected
3.2affected0 to < 3.2unaffected5.10.261 to ≤ 5.10.*unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/9e775c3199903d7c09a52530042b1198eab705bd ↗
- https://git.kernel.org/stable/c/81c06ef66c3ab6eeaa72eb790c90ae043cdb3d43 ↗
- https://git.kernel.org/stable/c/13092966ba5d8fb214a4efeddc87f9ed0fd2f945 ↗
- https://git.kernel.org/stable/c/acd54f42abbbd806464468838dbc04efd203d2be ↗
- https://git.kernel.org/stable/c/3b5c66e922aa6a3331915a14520848a5b3beccc7 ↗
- https://git.kernel.org/stable/c/070f356ea4f419e4e85e4089381f4477f41d969e ↗
- https://git.kernel.org/stable/c/dc28a14f3e4546b2b06098d24177942540581a5f ↗
- https://git.kernel.org/stable/c/fc15e3a30ddd950f009c76765331783b9af94a87 ↗