In the Linux kernel, the following vulnerability has been resolved:
drm/vmwgfx: Fix prime with external buffers
Make sure that for external buffers mapping goes through the dma_buf interface instead of trying to access pages directly.
External buffers might not provide direct access to readable/writable pages so to make sure the bo's created from external dmabufs can be read dmabuf interface has to be used.
Fixes crashes in IGT's kms_prime with vgem. Regular desktop usage won't trigger this due to the fact that virtual machines will not have multiple GPUs but it enables better test coverage in IGT.
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"22473965881717132713960070848089368601",
"38043097156940254877306039318866292063",
"21139877360445670702411510463591494196",
"155256340510504071583341502780452563731",
"247598697444329322069498122255424722789",
"25073903756359165096580203892105076281",
"218505257939355454546990776919614837418",
"202247054860183129993809055217749459961",
"99714734212901638945089599732929025574",
"66828468438567383955033756004498270940",
"251543372517798747495558861140325595805",
"303581024368990815446888065416782819147",
"5664395613422648216624972427129434881",
"249274557468563794272125002945506764675",
"274712991523677123791202137320248739175",
"213154488959671939486525062272469365165",
"186370843022803058334085749587388433755",
"97961857679467314123256972354691038373"
]
},
"id": "CVE-2024-46709-0114ea73",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c12391ee1ab59cb2f3be3f1f5e6d0fc0c2dc854",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_blit.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"22473965881717132713960070848089368601",
"38043097156940254877306039318866292063",
"21139877360445670702411510463591494196",
"155256340510504071583341502780452563731",
"247598697444329322069498122255424722789",
"25073903756359165096580203892105076281",
"218505257939355454546990776919614837418",
"202247054860183129993809055217749459961",
"99714734212901638945089599732929025574",
"66828468438567383955033756004498270940",
"251543372517798747495558861140325595805",
"303581024368990815446888065416782819147",
"5664395613422648216624972427129434881",
"249274557468563794272125002945506764675",
"274712991523677123791202137320248739175",
"213154488959671939486525062272469365165",
"186370843022803058334085749587388433755",
"97961857679467314123256972354691038373"
]
},
"id": "CVE-2024-46709-04b7e2a9",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a9716bbbf3dd6b6cbefba3abcc89af8b72631f4",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_blit.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 2240.0,
"function_hash": "147357804068518143866445072007465339942"
},
"id": "CVE-2024-46709-15ef5982",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@50f1199250912568606b3778dc56646c10cb7b04",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_blit.c",
"function": "vmw_bo_cpu_blit"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"311301015033858141468486885617034277241",
"136881992498255583309676693750639827149",
"133887042259712484220071816488320147461",
"109729525844947903248035458015785981605",
"97418747993547013561040087410434849412",
"195720273506300335938853689548833033919",
"102999790450546999896536201645344054631",
"193165532654123148977663704180151449747",
"178173012833253830448867785591578962765",
"176526478491361154291329918219280893187",
"42097596533694431609775583524555755888",
"91179368990768993091089078546998769060",
"238882171935323824274778063509330734089",
"201053800656503537680963471015994434423",
"197414975564937880804241781935046107626",
"200628167679476832982459512132364505840",
"189291689070941549942263237592016629801",
"224110425440276378420725127141242521280",
"144764690731497515787210956198556613525",
"329373205713310392978742505581634439188",
"149954030357377353438683105047233543490",
"6950480537452472924935158584923675856"
]
},
"id": "CVE-2024-46709-24638bcc",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c12391ee1ab59cb2f3be3f1f5e6d0fc0c2dc854",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"22473965881717132713960070848089368601",
"38043097156940254877306039318866292063",
"21139877360445670702411510463591494196",
"155256340510504071583341502780452563731",
"247598697444329322069498122255424722789",
"25073903756359165096580203892105076281",
"218505257939355454546990776919614837418",
"202247054860183129993809055217749459961",
"99714734212901638945089599732929025574",
"66828468438567383955033756004498270940",
"251543372517798747495558861140325595805",
"303581024368990815446888065416782819147",
"5664395613422648216624972427129434881",
"249274557468563794272125002945506764675",
"274712991523677123791202137320248739175",
"213154488959671939486525062272469365165",
"186370843022803058334085749587388433755",
"97961857679467314123256972354691038373"
]
},
"id": "CVE-2024-46709-3e874ccf",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@50f1199250912568606b3778dc56646c10cb7b04",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_blit.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 868.0,
"function_hash": "335497786168895411430291694930634865330"
},
"id": "CVE-2024-46709-3ed1cb4c",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c12391ee1ab59cb2f3be3f1f5e6d0fc0c2dc854",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c",
"function": "vmw_stdu_bo_cpu_commit"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"43136657168929118243172499186173174361",
"175688408761761021260401211777795159787",
"226327720282133857211233066681820687239",
"247598697444329322069498122255424722789",
"25073903756359165096580203892105076281",
"209332923599617500898470015667450198778"
]
},
"id": "CVE-2024-46709-4117b52f",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c12391ee1ab59cb2f3be3f1f5e6d0fc0c2dc854",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_drv.h"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 2240.0,
"function_hash": "147357804068518143866445072007465339942"
},
"id": "CVE-2024-46709-6aeed4f6",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c12391ee1ab59cb2f3be3f1f5e6d0fc0c2dc854",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_blit.c",
"function": "vmw_bo_cpu_blit"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1606.0,
"function_hash": "190440182926584800412527377951934144263"
},
"id": "CVE-2024-46709-6d8c34ff",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c12391ee1ab59cb2f3be3f1f5e6d0fc0c2dc854",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c",
"function": "vmw_stdu_bo_populate_update_cpu"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1606.0,
"function_hash": "190440182926584800412527377951934144263"
},
"id": "CVE-2024-46709-76010262",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@50f1199250912568606b3778dc56646c10cb7b04",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c",
"function": "vmw_stdu_bo_populate_update_cpu"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 868.0,
"function_hash": "335497786168895411430291694930634865330"
},
"id": "CVE-2024-46709-765b0eec",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@50f1199250912568606b3778dc56646c10cb7b04",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c",
"function": "vmw_stdu_bo_cpu_commit"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 868.0,
"function_hash": "335497786168895411430291694930634865330"
},
"id": "CVE-2024-46709-84807162",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a9716bbbf3dd6b6cbefba3abcc89af8b72631f4",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c",
"function": "vmw_stdu_bo_cpu_commit"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 2240.0,
"function_hash": "147357804068518143866445072007465339942"
},
"id": "CVE-2024-46709-8f6ed27a",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a9716bbbf3dd6b6cbefba3abcc89af8b72631f4",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_blit.c",
"function": "vmw_bo_cpu_blit"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"311301015033858141468486885617034277241",
"136881992498255583309676693750639827149",
"133887042259712484220071816488320147461",
"109729525844947903248035458015785981605",
"97418747993547013561040087410434849412",
"195720273506300335938853689548833033919",
"102999790450546999896536201645344054631",
"193165532654123148977663704180151449747",
"178173012833253830448867785591578962765",
"176526478491361154291329918219280893187",
"42097596533694431609775583524555755888",
"91179368990768993091089078546998769060",
"238882171935323824274778063509330734089",
"201053800656503537680963471015994434423",
"197414975564937880804241781935046107626",
"200628167679476832982459512132364505840",
"189291689070941549942263237592016629801",
"224110425440276378420725127141242521280",
"144764690731497515787210956198556613525",
"329373205713310392978742505581634439188",
"149954030357377353438683105047233543490",
"6950480537452472924935158584923675856"
]
},
"id": "CVE-2024-46709-9da20658",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@50f1199250912568606b3778dc56646c10cb7b04",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"43136657168929118243172499186173174361",
"175688408761761021260401211777795159787",
"226327720282133857211233066681820687239",
"247598697444329322069498122255424722789",
"25073903756359165096580203892105076281",
"209332923599617500898470015667450198778"
]
},
"id": "CVE-2024-46709-a75fe38b",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a9716bbbf3dd6b6cbefba3abcc89af8b72631f4",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_drv.h"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"43136657168929118243172499186173174361",
"175688408761761021260401211777795159787",
"226327720282133857211233066681820687239",
"247598697444329322069498122255424722789",
"25073903756359165096580203892105076281",
"209332923599617500898470015667450198778"
]
},
"id": "CVE-2024-46709-b344c512",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@50f1199250912568606b3778dc56646c10cb7b04",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_drv.h"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"311301015033858141468486885617034277241",
"136881992498255583309676693750639827149",
"133887042259712484220071816488320147461",
"109729525844947903248035458015785981605",
"97418747993547013561040087410434849412",
"195720273506300335938853689548833033919",
"102999790450546999896536201645344054631",
"193165532654123148977663704180151449747",
"178173012833253830448867785591578962765",
"176526478491361154291329918219280893187",
"42097596533694431609775583524555755888",
"91179368990768993091089078546998769060",
"238882171935323824274778063509330734089",
"201053800656503537680963471015994434423",
"197414975564937880804241781935046107626",
"200628167679476832982459512132364505840",
"189291689070941549942263237592016629801",
"224110425440276378420725127141242521280",
"144764690731497515787210956198556613525",
"329373205713310392978742505581634439188",
"149954030357377353438683105047233543490",
"6950480537452472924935158584923675856"
]
},
"id": "CVE-2024-46709-bffe53b5",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a9716bbbf3dd6b6cbefba3abcc89af8b72631f4",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"length": 1606.0,
"function_hash": "190440182926584800412527377951934144263"
},
"id": "CVE-2024-46709-e44a5d22",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a9716bbbf3dd6b6cbefba3abcc89af8b72631f4",
"target": {
"file": "drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c",
"function": "vmw_stdu_bo_populate_update_cpu"
}
}
]