diff options
| author | Ce Sun <cesun102@amd.com> | 2026-05-18 11:44:06 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-06-04 22:24:13 +0300 |
| commit | d35617ef465b935503e4616c1ce35775a6bc1b71 (patch) | |
| tree | 6ffd81aff21ec98e5a3374351eaa488296708317 /include/linux/root_dev.h | |
| parent | 3ea273267fd29cbf6d83ee72329f59eb5042605b (diff) | |
| download | linux-d35617ef465b935503e4616c1ce35775a6bc1b71.tar.xz | |
drm/amdgpu: Fix user-triggerable BUG()/BUG_ON() calls
Replace BUG()/BUG_ON() with error logs and safe returns in several
places where they can be triggered by invalid userspace input,
preventing DoS via kernel panic.
Signed-off-by: Ce Sun <cesun102@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions
