{"id":"CVE-2024-57844","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-01-15T13:15:12.277","lastModified":"2026-06-17T08:14:06.123","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: Fix fault on fd close after unbind\n\nIf userspace holds an fd open, unbinds the device and then closes it,\nthe driver shouldn't try to access the hardware. Protect it by using\ndrm_dev_enter()/drm_dev_exit(). This fixes the following page fault:\n\n<6> [IGT] xe_wedged: exiting, ret=98\n<1> BUG: unable to handle page fault for address: ffffc901bc5e508c\n<1> #PF: supervisor read access in kernel mode\n<1> #PF: error_code(0x0000) - not-present page\n...\n<4>   xe_lrc_update_timestamp+0x1c/0xd0 [xe]\n<4>   xe_exec_queue_update_run_ticks+0x50/0xb0 [xe]\n<4>   xe_exec_queue_fini+0x16/0xb0 [xe]\n<4>   __guc_exec_queue_fini_async+0xc4/0x190 [xe]\n<4>   guc_exec_queue_fini_async+0xa0/0xe0 [xe]\n<4>   guc_exec_queue_fini+0x23/0x40 [xe]\n<4>   xe_exec_queue_destroy+0xb3/0xf0 [xe]\n<4>   xe_file_close+0xd4/0x1a0 [xe]\n<4>   drm_file_free+0x210/0x280 [drm]\n<4>   drm_close_helper.isra.0+0x6d/0x80 [drm]\n<4>   drm_release_noglobal+0x20/0x90 [drm]\n\n(cherry picked from commit 4ca1fd418338d4d135428a0eb1e16e3b3ce17ee8)"},{"lang":"es","value":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/xe: Se corrige un error en el cierre de fd después de desvincular Si el espacio de usuario mantiene abierto un fd, desvincula el dispositivo y luego lo cierra, el controlador no debería intentar acceder al hardware. Protéjalo usando drm_dev_enter()/drm_dev_exit(). Esto corrige el siguiente error de página: &lt;6&gt; [IGT] xe_wedged: saliendo, ret=98 &lt;1&gt; ERROR: no se puede gestionar el error de página para la dirección: ffffc901bc5e508c &lt;1&gt; #PF: acceso de lectura del supervisor en modo kernel &lt;1&gt; #PF: error_code(0x0000) - not-present page ... &lt;4&gt; xe_lrc_update_timestamp+0x1c/0xd0 [xe] &lt;4&gt; xe_exec_queue_update_run_ticks+0x50/0xb0 [xe] &lt;4&gt; xe_exec_queue_fini+0x16/0xb0 [xe] &lt;4&gt; __guc_exec_queue_fini_async+0xc4/0x190 [xe] &lt;4&gt; guc_exec_queue_fini_async+0xa0/0xe0 [xe] &lt;4&gt; guc_exec_queue_fini+0x23/0x40 [xe] &lt;4&gt; xe_exec_queue_destroy+0xb3/0xf0 [xe] &lt;4&gt; xe_file_close+0xd4/0x1a0 [xe] &lt;4&gt; drm_file_free+0x210/0x280 [drm] &lt;4&gt; drm_close_helper.isra.0+0x6d/0x80 [drm] &lt;4&gt; drm_release_noglobal+0x20/0x90 [drm] (seleccionado de el commit 4ca1fd418338d4d135428a0eb1e16e3b3ce17ee8)"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/gpu/drm/xe/xe_exec_queue.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"514447a1219021298329ce586536598c3b4b2dc0","lessThan":"924d43bd10a1f6723ac5181a6e6cc2196ba98cdd","versionType":"git","status":"affected"},{"version":"514447a1219021298329ce586536598c3b4b2dc0","lessThan":"fe39b222a4139354d32ff9d46b88757f63f71d63","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/gpu/drm/xe/xe_exec_queue.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.12","status":"affected"},{"version":"0","lessThan":"6.12","versionType":"semver","status":"unaffected"},{"version":"6.12.9","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.13","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-noinfo"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.1","versionEndExcluding":"6.12.9","matchCriteriaId":"51AF98D0-F3AA-4960-8230-B6DE6A952104"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.12:-:*:*:*:*:*:*","matchCriteriaId":"0E698080-7669-4132-8817-4C674EEBCE54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.12:rc7:*:*:*:*:*:*","matchCriteriaId":"1EF8CD82-1EAE-4254-9545-F85AB94CF90F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*","matchCriteriaId":"62567B3C-6CEE-46D0-BC2E-B3717FBF7D13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*","matchCriteriaId":"5A073481-106D-4B15-B4C7-FB0213B8E1D4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*","matchCriteriaId":"DE491969-75AE-4A6B-9A58-8FC5AF98798F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*","matchCriteriaId":"93C0660D-7FB8-4FBA-892A-B064BA71E49E"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*","matchCriteriaId":"034C36A6-C481-41F3-AE9A-D116E5BE6895"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/924d43bd10a1f6723ac5181a6e6cc2196ba98cdd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/fe39b222a4139354d32ff9d46b88757f63f71d63","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}