Description
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Zero dport diagnostics buffer to avoid info leak qla2x00_do_dport_diagnostics() allocates the qla_dport_diag response buffer with kmalloc_obj() (non-zeroing) and, on success, copies the full sizeof(*dd) back to user space via sg_copy_from_buffer(). The inbound sg_copy_to_buffer() only fills as many bytes as the user request payload provides, and qla26xx_dport_diagnostics() zeroes only dd->buf. The options and unused[] fields are therefore copied out uninitialized, leaking kernel heap contents to user space. Allocate with kzalloc_obj(), matching qla2x00_do_dport_diagnostics_v2().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ec89146215d124c429bff84b498dccdc4919ffa7 to < eeef4fa993b3f962de9b45999f12ff25a5c79ce7affectedec89146215d124c429bff84b498dccdc4919ffa7 to < 504b177ad58c45be7e1cfa81f9b42f7f040737c5affectedec89146215d124c429bff84b498dccdc4919ffa7 to < c3e4c716909a053391b06a9a816c8588b652e3d2affectedec89146215d124c429bff84b498dccdc4919ffa7 to < 2ecc30066c2284d2ed11bbd576ec97156b384054affectedec89146215d124c429bff84b498dccdc4919ffa7 to < 5dfc77099c7d9fde9520a229794b0154d7ccccc1affectedec89146215d124c429bff84b498dccdc4919ffa7 to < d6e2411516bb95e52cb74c9c56b60ad2548a2730affectedec89146215d124c429bff84b498dccdc4919ffa7 to < 9fc03be982763a131913f84fe73b240ae45bca37affectedec89146215d124c429bff84b498dccdc4919ffa7 to < a152edab3854f01dd2daf3eaf8f32cbabdb3834eaffected
Linux Linux
Default version status: affected
4.8affected0 to < 4.8unaffected5.10.273 to ≤ 5.10.*unaffected5.15.224 to ≤ 5.15.*unaffected6.1.191 to ≤ 6.1.*unaffected6.6.160 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/eeef4fa993b3f962de9b45999f12ff25a5c79ce7 ↗
- https://git.kernel.org/stable/c/504b177ad58c45be7e1cfa81f9b42f7f040737c5 ↗
- https://git.kernel.org/stable/c/c3e4c716909a053391b06a9a816c8588b652e3d2 ↗
- https://git.kernel.org/stable/c/2ecc30066c2284d2ed11bbd576ec97156b384054 ↗
- https://git.kernel.org/stable/c/5dfc77099c7d9fde9520a229794b0154d7ccccc1 ↗
- https://git.kernel.org/stable/c/d6e2411516bb95e52cb74c9c56b60ad2548a2730 ↗
- https://git.kernel.org/stable/c/9fc03be982763a131913f84fe73b240ae45bca37 ↗
- https://git.kernel.org/stable/c/a152edab3854f01dd2daf3eaf8f32cbabdb3834e ↗