Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's XFRM (IPsec) state management has been addressed. The issue arose because the state pointers were not initialized early enough in the state lookup process. This delay could lead to problems in a preemptive environment, where the lookup could switch CPUs and cause the wrong state to be cached and subsequently ignored. The vulnerability has been fixed by ensuring the state pointers are initialized right after acquiring a read lock, preventing future misuse.
The vulnerability could lead to a use-after-free condition, allowing for memory corruption or arbitrary code execution.
The vulnerability can be reproduced by triggering a preemption during the XFRM state lookup process. This can be done by initiating a lookup on one CPU while another CPU is handling a different XFRM state, causing a mismatch that the vulnerability exploits.
Users can upgrade to the latest stable version of the Linux kernel to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.