Commit db9d992
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 <[email protected]>
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 2e54154)
Signed-off-by: Ronnie Sahlberg <[email protected]>1 parent 7c9dde4 commit db9d992
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1522 | 1522 | | |
1523 | 1523 | | |
1524 | 1524 | | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
1525 | 1528 | | |
1526 | 1529 | | |
1527 | 1530 | | |
1528 | 1531 | | |
1529 | 1532 | | |
1530 | 1533 | | |
1531 | | - | |
1532 | | - | |
1533 | | - | |
1534 | 1534 | | |
1535 | 1535 | | |
1536 | 1536 | | |
| |||
0 commit comments