Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's function graph tracer can lead to a NULL pointer dereference. This issue arises in the '__ftrace_return_to_handler()' function, where a loop iterates over 'fgraph_array[]' elements, checking for 'fgraph_stub' to prevent its use afterward. However, if the compiler reloads 'fgraph_array[]' after this check, it may introduce a 'fgraph_stub' that the loop processes. Since the stub's 'func_hash' field is null, this leads to a NULL pointer dereference. To address this, a 'READ_ONCE()' was added when accessing 'fgraph_array[]', ensuring that the comparison against 'fgraph_stub' matches the processed 'gops' later.
Exploitation of this vulnerability causes a NULL pointer dereference, leading to a crash of the affected system.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.