Description
In the Linux kernel, the following vulnerability has been resolved: kho: make sure scratch size is always aligned by CMA_MIN_ALIGNMENT_BYTES When using scratch_scale, the scratch sizes are rounded up to CMA_MIN_ALIGNMENT_BYTES since they will be released as MIGRATE_CMA. This is not done when using fixed scratch sizes via command line. This can result in user specifying a size which is not aligned, and thus kernel releasing a pageblock that is only partially scratch. Do the rounding up for both cases in scratch_size_update().
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
3dc92c311498c4d307cfdd0c6c3ac9355b50f683 to < b8271be34bce151597da5b5179e0648c281322a4affected3dc92c311498c4d307cfdd0c6c3ac9355b50f683 to < 9fefab759f59bf891bef7be15aee4bc7caec7ec3affected3dc92c311498c4d307cfdd0c6c3ac9355b50f683 to < 0e39380a7316122e1b00012b3f3cd3e318b3e7d3affected
Linux Linux
Default version status: affected
6.16affected0 to < 6.16unaffected6.18.42 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected