In the Linux kernel, the following vulnerability has been resolved:
tls: wait for pending async decryptions if tlsstrpmsg_hold fails
Async decryption calls tlsstrpmsg_hold to create a clone of the input skb to hold references to the memory it uses. If we fail to allocate that clone, proceeding with async decryption can lead to various issues (UAF on the skb, writing into userspace memory after the recv() call has returned).
In this case, wait for all pending decryption requests.
[
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4fc109d0ab196bd943b7451276690fb6bb48c2e0",
"target": {
"file": "net/tls/tls_sw.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"320117635197782637917354902465165706962",
"51420090101130531959053647800441337426",
"1558153337508790272363410232996484658",
"265636705275105083659974434059023688399",
"278783231041925042981969722639264809749"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40176-2ef79fba"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f83fd0c179e0f458e824e417f9d5ad53443f685",
"target": {
"function": "tls_decrypt_sg",
"file": "net/tls/tls_sw.c"
},
"digest": {
"length": 3838.0,
"function_hash": "272027028192783956966525483759842222444"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40176-727f0b3a"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39dec4ea3daf77f684308576baf483b55ca7f160",
"target": {
"file": "net/tls/tls_sw.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"320117635197782637917354902465165706962",
"51420090101130531959053647800441337426",
"1558153337508790272363410232996484658",
"265636705275105083659974434059023688399",
"278783231041925042981969722639264809749"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40176-85f0ed7d"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b8a6ff84abbcbbc445463de58704686011edc8e1",
"target": {
"file": "net/tls/tls_sw.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"320117635197782637917354902465165706962",
"51420090101130531959053647800441337426",
"1558153337508790272363410232996484658",
"265636705275105083659974434059023688399",
"278783231041925042981969722639264809749"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40176-9e302df1"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c61d4368197d65c4809d9271f3b85325a600586a",
"target": {
"function": "tls_decrypt_sg",
"file": "net/tls/tls_sw.c"
},
"digest": {
"length": 3838.0,
"function_hash": "272027028192783956966525483759842222444"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40176-a1623d7d"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c61d4368197d65c4809d9271f3b85325a600586a",
"target": {
"file": "net/tls/tls_sw.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"320117635197782637917354902465165706962",
"51420090101130531959053647800441337426",
"1558153337508790272363410232996484658",
"265636705275105083659974434059023688399",
"278783231041925042981969722639264809749"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40176-af2e5e8a"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b8a6ff84abbcbbc445463de58704686011edc8e1",
"target": {
"function": "tls_decrypt_sg",
"file": "net/tls/tls_sw.c"
},
"digest": {
"length": 3838.0,
"function_hash": "272027028192783956966525483759842222444"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40176-b9bf0a3d"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9f83fd0c179e0f458e824e417f9d5ad53443f685",
"target": {
"file": "net/tls/tls_sw.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"320117635197782637917354902465165706962",
"51420090101130531959053647800441337426",
"1558153337508790272363410232996484658",
"265636705275105083659974434059023688399",
"278783231041925042981969722639264809749"
]
},
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2025-40176-c2913e67"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4fc109d0ab196bd943b7451276690fb6bb48c2e0",
"target": {
"function": "tls_decrypt_sg",
"file": "net/tls/tls_sw.c"
},
"digest": {
"length": 3838.0,
"function_hash": "272027028192783956966525483759842222444"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40176-c890cf49"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39dec4ea3daf77f684308576baf483b55ca7f160",
"target": {
"function": "tls_decrypt_sg",
"file": "net/tls/tls_sw.c"
},
"digest": {
"length": 3838.0,
"function_hash": "272027028192783956966525483759842222444"
},
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2025-40176-f2c65571"
}
]