{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-64043", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2026-07-19T07:54:57.029Z", "datePublished": "2026-07-19T15:39:29.225Z", "dateUpdated": "2026-07-19T15:39:29.225Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-07-19T15:39:29.225Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\novpn: fix race between deleting interface and adding new peer\n\nWhile deleting an existing ovpn interface, there is a very\nnarrow window where adding a new peer via netlink may cause\nthe netdevice to hang and prevent its unregistration.\n\nIt may happen during ovpn_dellink(), when all existing peers are\nfreed and the device is queued for deregistration, but a\nCMD_PEER_NEW message comes in adding a new peer that takes again\na reference to the netdev.\n\nAt this point there is no way to release the device because we are\nunder the assumption that all peers were already released.\n\nFix the race condition by releasing all peers in ndo_uninit(),\nwhen the netdevice has already been removed from the netdev\nlist.\n\nAlso ovpn_peer_add() has now an extra check that forces the\nfunction to bail out if the device reg_state is not REGISTERED.\nThis way any incoming CMD_PEER_NEW racing with the interface\ndeletion routine will simply stop before adding the peer.\n\nNote that the above check happens while holding the netdev_lock\nto prevent racing netdev state changes.\n\novpn_dellink() is now empty and can be removed." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/net/ovpn/main.c", "drivers/net/ovpn/peer.c" ], "versions": [ { "version": "80747caef33d77f5c1b3d24644e6d7dae69066b5", "lessThan": "097d62df38314c14b88fab9096f3461baf158e2b", "status": "affected", "versionType": "git" }, { "version": "80747caef33d77f5c1b3d24644e6d7dae69066b5", "lessThan": "de9fec2a6645f5b4d23398cd870a33e2703728d9", "status": "affected", "versionType": "git" }, { "version": "80747caef33d77f5c1b3d24644e6d7dae69066b5", "lessThan": "982422b11e6f95f766a8cd2c2b1cbdb77e234a61", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/net/ovpn/main.c", "drivers/net/ovpn/peer.c" ], "versions": [ { "version": "6.16", "status": "affected" }, { "version": "0", "lessThan": "6.16", "status": "unaffected", "versionType": "semver" }, { "version": "6.18.34", "lessThanOrEqual": "6.18.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.0.11", "lessThanOrEqual": "7.0.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.1", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.16", "versionEndExcluding": "6.18.34" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.16", "versionEndExcluding": "7.0.11" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.16", "versionEndExcluding": "7.1" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/097d62df38314c14b88fab9096f3461baf158e2b" }, { "url": "https://git.kernel.org/stable/c/de9fec2a6645f5b4d23398cd870a33e2703728d9" }, { "url": "https://git.kernel.org/stable/c/982422b11e6f95f766a8cd2c2b1cbdb77e234a61" } ], "title": "ovpn: fix race between deleting interface and adding new peer", "x_generator": { "engine": "bippy-1.2.0" } } } }