ovpn: defer key slot crypto freeing to workqueue
In the Linux kernel, the following vulnerability has been resolved: ovpn: defer key slot crypto freeing to workqueue Key slots are released through a kref and the existing release path frees the AEAD transforms from an RCU callback. That is not safe for all crypto implementations: crypto_free_aead can sleep, for example when an async or hardware implementation has teardown work to complete. Use queue_rcu_work for key-slot release. This keeps the RCU grace period needed by lockless key-slot readers, but runs the actual crypto teardown from workqueue context where sleeping is allowed. Once the rcu_work callback runs, pre-existing RCU readers are gone, and the final kref put already proves that no transform user remains, so the worker can release the AEAD transforms and free the slot directly. The previous patch drains ovpn_wq during module exit, so queued key-slot teardown work cannot outlive module text.
CVE-2026-74750
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-74750
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "8534731dbf2d52a539b94defd06d2a8d3514aacb",
"lessThan": "5cea365559449f2149ab724d33d406e3ec4c00c9",
"versionType": "git"
},
{
"status": "affected",
"version": "8534731dbf2d52a539b94defd06d2a8d3514aacb",
"lessThan": "0f77ed5ee91946ea63e29f2e0ff9dc9e722d8da3",
"versionType": "git"
},
{
"status": "affected",
"version": "8534731dbf2d52a539b94defd06d2a8d3514aacb",
"lessThan": "2da3dfa1ddfe55a065f484750c83660e3bd4ac00",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/ovpn/crypto.c",
"drivers/net/ovpn/crypto.h",
"drivers/net/ovpn/crypto_aead.c",
"drivers/net/ovpn/crypto_aead.h"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.16"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.16",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.10",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/ovpn/crypto.c",
"drivers/net/ovpn/crypto.h",
"drivers/net/ovpn/crypto_aead.c",
"drivers/net/ovpn/crypto_aead.h"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-74750
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #28635 · Revision 1
- Added to Heist Feed
- Publisher date