Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 day, 4 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
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 products

Linux
  • <3.2
  • =<6.1.*
  • <13092966ba5d8fb214a4efeddc87f9ed0fd2f945
  • <dc28a14f3e4546b2b06098d24177942540581a5f
  • <fc15e3a30ddd950f009c76765331783b9af94a87
  • =<5.10.*
  • =<6.18.*
  • <81c06ef66c3ab6eeaa72eb790c90ae043cdb3d43
  • =<6.12.*
  • <acd54f42abbbd806464468838dbc04efd203d2be
  • ==3.2
  • =<7.1.*
  • <3b5c66e922aa6a3331915a14520848a5b3beccc7
  • =<5.15.*
  • =<6.6.*
  • <9e775c3199903d7c09a52530042b1198eab705bd
  • =<*
  • <070f356ea4f419e4e85e4089381f4477f41d969e