{"id":"CVE-2024-46803","summary":"drm/amdkfd: Check debug trap enable before write dbg_ev_file","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Check debug trap enable before write dbg_ev_file\n\nIn interrupt context, write dbg_ev_file will be run by work queue. It\nwill cause write dbg_ev_file execution after debug_trap_disable, which\nwill cause NULL pointer access.\nv2: cancel work \"debug_event_workarea\" before set dbg_ev_file as NULL.","modified":"2026-03-20T12:37:55.629227Z","published":"2024-09-27T12:35:49.185Z","related":["SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46803.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/547033b593063eb85bfdf9b25a5f1b8fd1911be2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/820dcbd38a77bd5fdc4236d521c1c122841227d0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6ea3b8fe398915338147fe54dd2db8155fdafd8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46803.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46803"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0ab2d7532b05a3e7c06fd3b0c8bd6b46c1dfb508"},{"fixed":"e6ea3b8fe398915338147fe54dd2db8155fdafd8"},{"fixed":"820dcbd38a77bd5fdc4236d521c1c122841227d0"},{"fixed":"547033b593063eb85bfdf9b25a5f1b8fd1911be2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46803.json"}}],"schema_version":"1.7.5"}