A use-after-free vulnerability in the Linux kernel's af_unix component can be exploited to achieve local privilege escalation. The unix_stream_sendpage() function tries to add data to the last skb in the peer's recv queue without locking the queue. Thus there is a race where unix_stream_sendpage() could access an skb locklessly that is being released by garbage collection, resulting in use-after-free. We recommend upgrading past commit 790c2f9d15b594350ae9bca7b236f2b1859de02c. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.1.y&id=790c2f9d15b594350ae9bca7b236f2b1859de02c https://kernel.dance/790c2f9d15b594350ae9bca7b236f2b1859de02c
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2237936]
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2237937]
This was fixed for Fedora with the 6.4.12 stable kernel updates.
*** Bug 2230094 has been marked as a duplicate of this bug. ***