Description
In the Linux kernel, the following vulnerability has been resolved: s390/ipl: Fix NULL deref in dump_reipl without re-IPL parm block Unlike kdump, which passes the re-IPL parameter block through os_info, the stand-alone dump passes it through the IPL parm block address and checksum in lowcore. Some IPL types, like HMC FTP boot or QEMU direct kernel boot, might not provide an IPL parameter block. In this case reipl_type_init() selects IPL_TYPE_UNKNOWN and reipl_block_actual remains NULL. Nevertheless, dump_reipl_run() unconditionally dereferences it when preparing the lowcore fields. This may happen to work by chance when address zero contains readable lowcore data. A zero IPL parameter block address is then stored in lowcore, causing the stand-alone dumper to enter disabled wait after completing the dump. Explicitly store a zero IPL parameter block address and checksum when no re-IPL parameter block is available. This does not change the behavior: the stand-alone dumper completes the dump and halts, while valid re-IPL parameter blocks continue to be handled as before.
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
099b765139929efdcf232f8870804accf8c4cdc5 to < 41647864e62b28388ecccc23a82f0e0a091f4ef2affected099b765139929efdcf232f8870804accf8c4cdc5 to < aed56fa3108b7095e6a048e134981506c056a6cbaffected099b765139929efdcf232f8870804accf8c4cdc5 to < 8d7988e8116c3d29d9e02ca9d37ee84577643f2daffected099b765139929efdcf232f8870804accf8c4cdc5 to < 280ff19853440d59e031cd8fe161e81305721262affected099b765139929efdcf232f8870804accf8c4cdc5 to < 37f61b71cbc0caefc01022a19ee56fc2510e2e6eaffected
Linux Linux
Default version status: affected
2.6.30affected0 to < 2.6.30unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2.7 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/41647864e62b28388ecccc23a82f0e0a091f4ef2 ↗
- https://git.kernel.org/stable/c/aed56fa3108b7095e6a048e134981506c056a6cb ↗
- https://git.kernel.org/stable/c/8d7988e8116c3d29d9e02ca9d37ee84577643f2d ↗
- https://git.kernel.org/stable/c/280ff19853440d59e031cd8fe161e81305721262 ↗
- https://git.kernel.org/stable/c/37f61b71cbc0caefc01022a19ee56fc2510e2e6e ↗