Commit e7650e3
drm/amdgpu: Fix potential fence use-after-free v2
jira SECO-48
cve CVE-2023-51042
commit 2e54154
fence Decrements the reference count before exiting.
Avoid Race Vulnerabilities for fence use-after-free.
v2 (chk): actually fix the use after free and not just move it.
Signed-off-by: shanzhulig <shanzhulig@gmail.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 2e54154)
Signed-off-by: Ronnie Sahlberg <rsahlberg@ciq.com>1 parent 2a51943 commit e7650e3
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1500 | 1500 | | |
1501 | 1501 | | |
1502 | 1502 | | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
1503 | 1506 | | |
1504 | 1507 | | |
1505 | 1508 | | |
1506 | 1509 | | |
1507 | 1510 | | |
1508 | 1511 | | |
1509 | | - | |
1510 | | - | |
1511 | | - | |
1512 | 1512 | | |
1513 | 1513 | | |
1514 | 1514 | | |
| |||
0 commit comments