В ядре Linux устранена следующая уязвимость:
scsi: qla2xxx: проверьте допустимый порт, возвращаемый функцией fc_bsg_to_rport().
Klocwork сообщил, что предупреждение о том, что rport может быть NULL и будет разыменовано.
rport, возвращаемый вызовом fc_bsg_to_rport(), может иметь значение NULL и быть разыменован.
Проверьте действительный порт, возвращаемый функцией fc_bsg_to_rport().
Показать оригинальное описание (EN)
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Check valid rport returned by fc_bsg_to_rport() Klocwork reported warning of rport maybe NULL and will be dereferenced. rport returned by call to fc_bsg_to_rport() could be NULL and dereferenced. Check valid rport returned by fc_bsg_to_rport().