In the Linux kernel, the following vulnerability has been resolved:
loop: implement ->free_disk
Ensure that the lo_device which is stored in the gendisk private data is valid until the gendisk is freed. Currently the loop driver uses a lot of effort to make sure a device is not freed when it is still in use, but to to fix a potential deadlock this will be relaxed a bit soon.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aadd1443aae7fe8956e3b11157827067f034406a",
"target": {
"function": "loop_remove",
"file": "drivers/block/loop.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49531-2d23afd8",
"signature_type": "Function",
"digest": {
"length": 314.0,
"function_hash": "8940513653823594087540156176231328671"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2c7f56f8b5256d57f9e3fc7794c31361d43bdd9",
"target": {
"function": "loop_remove",
"file": "drivers/block/loop.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49531-4fff141a",
"signature_type": "Function",
"digest": {
"length": 314.0,
"function_hash": "8940513653823594087540156176231328671"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d2c7f56f8b5256d57f9e3fc7794c31361d43bdd9",
"target": {
"file": "drivers/block/loop.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49531-936e39b9",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"171361769461062480897642788698058683177",
"102320581126587915020172560423338113171",
"317938218208451712763808970622794703770",
"72134429875411843063016522900952745261",
"228960748321801967002222077350252114487",
"173461169092236460874218607557112913613",
"273399302952900066634745411409494380482",
"137348345213066629180940434945305833210",
"237941563674687209647275561970851466638",
"176196840420624008939547150752612017306",
"179322475807507146643881460931483260176",
"50898764853677441891414782364391375440",
"225932529443210381803138703826223295451",
"247195499284750249222919568355225337811",
"3020327041481725245861589159750229444",
"55161277708553680712152177460414218802",
"239265914341610364933809801111083190127"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aadd1443aae7fe8956e3b11157827067f034406a",
"target": {
"file": "drivers/block/loop.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49531-c1b2e976",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"171361769461062480897642788698058683177",
"102320581126587915020172560423338113171",
"317938218208451712763808970622794703770",
"72134429875411843063016522900952745261",
"228960748321801967002222077350252114487",
"173461169092236460874218607557112913613",
"273399302952900066634745411409494380482",
"137348345213066629180940434945305833210",
"237941563674687209647275561970851466638",
"176196840420624008939547150752612017306",
"179322475807507146643881460931483260176",
"50898764853677441891414782364391375440",
"225932529443210381803138703826223295451",
"247195499284750249222919568355225337811",
"3020327041481725245861589159750229444",
"55161277708553680712152177460414218802",
"239265914341610364933809801111083190127"
]
}
}
]