scsi: qla2xxx: Zero dport diagnostics buffer to avoid info leak
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel eeef4fa993b3f962de9b45999f12ff25a5c79ce7, Kernel 2ecc30066c2284d2ed11bbd576ec97156b384054, Kernel 504b177ad58c45be7e1cfa81f9b42f7f040737c5 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ec89146215d124c429bff84b498dccdc4919ffa7 <eeef4fa993b3f962de9b45999f12ff25a5c79ce7, >=ec89146215d124c429bff84b498dccdc4919ffa7 <2ecc30066c2284d2ed11bbd576ec97156b384054, >=ec89146215d124c429bff84b498dccdc4919ffa7 <504b177ad58c45be7e1cfa81f9b42f7f040737c5, >=ec89146215d124c429bff84b498dccdc4919ffa7 <5dfc77099c7d9fde9520a229794b0154d7ccccc1, >=ec89146215d124c429bff84b498dccdc4919ffa7 <9fc03be982763a131913f84fe73b240ae45bca37, >=ec89146215d124c429bff84b498dccdc4919ffa7 <a152edab3854f01dd2daf3eaf8f32cbabdb3834e, >=ec89146215d124c429bff84b498dccdc4919ffa7 <c3e4c716909a053391b06a9a816c8588b652e3d2, >=ec89146215d124c429bff84b498dccdc4919ffa7 <d6e2411516bb95e52cb74c9c56b60ad2548a2730, =4.8 | eeef4fa993b3f962de9b45999f12ff25a5c79ce7, 2ecc30066c2284d2ed11bbd576ec97156b384054, 504b177ad58c45be7e1cfa81f9b42f7f040737c5, 5dfc77099c7d9fde9520a229794b0154d7ccccc1, 9fc03be982763a131913f84fe73b240ae45bca37, a152edab3854f01dd2daf3eaf8f32cbabdb3834e, c3e4c716909a053391b06a9a816c8588b652e3d2, d6e2411516bb95e52cb74c9c56b60ad2548a2730 |
| linux-kernel: Kernel | >=5.11.0 <5.15.224, >=5.16.0 <6.1.191, >=6.13.0 <6.18.53, >=6.19.0 <7.2.5, >=6.2.0 <6.6.160, >=6.7.0 <6.12.112, >=4.8.0 <5.10.273 | 5.15.224, 6.1.191, 6.18.53, 7.2.5, 6.6.160, 6.12.112, 5.10.273 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket