af_unix: Reject SIOCATMARK on non-stream sockets
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.211, 6.1.177, 6.6.144, 6.12.88, 6.18.30, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 314001f0bf927015e459c9d387d62a231fe93af3 · fixed in ec123873fdc83e7244c8ed6d17b8f8ea6c416a67; From 314001f0bf927015e459c9d387d62a231fe93af3 · fixed in f085971de6d6b8ef946a5e0bcd73ff24509a0f85; From 314001f0bf927015e459c9d387d62a231fe93af3 · fixed in b741c9c6ef59f17c1f104ddf1217ef77f79ed29b; From 314001f0bf927015e459c9d387d62a231fe93af3 · fixed in 645b1ed3259af38b7814242a420bc2081bdd1eb6; From 314001f0bf927015e459c9d387d62a231fe93af3 · fixed in c34c41446acf6c0d13b5b06c809be11e0f7f2729; From 314001f0bf927015e459c9d387d62a231fe93af3 · fixed in 3147ddf5a41c20c45c2eb69e00b62f10f822056a; From 314001f0bf927015e459c9d387d62a231fe93af3 · fixed in d119775f2bad827edc28071c061fdd4a91f889a5
- Linux Linux
5.15
- KernelLinux
From 5.15.0 · fixed in 5.15.211; From 5.16.0 · fixed in 6.1.177; From 6.2.0 · fixed in 6.6.144; From 6.7.0 · fixed in 6.12.88; From 6.13.0 · fixed in 6.18.30; From 6.19.0 · fixed in 7.0.7
References 7
git.kernel.org
- stable/c/ec123873fdc83e7244c8ed6d17b8f8ea6c416a67
- stable/c/f085971de6d6b8ef946a5e0bcd73ff24509a0f85
- stable/c/b741c9c6ef59f17c1f104ddf1217ef77f79ed29b
- stable/c/645b1ed3259af38b7814242a420bc2081bdd1eb6
- stable/c/c34c41446acf6c0d13b5b06c809be11e0f7f2729
- stable/c/3147ddf5a41c20c45c2eb69e00b62f10f822056a
- stable/c/d119775f2bad827edc28071c061fdd4a91f889a5