{"id":"CVE-2024-46896","aliases":["CVE-2024-46896"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdgpu: don't access invalid sched","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: don't access invalid sched\n\nSince 2320c9e6a768 (\"drm/sched: memset() 'job' in drm_sched_job_init()\")\naccessing job->base.sched can produce unexpected results as the initialisation\nof (*job)->base.sched done in amdgpu_job_alloc is overwritten by the\nmemset.\n\nThis commit fixes an issue when a CS would fail validation and would\nbe rejected after job->num_ibs is incremented. In this case,\namdgpu_ib_free(ring->adev, ...) will be called, which would crash the\nmachine because the ring value is bogus.\n\nTo fix this, pass a NULL pointer to amdgpu_ib_free(): we can do this\nbecause the device is actually not used in this function.\n\nThe next commit will remove the ring argument completely.\n\n(cherry picked from commit 2ae520cb12831d264ceb97c61f72c59d33c0dbd7)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: don't access invalid sched\n\nSince 2320c9e6a768 (\"drm/sched: memset() 'job' in drm_sched_job_init()\")\naccessing job->base.sched can produce unexpected results as the initialisation\nof (*job)->base.sched done in amdgpu_job_alloc is overwritten by the\nmemset.\n\nThis commit fixes an issue when a CS would fail validation and would\nbe rejected after job->num_ibs is incremented. In this case,\namdgpu_ib_free(ring->adev, ...) will be called, which would crash the\nmachine because the ring value is bogus.\n\nTo fix this, pass a NULL pointer to amdgpu_ib_free(): we can do this\nbecause the device is actually not used in this function.\n\nThe next commit will remove the ring argument completely.\n\n(cherry picked from commit 2ae520cb12831d264ceb97c61f72c59d33c0dbd7)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amdgpu: no acceder a sched no válido Desde 2320c9e6a768 (\"drm/sched: memset() 'job' en drm_sched_job_init()\") acceder a job-&gt;base.sched puede producir resultados inesperados ya que la inicialización de (*job)-&gt;base.sched realizada en amdgpu_job_alloc es sobrescrita por memset. Esta confirmación corrige un problema cuando un CS fallaría la validación y sería rechazado después de que se incremente job-&gt;num_ibs. En este caso, se llamará a amdgpu_ib_free(ring-&gt;adev, ...), lo que bloquearía la máquina porque el valor de ring es falso. Para corregir esto, pase un puntero NULL a amdgpu_ib_free(): podemos hacer esto porque el dispositivo en realidad no se usa en esta función. La próxima confirmación eliminará el argumento ring por completo. (seleccionado del commit 2ae520cb12831d264ceb97c61f72c59d33c0dbd7)","source":"nvd"}],"published":"2025-01-11T12:35:34.351Z","modified":"2026-06-17T07:56:09.850Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"166df51487f46b6e997dfeea7ca0c2a970853f07","fixed":"65501a4fd84ecdc0af863dbb37759242aab9f2dd","status":"affected"},{"type":"git","introduced":"87210234e5a273ebf9c4110a6aa82b8221478daa","fixed":"da6b2c626ae73c303378ce9eaf6e3eaf16c9925a","status":"affected"},{"type":"git","introduced":"2da108b4b5fb7ec04d7e951418ed80e97f7c35ad","fixed":"67291d601f2b032062b1b2f60ffef1b63e10094c","status":"affected"},{"type":"git","introduced":"2320c9e6a768d135c7b0039995182bb1a4e4fd22","fixed":"a93b1020eb9386d7da11608477121b10079c076a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.1.120","fixed":"6.1.122","status":"affected"},{"type":"semver","introduced":"6.6.66","fixed":"6.6.68","status":"affected"},{"type":"semver","introduced":"6.12.5","fixed":"6.12.7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1.120","fixed":"6.1.122"},{"status":"affected","introduced":"6.6.66","fixed":"6.6.68"},{"status":"affected","introduced":"6.12.5","fixed":"6.12.7"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"},{"status":"affected","version":"6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/65501a4fd84ecdc0af863dbb37759242aab9f2dd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da6b2c626ae73c303378ce9eaf6e3eaf16c9925a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67291d601f2b032062b1b2f60ffef1b63e10094c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a93b1020eb9386d7da11608477121b10079c076a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-46896","url":"https://www.cve.org/CVERecord?id=CVE-2024-46896","licence":"CVE Terms of Use","modified":"2026-05-11T20:38:11.581Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-46896","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46896","licence":"Public domain","modified":"2026-06-17T07:56:09.850Z"}],"updatedAt":"2026-11-25T22:58:50.914Z","epss":{"score":0.0022,"percentile":0.13364,"date":"2026-12-01T12:00:22.000Z"}}