Description
In the Linux kernel, the following vulnerability has been resolved: usb: image: microtek: stop SG processing after transfer errors When an SG URB completes with an error, mts_do_sg() calls mts_transfer_cleanup(), which completes the SCSI command through scsi_done(). However, the callback continues advancing the scatterlist and may submit another URB for a command that has already been completed. Return immediately after the cleanup so that no further processing is performed on the completed command.
Affected products and versions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 97608e12256d959885432518a1e9581667a49cb6 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 4952be98cfc2ed3d2260132e0d3abb611443317e · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 82b91bea4facea0a86218d3f4330215eb43b8b91 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 45a74baf980c8f54612c453efec5d6e42c20a1b8 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 04fe7fe8fd714e6992cf708b85d40795ee2e8121 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 3d74e92e6041542a943f935cc10bdce4bbe26d74 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < d2b4dc64fac9eabe55cb77c7f765b232ff1d11ae · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < d937ca39cc44a01ce64865dd25b1e205a05ae3a0Fixed in: 97608e12256d959885432518a1e9581667a49cb6 · 4952be98cfc2ed3d2260132e0d3abb611443317e · 82b91bea4facea0a86218d3f4330215eb43b8b91 · 45a74baf980c8f54612c453efec5d6e42c20a1b8 · 04fe7fe8fd714e6992cf708b85d40795ee2e8121 · 3d74e92e6041542a943f935cc10bdce4bbe26d74 · d2b4dc64fac9eabe55cb77c7f765b232ff1d11ae · d937ca39cc44a01ce64865dd25b1e205a05ae3a0
Linux Linux2.6.12Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/97608e12256d959885432518a1e9581667a49cb6
- git.kernel.org/stable/c/4952be98cfc2ed3d2260132e0d3abb611443317e
- git.kernel.org/stable/c/82b91bea4facea0a86218d3f4330215eb43b8b91
- git.kernel.org/stable/c/45a74baf980c8f54612c453efec5d6e42c20a1b8
- git.kernel.org/stable/c/04fe7fe8fd714e6992cf708b85d40795ee2e8121
- git.kernel.org/stable/c/3d74e92e6041542a943f935cc10bdce4bbe26d74
- git.kernel.org/stable/c/d2b4dc64fac9eabe55cb77c7f765b232ff1d11ae
- git.kernel.org/stable/c/d937ca39cc44a01ce64865dd25b1e205a05ae3a0
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.