CVE-2024-26583

Source
https://cve.org/CVERecord?id=CVE-2024-26583
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26583.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26583
Downstream
Related
Published
2024-02-21T14:59:11.845Z
Modified
2026-03-20T12:34:59.989644Z
Summary
tls: fix race between async notify and socket close
Details

In the Linux kernel, the following vulnerability has been resolved:

tls: fix race between async notify and socket close

The submitting thread (one which called recvmsg/sendmsg) may exit as soon as the async crypto handler calls complete() so any code past that point risks touching already freed data.

Try to avoid the locking and extra flags altogether. Have the main thread hold an extra reference, this way we can depend solely on the atomic ref counter for synchronization.

Don't futz with reiniting the completion, either, we are now tightly controlling when completion fires.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26583.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0cada33241d9de205522e3858b18e506ca5cce2c
Fixed
f17d21ea73918ace8afb9c2d8e734dbf71c2c9d7
Fixed
7a3ca06d04d589deec81f56229a9a9d62352ce01
Fixed
86dc27ee36f558fe223dbdfbfcb6856247356f4a
Fixed
6209319b2efdd8524691187ee99c40637558fa33
Fixed
aec7961916f3f9e88766e2688992da6980f11b8d
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
cf4cc95a15f599560c7abd89095a7973a4b9cec3
Last affected
9b81d43da15e56ed89f083f326561acdcaf549ce

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26583.json"