xfrm: xfrm_interface: require CAP_NET_ADMIN in the device netns for changelink
In the Linux kernel, the following vulnerability has been resolved: xfrm: xfrm_interface: require CAP_NET_ADMIN in the device netns for changelink xfrmi_changelink() operates on at most two netns, dev_net(dev) and the interface link netns xi->net. They differ once the device is created in or moved to a netns other than the one the request runs in. The rtnl changelink path checks CAP_NET_ADMIN only against dev_net(dev), so a caller privileged there but not in xi->net can rewrite an interface that lives in xi->net. Gate xfrmi_changelink() on rtnl_dev_link_net_capable() at its top, before any attribute is parsed.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.261, 5.15.212, 6.1.178, 6.12.97, 6.18.40, 6.6.145, 7.1.5
- CVEs
- CVE-2026-72136
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 03:11 UTC · Revision 1
Source evidence
xfrm: xfrm_interface: require CAP_NET_ADMIN in the device netns for changelink
core-osv · Original sourcePublished 15 Aug 2026, 05:53 UTC
In the Linux kernel, the following vulnerability has been resolved: xfrm: xfrm_interface: require CAP_NET_ADMIN in the device netns for changelink xfrmi_changelink() operates on at most two netns, dev_net(dev) and the interface link netns xi->net. They differ once the device is created in or moved to a netns other than the one the request runs in. The rtnl changelink path checks CAP_NET_ADMIN only against dev_net(dev), so a caller privileged there but not in xi->net can rewrite an interface that lives in xi->net. Gate xfrmi_changelink() on rtnl_dev_link_net_capable() at its top, before any attribute is parsed.
osv:CVE-2026-72136
Kernel
Fixed versions: 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5
Complete source record
{
"id": "add20e020efb22e549ab27293dc67e24efc68a8efce89b03f676c9462c6a2f77",
"url": "https://osv.dev/vulnerability/CVE-2026-72136",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "xfrm: xfrm_interface: require CAP_NET_ADMIN in the device netns for changelink",
"summary": "In the Linux kernel, the following vulnerability has been resolved: xfrm: xfrm_interface: require CAP_NET_ADMIN in the device netns for changelink xfrmi_changelink() operates on at most two netns, dev_net(dev) and the interface link netns xi->net. They differ once the device is created in or moved to a netns other than the one the request runs in. The rtnl changelink path checks CAP_NET_ADMIN only against dev_net(dev), so a caller privileged there but not in xi->net can rewrite an interface that lives in xi->net. Gate xfrmi_changelink() on rtnl_dev_link_net_capable() at its top, before any attribute is parsed.",
"evidence": "osv:CVE-2026-72136",
"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.178",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.145",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.97",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.40",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-72136",
"aliases": [
"CVE-2026-72136"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "f203b76d78092faf248db3f851840fbecf80b40e"
},
{
"fixed": "04c1aa57d08471b1953bf27c84ac9b3d78d71831"
},
{
"fixed": "bdfd1c21d90e628a58a9de79e024cdfcbedfa15c"
},
{
"fixed": "80ec68bba11f7f387c0e4099c2d7b2c84943eb99"
},
{
"fixed": "e9c90756f10da334fb31552e52c61f1dba69f491"
},
{
"fixed": "37b61946d278c7deb0d40ba8f2b6fc0478d61dab"
},
{
"fixed": "8ca2a19a987a7d1cb4c916ed9723a1c6993b4276"
},
{
"fixed": "3ba2b2ef7d6a63b190f15cfc2b4ba0fba59928ea"
},
{
"fixed": "095515d89b19b6cc19dfcdc846f97403ed1ebce3"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72136.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.19.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.178"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.145"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.97"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72136.json"
}
}
],
"modified": "2026-10-28T02:30:49.238378255Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/04c1aa57d08471b1953bf27c84ac9b3d78d71831",
"https://git.kernel.org/stable/c/095515d89b19b6cc19dfcdc846f97403ed1ebce3",
"https://git.kernel.org/stable/c/37b61946d278c7deb0d40ba8f2b6fc0478d61dab",
"https://git.kernel.org/stable/c/3ba2b2ef7d6a63b190f15cfc2b4ba0fba59928ea",
"https://git.kernel.org/stable/c/80ec68bba11f7f387c0e4099c2d7b2c84943eb99",
"https://git.kernel.org/stable/c/8ca2a19a987a7d1cb4c916ed9723a1c6993b4276",
"https://git.kernel.org/stable/c/bdfd1c21d90e628a58a9de79e024cdfcbedfa15c",
"https://git.kernel.org/stable/c/e9c90756f10da334fb31552e52c61f1dba69f491",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72136.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-72136",
"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/72xxx/CVE-2026-72136.json"
}
},
"related_cves": [
{
"value": "CVE-2026-72136",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517648,
"published_at": "2026-08-15T05:53:11.072+00:00"
}