selinux: check connect-related permissions on TCP Fast Open
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ cf60af03ca4e71134206809ea892e49b92a88896 · < 44c74d27d1b9aaa99fa8a83640c1223575262b80| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
selinux: check connect-related permissions on TCP Fast Open
Similar to Landlock, SELinux was not updated when TCP Fast Open support was introduced to ensure connect-related permissions are checked when using TCP Fast Open. Update its socket_sendmsg() hook to call selinux_socket_connect() when MSG_FASTOPEN is passed.
From the CVE record · Linux
The Linux kernel’s SELinux socket_sendmsg() hook did not check connect-related permissions when MSG_FASTOPEN was used. A local process using TCP Fast Open could bypass those checks; the input does not specify authentication or user-interaction requirements.
Anyone running a Linux kernel with SELinux should check whether their kernel is affected; no affected versions are specified.