diff options
author | Jordy Zomer <[email protected]> | 2023-06-17 12:38:28 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-06-22 07:48:08 -0600 |
commit | 8270cb10c0681d52fce508f827dfa1688d3acc3a (patch) | |
tree | a46a3a289f8d0cee96cde9de7aeb44aa8178d264 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 017fb83ee0612595ec70c65ddd83472706b02a50 (diff) |
cdrom: Fix spectre-v1 gadget
This patch fixes a spectre-v1 gadget in cdrom.
The gadget could be triggered by speculatively
bypassing the cdi->capacity check.
Signed-off-by: Jordy Zomer <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Reviewed-by: Phillip Potter <[email protected]>
Link: https://lore.kernel.org/all/ZI1+1OG9Ut1MqsUC@equinox
Signed-off-by: Phillip Potter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions