CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's handling of IUCV sockets, specifically in the `getsockopt` function, which can lead to a kernel crash due to a race condition with the `recvmsg` function. This issue arises when an attacker exploits the timing of socket operations, resulting in a NULL pointer dereference that can compromise system stability. Organizations utilizing AF_IUCV HIPER configurations should prioritize patching this vulnerability to prevent potential denial-of-service attacks.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: net/iucv: fix locking in .getsockopt Mirror iucv_sock_setsockopt() and wrap the whole switch in lock_sock()/release_sock(). The pre-existing SO_MSGLIMIT-only lock becomes redundant and is removed. Any AF_IUCV HIPER user can potentially crash the kernel by racing recvmsg() with getsockopt(SO_MSGSIZE): the SO_MSGSIZE arm dereferences iucv->hs_dev->mtu after iucv_sock_close() (called from the racing recvmsg()) has set hs_dev to NULL, producing a NULL pointer dereference oops.