apparmor: mediate the implicit connect of TCP fast open sendmsg
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.261, 5.15.212, 6.1.177, 6.12.95, 6.18.38, 6.6.144, 7.1.3
- CVEs
- CVE-2026-63828
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 01:46 UTC · Revision 2
Source evidence
apparmor: mediate the implicit connect of TCP fast open sendmsg
core-osv · Original sourcePublished 19 Jul 2026, 12:02 UTC
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.
osv:CVE-2026-63828
Kernel
Fixed versions: 5.10.261, 5.15.212, 6.1.177, 6.6.144, 6.12.95, 6.18.38, 7.1.3
Complete source record
{
"id": "a335762a652255e1002b76c3b37937b4a4d8125d29d1501691fd3f418a8cef14",
"url": "https://osv.dev/vulnerability/CVE-2026-63828",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "apparmor: mediate the implicit connect of TCP fast open sendmsg",
"summary": "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.",
"evidence": "osv:CVE-2026-63828",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.261",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.212",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.177",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.144",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.95",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.38",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-63828",
"aliases": [
"CVE-2026-63828"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "cf60af03ca4e71134206809ea892e49b92a88896"
},
{
"fixed": "a16714e7cf2baa98ba2efddd5d6cbac641f4e76b"
},
{
"fixed": "20383429b56974507c465d016e5238b189f7a246"
},
{
"fixed": "7f57428ce00891d26b0f087ef754a4d820ec83aa"
},
{
"fixed": "faea60deaa05c76f0772650f42eafde12bd39d93"
},
{
"fixed": "07b71c342382b854ab8030b244aeab6a7228ad7d"
},
{
"fixed": "4a69b83045d3195d5b9a9b053ad840ddb2998b4e"
},
{
"fixed": "45ebb934ea50b436ce49b2f159f090dab0d7fa28"
},
{
"fixed": "4d587cd8a72155089a627130bbd4716ec0856e21"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63828.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.6.0"
},
{
"fixed": "5.10.261"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.212"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.177"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.144"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.95"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.38"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63828.json"
}
}
],
"modified": "2026-10-28T02:30:25.530855247Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/07b71c342382b854ab8030b244aeab6a7228ad7d",
"https://git.kernel.org/stable/c/20383429b56974507c465d016e5238b189f7a246",
"https://git.kernel.org/stable/c/45ebb934ea50b436ce49b2f159f090dab0d7fa28",
"https://git.kernel.org/stable/c/4a69b83045d3195d5b9a9b053ad840ddb2998b4e",
"https://git.kernel.org/stable/c/4d587cd8a72155089a627130bbd4716ec0856e21",
"https://git.kernel.org/stable/c/7f57428ce00891d26b0f087ef754a4d820ec83aa",
"https://git.kernel.org/stable/c/a16714e7cf2baa98ba2efddd5d6cbac641f4e76b",
"https://git.kernel.org/stable/c/faea60deaa05c76f0772650f42eafde12bd39d93",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63828.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-63828",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63828.json"
}
},
"related_cves": [
{
"value": "CVE-2026-63828",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 491727,
"published_at": "2026-07-19T12:02:22.644+00:00"
}