Description
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.
Affected products
- Linux / Linux314001f0bf927015e459c9d387d62a231fe93af3 – 645b1ed3259af38b7814242a420bc2081bdd1eb6
- Linux / Linux314001f0bf927015e459c9d387d62a231fe93af3 – c34c41446acf6c0d13b5b06c809be11e0f7f2729
- Linux / Linux314001f0bf927015e459c9d387d62a231fe93af3 – 3147ddf5a41c20c45c2eb69e00b62f10f822056a
- Linux / Linux314001f0bf927015e459c9d387d62a231fe93af3 – d119775f2bad827edc28071c061fdd4a91f889a5
- Linux / Linux5.15 – 5.15
- Linux / Linux0 – 5.15
- Linux / Linux6.12.88 – 6.12.*
- Linux / Linux6.18.30 – 6.18.*
- Linux / Linux7.0.7 – 7.0.*
- Linux / Linux7.1 – *
References
- MISChttps://git.kernel.org/stable/c/645b1ed3259af38b7814242a420bc2081bdd1eb6
- MISChttps://git.kernel.org/stable/c/c34c41446acf6c0d13b5b06c809be11e0f7f2729
- MISChttps://git.kernel.org/stable/c/3147ddf5a41c20c45c2eb69e00b62f10f822056a
- MISChttps://git.kernel.org/stable/c/d119775f2bad827edc28071c061fdd4a91f889a5