In the Linux kernel, the following vulnerability has been resolved: af_unix: Reject SIOCATMARK on non-stream sockets SIOCATMARK reports whether the receive queue is at the urgent mark for MSG_OOB. In AF_UNIX, MSG_OOB is supported only for SOCK_STREAM sockets. SOCK_DGRAM and SOCK_SEQPACKET reject MSG_OOB in sendmsg() and recvmsg(), so they should not support SIOCATMARK either. Return -EOPNOTSUPP for non-stream sockets before checking the receive queue.
https://git.kernel.org/stable/c/d119775f2bad827edc28071c061fdd4a91f889a5
https://git.kernel.org/stable/c/c34c41446acf6c0d13b5b06c809be11e0f7f2729
https://git.kernel.org/stable/c/645b1ed3259af38b7814242a420bc2081bdd1eb6
https://git.kernel.org/stable/c/3147ddf5a41c20c45c2eb69e00b62f10f822056a