Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's AMD display driver has been addressed. The issue was caused by the 'populate_dml_plane_cfg_from_plane_state()' function using the GFP_KERNEL flag for memory allocation, which is inappropriate for atomic contexts. This misuse led to a 'BUG: sleeping function called from invalid context' error. The allocation was only necessary for using another helper function, 'get_scaler_data_for_plane()'. The vulnerability has been resolved by modifying the helper functions to pass a pointer to the scaler data within the existing context, thereby eliminating the need for dynamic memory allocation and copying.
The vulnerability could lead to kernel errors by causing sleeping functions to be called from an invalid context, disrupting normal kernel operations.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.