Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Pointer may be dereferenced Klocwork tool reported pointer 'rport' returned from call to function fc_bsg_to_rport() may be NULL and will be dereferenced. Add a fix to validate rport before dereferencing.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 7c3df1320e5e875478775e78d01a09aee96b8abe before 005961bd8f066fe931104f67c34ebfcc7f240099; affected 7c3df1320e5e875478775e78d01a09aee96b8abe before a69125a3ce88d9a386872034e7664b30cc4bcbed; affected 7c3df1320e5e875478775e78d01a09aee96b8abe before 3f22f9ddbb29dba369daddb084be3bacf1587529; affected 7c3df1320e5e875478775e78d01a09aee96b8abe before 5addd62586a94a572359418464ce0ae12fa46187; affected 7c3df1320e5e875478775e78d01a09aee96b8abe before 0715da51391d223bf4981e28346770edea7eeb74; affected 7c3df1320e5e875478775e78d01a09aee96b8abe before b06d1b525364bbcf4929b4b35d81945b10dc9883; affected 7c3df1320e5e875478775e78d01a09aee96b8abe before 22b1d7c8bb59c3376430a8bad5840194b12bf29a; affected 7c3df1320e5e875478775e78d01a09aee96b8abe before 00eca15319d9ce8c31cdf22f32a3467775423df4 |
| Linux / Linux | affected 3.1; unaffected 0 before 3.1; unaffected 4.14.322 through 4.14.*; unaffected 4.19.291 through 4.19.*; unaffected 5.4.251 through 5.4.*; unaffected 5.10.188 through 5.10.*; unaffected 5.15.121 through 5.15.*; unaffected 6.1.40 through 6.1.*; unaffected 6.4.5 through 6.4.*; unaffected 6.5 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/005961bd8f066fe931104f67c34ebfcc7f240099
- https://git.kernel.org/stable/c/a69125a3ce88d9a386872034e7664b30cc4bcbed
- https://git.kernel.org/stable/c/3f22f9ddbb29dba369daddb084be3bacf1587529
- https://git.kernel.org/stable/c/5addd62586a94a572359418464ce0ae12fa46187
- https://git.kernel.org/stable/c/0715da51391d223bf4981e28346770edea7eeb74
- https://git.kernel.org/stable/c/b06d1b525364bbcf4929b4b35d81945b10dc9883
- https://git.kernel.org/stable/c/22b1d7c8bb59c3376430a8bad5840194b12bf29a
- https://git.kernel.org/stable/c/00eca15319d9ce8c31cdf22f32a3467775423df4