A local privilege escalation was discovered in the Linux kernel before 5.10.13. Multiple race conditions in the AFVSOCK implementation are caused by wrong locking in net/vmwvsock/af_vsock.c. The race conditions were implicitly introduced in the commits that added VSOCK multi-transport support.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-26708.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c518adafa39f37858697ac9309c6cf1805581446",
"digest": {
"line_hashes": [
"173726365525733979245015921847055180852",
"237236309899327839374231732701529226666",
"253749712300667393618560857356223142756",
"7561534971917974257818177837493007832",
"115232748717200963859873086865701869195",
"90044611350478649238993457339037523774",
"284585953927906295375929079820150763375",
"79950077044331988531146852278527114960",
"80152013686139156957354849639275622065",
"35359702426596379261820839090433635703",
"90044611350478649238993457339037523774",
"284585953927906295375929079820150763375",
"25554225166979195344131876840445333758",
"230187045945676768862136367711276177138",
"55035971505469545763668827016493824745",
"273717410958606341029174827647991251430",
"226558045844961437901643924259269843541",
"284053620513938825383399153621977257412",
"267956748779090008428971118562144238658",
"323186479035043236090662168368622238622",
"294053934653295024795117004261911790486",
"139426375718178971000302150086189654663",
"266111113971717772344828972383804750945",
"101618526762254364532030597071975863534",
"172565514884804299277710744839078781814",
"187810718809119370732031373422182618722",
"237820967341681815790511910970250385159",
"155607714160907989688986531252691923578"
],
"threshold": 0.9
},
"id": "CVE-2021-26708-0982e82f",
"deprecated": false,
"target": {
"file": "net/vmw_vsock/af_vsock.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c518adafa39f37858697ac9309c6cf1805581446",
"digest": {
"function_hash": "30058528967610853758486805105080539389",
"length": 1382.0
},
"id": "CVE-2021-26708-251f4b29",
"deprecated": false,
"target": {
"file": "net/vmw_vsock/af_vsock.c",
"function": "vsock_stream_setsockopt"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c518adafa39f37858697ac9309c6cf1805581446",
"digest": {
"function_hash": "165236460252175385985633599941110691061",
"length": 2298.0
},
"id": "CVE-2021-26708-9652d4c1",
"deprecated": false,
"target": {
"file": "net/vmw_vsock/af_vsock.c",
"function": "vsock_stream_sendmsg"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c518adafa39f37858697ac9309c6cf1805581446",
"digest": {
"function_hash": "299240006113942277825813892233642924526",
"length": 1037.0
},
"id": "CVE-2021-26708-98f9d92f",
"deprecated": false,
"target": {
"file": "net/vmw_vsock/af_vsock.c",
"function": "vsock_dgram_sendmsg"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c518adafa39f37858697ac9309c6cf1805581446",
"digest": {
"function_hash": "214591656678692473939695427652174917238",
"length": 2314.0
},
"id": "CVE-2021-26708-c931c943",
"deprecated": false,
"target": {
"file": "net/vmw_vsock/af_vsock.c",
"function": "vsock_stream_recvmsg"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@c518adafa39f37858697ac9309c6cf1805581446",
"digest": {
"function_hash": "162379362978588844652059742823190786341",
"length": 1796.0
},
"id": "CVE-2021-26708-ca09e3aa",
"deprecated": false,
"target": {
"file": "net/vmw_vsock/af_vsock.c",
"function": "vsock_poll"
}
}
]