A vulnerability has been identified in the Linux kernel (CVE-2022-3977) that can potentially be exploited by a local user to escalate their privileges on the system. This vulnerability affects kernels starting from version 5.18 and has been addressed in the 6.1 branch. The release of patches can be tracked in the following distributions: Debian, Ubuntu, Gentoo, RHEL, SUSE, Arch.
The vulnerability exists in the implementation of the MCTP (Management Component Transport Protocol), which is used for communication between management controllers and associated devices. The issue is caused by a race condition in the function mctp_sk_unhash(), leading to a use-after-free when an ioctl DROPTAG request is sent simultaneously with closing the socket.
Source: opennet.ru
