CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's handling of scratch sizes when using fixed sizes specified via the command line, potentially leading to misalignment that allows the kernel to release partially allocated pageblocks. This misalignment can result in inefficient memory management and could be exploited to cause instability or resource exhaustion. Linux system administrators and developers should prioritize addressing this issue to ensure optimal memory performance and system reliability.
Original NVD 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().