In the Linux kernel, the following vulnerability has been resolved:
tls: fix race between tx work scheduling and socket close
Similarly to previous commit, the submitting thread (recvmsg/sendmsg) may exit as soon as the async crypto handler calls complete(). Reorder scheduling the work before calling complete(). This seems more logical in the first place, as it's the inverse order of what the submitting thread will do.
[
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2024-26585-1f7f913a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd32621f19243f89ce830919496a5dcc2158aa33",
"digest": {
"line_hashes": [
"204006985694961738494957163529495520213",
"164722496213831626894562374174368249142",
"271922647303189580572495735487627599888",
"294779505512915452995395734926876349807",
"127090330624655788840325077889554543613",
"38133653433463391547653238388015555720",
"213114257485621664013884942923303357687",
"111126863434455625658372901666911355707",
"257355003411345194601672001575707031138",
"298324707813790093853891379106521739555",
"274889765397420094551153333884866882893",
"139201512026651487684537846576980495087",
"28912331508780375049883952462875355139",
"152310336029873952432834173187105350362",
"213062972315117713247777784579643582449",
"11597932339575076557518691515492984087"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "net/tls/tls_sw.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2024-26585-34d3d978",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@196f198ca6fce04ba6ce262f5a0e4d567d7d219d",
"digest": {
"length": 1070.0,
"function_hash": "155357366123893219405434334796135262495"
},
"signature_version": "v1",
"target": {
"file": "net/tls/tls_sw.c",
"function": "tls_encrypt_done"
}
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2024-26585-6e6609c1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6db22d6c7a6dc914b12c0469b94eb639b6a8a146",
"digest": {
"length": 1000.0,
"function_hash": "236272667444688362489671359586505209086"
},
"signature_version": "v1",
"target": {
"file": "net/tls/tls_sw.c",
"function": "tls_encrypt_done"
}
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2024-26585-a7715aa2",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e327ed60bff4a991cd7a709c47c4f0c5b4a4fd57",
"digest": {
"line_hashes": [
"173547089808515673378968327600236846027",
"133164403385490738974753581634343340763",
"30204572944411719460739462746816564332",
"167294902626617907609531507254938136867",
"127090330624655788840325077889554543613",
"38133653433463391547653238388015555720",
"213114257485621664013884942923303357687",
"111126863434455625658372901666911355707",
"257355003411345194601672001575707031138",
"298324707813790093853891379106521739555",
"274889765397420094551153333884866882893",
"139201512026651487684537846576980495087",
"28912331508780375049883952462875355139",
"152310336029873952432834173187105350362",
"213062972315117713247777784579643582449",
"11597932339575076557518691515492984087"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "net/tls/tls_sw.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2024-26585-bd3cb071",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@196f198ca6fce04ba6ce262f5a0e4d567d7d219d",
"digest": {
"line_hashes": [
"204006985694961738494957163529495520213",
"118179170497633575664237426919808059548",
"22316460417987022009939120322233561057",
"20886946997190727814322423816510043606",
"127090330624655788840325077889554543613",
"38133653433463391547653238388015555720",
"213114257485621664013884942923303357687",
"111126863434455625658372901666911355707",
"257355003411345194601672001575707031138",
"298324707813790093853891379106521739555",
"274889765397420094551153333884866882893",
"139201512026651487684537846576980495087",
"28912331508780375049883952462875355139",
"152310336029873952432834173187105350362",
"213062972315117713247777784579643582449",
"11597932339575076557518691515492984087"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "net/tls/tls_sw.c"
}
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2024-26585-c216fa8f",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6db22d6c7a6dc914b12c0469b94eb639b6a8a146",
"digest": {
"line_hashes": [
"173547089808515673378968327600236846027",
"133164403385490738974753581634343340763",
"30204572944411719460739462746816564332",
"167294902626617907609531507254938136867",
"127090330624655788840325077889554543613",
"38133653433463391547653238388015555720",
"213114257485621664013884942923303357687",
"111126863434455625658372901666911355707",
"257355003411345194601672001575707031138",
"298324707813790093853891379106521739555",
"274889765397420094551153333884866882893",
"139201512026651487684537846576980495087",
"28912331508780375049883952462875355139",
"152310336029873952432834173187105350362",
"213062972315117713247777784579643582449",
"11597932339575076557518691515492984087"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "net/tls/tls_sw.c"
}
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2024-26585-d4f5e3a5",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@dd32621f19243f89ce830919496a5dcc2158aa33",
"digest": {
"length": 1087.0,
"function_hash": "304366919942769042630357048150877910009"
},
"signature_version": "v1",
"target": {
"file": "net/tls/tls_sw.c",
"function": "tls_encrypt_done"
}
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2024-26585-fc57a3f0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e327ed60bff4a991cd7a709c47c4f0c5b4a4fd57",
"digest": {
"length": 1000.0,
"function_hash": "236272667444688362489671359586505209086"
},
"signature_version": "v1",
"target": {
"file": "net/tls/tls_sw.c",
"function": "tls_encrypt_done"
}
}
]