{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-46896","id":"CVE-2024-46896","title":"drm/amdgpu: don't access invalid sched","description":"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 an","descriptionLong":"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)","published":"2025-01-11T12:35:34.351Z","updated":"2026-10-28T02:30:27.657681586Z","reserved":"2025-01-11T12:33:33.708Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"166df51487f46b6e997dfeea7ca0c2a970853f07","lessThan":"65501a4fd84ecdc0af863dbb37759242aab9f2dd","status":"affected","versionType":"git"},{"version":"87210234e5a273ebf9c4110a6aa82b8221478daa","lessThan":"da6b2c626ae73c303378ce9eaf6e3eaf16c9925a","status":"affected","versionType":"git"},{"version":"2da108b4b5fb7ec04d7e951418ed80e97f7c35ad","lessThan":"67291d601f2b032062b1b2f60ffef1b63e10094c","status":"affected","versionType":"git"},{"version":"2320c9e6a768d135c7b0039995182bb1a4e4fd22","lessThan":"a93b1020eb9386d7da11608477121b10079c076a","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6.1.120","lessThan":"6.1.122","status":"affected","versionType":"semver"},{"version":"6.6.66","lessThan":"6.6.68","status":"affected","versionType":"semver"},{"version":"6.12.5","lessThan":"6.12.7","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/65501a4fd84ecdc0af863dbb37759242aab9f2dd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/da6b2c626ae73c303378ce9eaf6e3eaf16c9925a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/67291d601f2b032062b1b2f60ffef1b63e10094c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a93b1020eb9386d7da11608477121b10079c076a","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46896.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46896","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0022,"epssPercentile":0.12699,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-46896","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46896","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-46896","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-46896","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}