In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix target device reference leak in BSG task management The target device lookup takes a reference, but it is only dropped inside a branch that also requires the SCSI target data to be set up. When it is not, the reference is leaked. Drop the reference whenever the lookup succeeded.
https://git.kernel.org/stable/c/f6003211dcc5a0a8f71b553fffc1dfd8fe9916be
https://git.kernel.org/stable/c/f0ec04bdf6156ed2ae7d86a8819dafdd9383b705
https://git.kernel.org/stable/c/de4e575e7e5863b38519214f3c1af4445068b483
https://git.kernel.org/stable/c/a4ec0cf39f966ba650f4fead24600bdfb01eeda4
https://git.kernel.org/stable/c/47877abe0be96d32df1c6f70adeffa839c61c0bf
https://git.kernel.org/stable/c/2148e6f9336d068d695672b16345ed06c4ff0ea0