An issue was discovered in the Linux kernel 2.6.39 through 5.10.16, as used in Xen. Block, net, and SCSI backends consider certain errors a plain bug, deliberately causing a kernel crash. For errors potentially being at least under the influence of guests (such as out of memory conditions), it isn't correct to assume a plain bug. Memory allocations potentially causing such crashes occur only when Linux is running in PV mode, though. This affects drivers/block/xen-blkback/blkback.c and drivers/xen/xen-scsiback.c.
[
{
"digest": {
"function_hash": "163151138174133152092121482489953583786",
"length": 524.0
},
"signature_type": "Function",
"id": "CVE-2021-26931-0818c63f",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@7c77474b2d22176d2bfb592ec74e0f2cb71352c9",
"target": {
"file": "drivers/xen/xen-scsiback.c",
"function": "scsiback_gnttab_data_map_batch"
},
"deprecated": false
},
{
"digest": {
"function_hash": "261612800464848827881695091084537873823",
"length": 2573.0
},
"signature_type": "Function",
"id": "CVE-2021-26931-21ef38c0",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@5a264285ed1cd32e26d9de4f3c8c6855e467fd63",
"target": {
"file": "drivers/block/xen-blkback/blkback.c",
"function": "xen_blkbk_map"
},
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"250586176117805149651005964006452256418",
"317598351037033458059567245164662365834",
"255526047185409754609138339029464015825",
"320531765237687782971787022717587841830",
"155798932448884129729459808682755344063",
"225660949248538140538784265258217147908",
"244484852612738223685616446482580434010",
"337248698506067320403868231469386162645",
"50988670842336664148238593866642624883",
"13270394540423625248539613575535867383"
]
},
"signature_type": "Line",
"id": "CVE-2021-26931-575edad9",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@3194a1746e8aabe86075fd3c5e7cf1f4632d7f16",
"target": {
"file": "drivers/net/xen-netback/netback.c"
},
"deprecated": false
},
{
"digest": {
"function_hash": "169690589717249026004516997722672046362",
"length": 422.0
},
"signature_type": "Function",
"id": "CVE-2021-26931-888f6d63",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@3194a1746e8aabe86075fd3c5e7cf1f4632d7f16",
"target": {
"file": "drivers/net/xen-netback/netback.c",
"function": "xenvif_tx_action"
},
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"186318662488267524307602953918968321311",
"103305143109708191362933843545441739442",
"112378378775043028790163908625200240933",
"106528126184176855947862177582440657848",
"19723268963604667323776214351480633418",
"55614870793759937949546410398730275323",
"100159391847771085699902169393105734185",
"175677277965558419355783688476346592692",
"156529872789830975450230982116029456007"
]
},
"signature_type": "Line",
"id": "CVE-2021-26931-f55b7675",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@7c77474b2d22176d2bfb592ec74e0f2cb71352c9",
"target": {
"file": "drivers/xen/xen-scsiback.c"
},
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"295455083709408399860543168627056243611",
"261377092858090876582857204699966322549",
"244441988370429568124434844357675749385",
"166942301098574478542628406588528807435",
"86693312576899809749751320709583115600",
"53652797367525390287128028531623250326",
"176004696539221780437378268698221802464",
"107342340918161861181867800504767067594",
"141281869423387402765899234238511255423",
"75281653434574965287684253944497015446",
"199303012153856893497883354553547216734"
]
},
"signature_type": "Line",
"id": "CVE-2021-26931-f68c478a",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@5a264285ed1cd32e26d9de4f3c8c6855e467fd63",
"target": {
"file": "drivers/block/xen-blkback/blkback.c"
},
"deprecated": false
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-26931.json"