In the Linux kernel, the following vulnerability has been resolved:
drm/xe: Don't allow evicting of BOs in same VM in array of VM binds
An array of VM binds can potentially evict other buffer objects (BOs) within the same VM under certain conditions, which may lead to NULL pointer dereferences later in the bind pipeline. To prevent this, clear the allowresevict flag in the xebovalidate call.
v2: - Invert polarity of noresevict (Thomas) - Add comment in code explaining issue (Thomas)
(cherry picked from commit 8b9ba8d6d95fe75fed6b0480bb03da4b321bea08)
[
{
"id": "CVE-2025-40086-2a1c48a0",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "314893536800396175684309927733464458711",
"length": 453.0
},
"target": {
"file": "drivers/gpu/drm/xe/xe_vm.c",
"function": "vm_bind_ioctl_ops_lock_and_prep"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ac74613e5f2ef3450f44fd2127198662c2563a9"
},
{
"id": "CVE-2025-40086-65ca85e4",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"12595814751271416018796539092985708583",
"3421905982961256801818143071558173214",
"63890572236398386152000730845549885323",
"142623611141255437861400485935647012303",
"214158701101572129636925361559465697441",
"174949636231012025501027932052441376204",
"10910249623905753678303351844023274433",
"10600186436362444627652024093944124946",
"65331556396340574602415928821678479846",
"277033673703438390551677364597691003101",
"320521693387482529145139807130844806419",
"64150900718329848940289378528219324256",
"251997103470701329979271602000916056054",
"51008626522711522512848461939414770958",
"178238699337750449592142425732652806892",
"241633368013192934701216743309555887734",
"102459576557468414846883660209045514908",
"88157150664802763819067616321820443760",
"125251308741866606514558774034385385084",
"264523952177685365312138323728187041965",
"122329981835780040010244298120551840093",
"91610164265718233255597902334632139203",
"182700615223793470171974484431064808211",
"298338849074115471136435689419978013352",
"176792258423933825515650111351413983022",
"23649777334759318742852143957206207672",
"288910385760412466614599307592971498140",
"45704175434750409909751558802573308873",
"131850890043758735232104952493753015891",
"281661229544139339051227995543156383663",
"211346464330034505792339722775122062457",
"299109486853920624542065314989876812819",
"30176158888116050046096699033433542158",
"168119281929632076679244756134564320482",
"223071968815435105596600777016179199571",
"268668139638309489435223818384393339447",
"124593949297169641144077623846874806470",
"228660492320529138259948076835251005800",
"197375164112620328633210009128704102668",
"50446397455746197264352008830041110859",
"108836663292937756210285831333006221952",
"259111130868845165602925980108999266392"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/xe/xe_vm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ac74613e5f2ef3450f44fd2127198662c2563a9"
},
{
"id": "CVE-2025-40086-6811ef46",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "334593584227543052543336011971752280370",
"length": 4592.0
},
"target": {
"file": "drivers/gpu/drm/xe/xe_vm.c",
"function": "xe_vm_bind_ioctl"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384"
},
{
"id": "CVE-2025-40086-8a27b10f",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "249636538430432833393470679384062792562",
"length": 4619.0
},
"target": {
"file": "drivers/gpu/drm/xe/xe_vm.c",
"function": "xe_vm_bind_ioctl"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ac74613e5f2ef3450f44fd2127198662c2563a9"
},
{
"id": "CVE-2025-40086-8bc533a5",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "314893536800396175684309927733464458711",
"length": 453.0
},
"target": {
"file": "drivers/gpu/drm/xe/xe_vm.c",
"function": "vm_bind_ioctl_ops_lock_and_prep"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384"
},
{
"id": "CVE-2025-40086-99bd2ed2",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "257924401624377573294300440888454833599",
"length": 330.0
},
"target": {
"file": "drivers/gpu/drm/xe/xe_vm.c",
"function": "vma_lock_and_validate"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384"
},
{
"id": "CVE-2025-40086-a0d272b9",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "59638177364204888607532572233140154176",
"length": 1431.0
},
"target": {
"file": "drivers/gpu/drm/xe/xe_vm.c",
"function": "op_lock_and_prep"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384"
},
{
"id": "CVE-2025-40086-c3c2af7e",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "203459998293528780209079005387094225046",
"length": 338.0
},
"target": {
"file": "drivers/gpu/drm/xe/xe_vm.c",
"function": "vma_lock_and_validate"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ac74613e5f2ef3450f44fd2127198662c2563a9"
},
{
"id": "CVE-2025-40086-d56bcdcd",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"line_hashes": [
"12595814751271416018796539092985708583",
"3421905982961256801818143071558173214",
"63890572236398386152000730845549885323",
"142623611141255437861400485935647012303",
"268908628849683528841545104221945932256",
"332983635615365563961580926804323050102",
"272502512407895016655579101134340514321",
"331293089276122080539448413246963675005",
"65331556396340574602415928821678479846",
"277033673703438390551677364597691003101",
"320521693387482529145139807130844806419",
"64150900718329848940289378528219324256",
"251997103470701329979271602000916056054",
"51008626522711522512848461939414770958",
"178238699337750449592142425732652806892",
"241633368013192934701216743309555887734",
"102459576557468414846883660209045514908",
"88157150664802763819067616321820443760",
"125251308741866606514558774034385385084",
"264523952177685365312138323728187041965",
"122329981835780040010244298120551840093",
"91610164265718233255597902334632139203",
"182700615223793470171974484431064808211",
"298338849074115471136435689419978013352",
"176792258423933825515650111351413983022",
"23649777334759318742852143957206207672",
"288910385760412466614599307592971498140",
"45704175434750409909751558802573308873",
"131850890043758735232104952493753015891",
"281661229544139339051227995543156383663",
"12699341749397769584277906640780814975",
"299109486853920624542065314989876812819",
"30176158888116050046096699033433542158",
"289694974084552796238729742005063232240",
"223071968815435105596600777016179199571",
"268668139638309489435223818384393339447",
"124593949297169641144077623846874806470",
"228660492320529138259948076835251005800",
"197375164112620328633210009128704102668",
"50446397455746197264352008830041110859",
"108836663292937756210285831333006221952",
"259111130868845165602925980108999266392"
],
"threshold": 0.9
},
"target": {
"file": "drivers/gpu/drm/xe/xe_vm.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384"
},
{
"id": "CVE-2025-40086-d9cb93b6",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "191285128557837080666788705000667520241",
"length": 1454.0
},
"target": {
"file": "drivers/gpu/drm/xe/xe_vm.c",
"function": "op_lock_and_prep"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ac74613e5f2ef3450f44fd2127198662c2563a9"
}
]