diff options
author | Andrea Parri (Microsoft) <parri.andrea@gmail.com> | 2021-10-07 14:28:28 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-10-12 21:59:50 -0400 |
commit | 6fd13d699d24beaa28310848fe65fd898fbb9043 (patch) | |
tree | 24fa8cf6809715d9a0f27dfbf96a37cb7be863c9 /Documentation/ABI/testing/sysfs-class-stm | |
parent | 187a580c9e7895978dcd1e627b9c9e7e3d13ca96 (diff) | |
download | lwn-6fd13d699d24beaa28310848fe65fd898fbb9043.tar.gz lwn-6fd13d699d24beaa28310848fe65fd898fbb9043.zip |
scsi: storvsc: Fix validation for unsolicited incoming packets
The validation on the length of incoming packets performed in
storvsc_on_channel_callback() does not apply to unsolicited packets with ID
of 0 sent by Hyper-V. Adjust the validation for such unsolicited packets.
Link: https://lore.kernel.org/r/20211007122828.469289-1-parri.andrea@gmail.com
Fixes: 91b1b640b834b2 ("scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()")
Reported-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-stm')
0 files changed, 0 insertions, 0 deletions