Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +3 more
A vulnerability in the Linux kernel's BPF (Berkeley Packet Filter) implementation allows for speculative leakage of pointer values, potentially leading to a type confusion exploit. This issue arises from inadequate mitigation of Spectre variant 4, where stack slots initialized with pointers can be overwritten by scalars, creating a speculative pointer-as-scalar confusion. The vulnerability can be exploited to leak pointer values through a branch-based cache side channel.
Exploitation of this vulnerability allows for the leakage of pointer values from the stack, which can be exploited using a cache side channel to infer the leaked values.
The vulnerability can be reproduced by crafting a BPF program that initializes a stack slot with a pointer, then overwrites it with a scalar. After the overwrite, the program can access the stack slot, which will now contain the pointer value speculatively, allowing it to be leaked through a side channel.
The vulnerability has been addressed by updating the BPF mitigation to also sanitize scalar writes that overwrite stack slots previously containing pointers, ensuring that speculative store bypass attacks cannot be used to leak pointer values.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.