{"id":"CVE-2026-63828","aliases":["CVE-2026-63828"],"related":[],"kind":"vulnerability","state":"published","title":"apparmor: mediate the implicit connect of TCP fast open sendmsg","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: mediate the implicit connect of TCP fast open sendmsg\n\nsendmsg()/sendto() with MSG_FASTOPEN is a combination of connect(2) and\nwrite(2): it opens the connection in the SYN. apparmor_socket_sendmsg()\nonly checks AA_MAY_SEND, so a profile that grants send but denies connect\nlets a confined task open an outbound TCP/MPTCP connection that connect(2)\nwould have refused, bypassing connect mediation.\n\nMediate the implicit connect when MSG_FASTOPEN is set and a destination\nis supplied. Add it to apparmor_socket_sendmsg() (not the shared\naa_sock_msg_perm() helper, which recvmsg also uses) and call aa_sk_perm()\ndirectly, mirroring the selinux and tomoyo fixes. sk_is_tcp() does not\ncover MPTCP fast open, so the SOCK_STREAM/IPPROTO_MPTCP arm is explicit.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: mediate the implicit connect of TCP fast open sendmsg\n\nsendmsg()/sendto() with MSG_FASTOPEN is a combination of connect(2) and\nwrite(2): it opens the connection in the SYN. apparmor_socket_sendmsg()\nonly checks AA_MAY_SEND, so a profile that grants send but denies connect\nlets a confined task open an outbound TCP/MPTCP connection that connect(2)\nwould have refused, bypassing connect mediation.\n\nMediate the implicit connect when MSG_FASTOPEN is set and a destination\nis supplied. Add it to apparmor_socket_sendmsg() (not the shared\naa_sock_msg_perm() helper, which recvmsg also uses) and call aa_sk_perm()\ndirectly, mirroring the selinux and tomoyo fixes. sk_is_tcp() does not\ncover MPTCP fast open, so the SOCK_STREAM/IPPROTO_MPTCP arm is explicit.","source":"cvelist"}],"published":"2026-07-19T12:02:22.644Z","modified":"2026-11-16T14:49:45.870Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","score":8.4,"rating":"HIGH"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"git","introduced":"cf60af03ca4e71134206809ea892e49b92a88896","fixed":"a16714e7cf2baa98ba2efddd5d6cbac641f4e76b","status":"affected"},{"type":"git","introduced":"cf60af03ca4e71134206809ea892e49b92a88896","fixed":"20383429b56974507c465d016e5238b189f7a246","status":"affected"},{"type":"git","introduced":"cf60af03ca4e71134206809ea892e49b92a88896","fixed":"7f57428ce00891d26b0f087ef754a4d820ec83aa","status":"affected"},{"type":"git","introduced":"cf60af03ca4e71134206809ea892e49b92a88896","fixed":"faea60deaa05c76f0772650f42eafde12bd39d93","status":"affected"},{"type":"git","introduced":"cf60af03ca4e71134206809ea892e49b92a88896","fixed":"07b71c342382b854ab8030b244aeab6a7228ad7d","status":"affected"},{"type":"git","introduced":"cf60af03ca4e71134206809ea892e49b92a88896","fixed":"4a69b83045d3195d5b9a9b053ad840ddb2998b4e","status":"affected"},{"type":"git","introduced":"cf60af03ca4e71134206809ea892e49b92a88896","fixed":"45ebb934ea50b436ce49b2f159f090dab0d7fa28","status":"affected"},{"type":"git","introduced":"cf60af03ca4e71134206809ea892e49b92a88896","fixed":"4d587cd8a72155089a627130bbd4716ec0856e21","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.6","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.177","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.144","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.95","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.38","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.3","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.6","fixed":"5.10.261"},{"status":"affected","introduced":"5.11","fixed":"5.15.212"},{"status":"affected","introduced":"5.16","fixed":"6.1.177"},{"status":"affected","introduced":"6.2","fixed":"6.6.144"},{"status":"affected","introduced":"6.7","fixed":"6.12.95"},{"status":"affected","introduced":"6.13","fixed":"6.18.38"},{"status":"affected","introduced":"6.19","fixed":"7.1.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a16714e7cf2baa98ba2efddd5d6cbac641f4e76b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/20383429b56974507c465d016e5238b189f7a246","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f57428ce00891d26b0f087ef754a4d820ec83aa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/faea60deaa05c76f0772650f42eafde12bd39d93","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07b71c342382b854ab8030b244aeab6a7228ad7d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a69b83045d3195d5b9a9b053ad840ddb2998b4e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/45ebb934ea50b436ce49b2f159f090dab0d7fa28","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d587cd8a72155089a627130bbd4716ec0856e21","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63828","url":"https://www.cve.org/CVERecord?id=CVE-2026-63828","licence":"CVE Terms of Use","modified":"2026-08-17T04:51:36.839Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63828","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63828","licence":"Public domain","modified":"2026-11-16T14:49:45.870Z"}],"updatedAt":"2026-11-25T22:59:28.745Z","epss":{"score":0.00152,"percentile":0.04531,"date":"2026-12-01T12:00:22.000Z"}}