# CVE-2026-63828: apparmor: mediate the implicit connect of TCP fast open sendmsg

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-07-19T12:02:22.644Z
- Modified: 2026-11-16T14:49:45.870Z
- Weaknesses: CWE-862
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

apparmor: mediate the implicit connect of TCP fast open sendmsg

sendmsg()/sendto() with MSG_FASTOPEN is a combination of connect(2) and
write(2): it opens the connection in the SYN. apparmor_socket_sendmsg()
only checks AA_MAY_SEND, so a profile that grants send but denies connect
lets a confined task open an outbound TCP/MPTCP connection that connect(2)
would have refused, bypassing connect mediation.

Mediate the implicit connect when MSG_FASTOPEN is set and a destination
is supplied. Add it to apparmor_socket_sendmsg() (not the shared
aa_sock_msg_perm() helper, which recvmsg also uses) and call aa_sk_perm()
directly, mirroring the selinux and tomoyo fixes. sk_is_tcp() does not
cover MPTCP fast open, so the SOCK_STREAM/IPPROTO_MPTCP arm is explicit.

(As written by CVE List.)

## Affected

- Linux Linux: from cf60af03ca4e71134206809ea892e49b92a88896 before a16714e7cf2baa98ba2efddd5d6cbac641f4e76b; from cf60af03ca4e71134206809ea892e49b92a88896 before 20383429b56974507c465d016e5238b189f7a246; from cf60af03ca4e71134206809ea892e49b92a88896 before 7f57428ce00891d26b0f087ef754a4d820ec83aa; from cf60af03ca4e71134206809ea892e49b92a88896 before faea60deaa05c76f0772650f42eafde12bd39d93; from cf60af03ca4e71134206809ea892e49b92a88896 before 07b71c342382b854ab8030b244aeab6a7228ad7d; from cf60af03ca4e71134206809ea892e49b92a88896 before 4a69b83045d3195d5b9a9b053ad840ddb2998b4e; from cf60af03ca4e71134206809ea892e49b92a88896 before 45ebb934ea50b436ce49b2f159f090dab0d7fa28; from cf60af03ca4e71134206809ea892e49b92a88896 before 4d587cd8a72155089a627130bbd4716ec0856e21; 3.6 (not affected: before 3.6; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.177 up to 6.1.*; from 6.6.144 up to 6.6.*; from 6.12.95 up to 6.12.*; from 6.18.38 up to 6.18.*; from 7.1.3 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 3.6 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.177; from 6.2 before 6.6.144; from 6.7 before 6.12.95; from 6.13 before 6.18.38; from 6.19 before 7.1.3

## References

- <https://git.kernel.org/stable/c/a16714e7cf2baa98ba2efddd5d6cbac641f4e76b> (patch)
- <https://git.kernel.org/stable/c/20383429b56974507c465d016e5238b189f7a246> (patch)
- <https://git.kernel.org/stable/c/7f57428ce00891d26b0f087ef754a4d820ec83aa> (patch)
- <https://git.kernel.org/stable/c/faea60deaa05c76f0772650f42eafde12bd39d93> (patch)
- <https://git.kernel.org/stable/c/07b71c342382b854ab8030b244aeab6a7228ad7d> (patch)
- <https://git.kernel.org/stable/c/4a69b83045d3195d5b9a9b053ad840ddb2998b4e> (patch)
- <https://git.kernel.org/stable/c/45ebb934ea50b436ce49b2f159f090dab0d7fa28> (patch)
- <https://git.kernel.org/stable/c/4d587cd8a72155089a627130bbd4716ec0856e21> (patch)

## Sources

- CVE List: [CVE-2026-63828](https://www.cve.org/CVERecord?id=CVE-2026-63828), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-63828](https://nvd.nist.gov/vuln/detail/CVE-2026-63828), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-63828 · Whole record: https://cve.day/CVE-2026-63828.json · Rebuilt by cve.day 2026-11-25T22:59:28.745Z
