Commit a411ac1
nvme: avoid double free special payload
jira VULN-44150
cve CVE-2024-41073
commit-author Chunguang Xu <chunguang.xu@shopee.com>
commit e5d574a
If a discard request needs to be retried, and that retry may fail before
a new special payload is added, a double free will result. Clear the
RQF_SPECIAL_LOAD when the request is cleaned.
Signed-off-by: Chunguang Xu <chunguang.xu@shopee.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
(cherry picked from commit e5d574a)
Signed-off-by: CIQ Kernel Automation <ciq_kernel_automation@ciq.com>1 parent e9dfc2e commit a411ac1
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
| 962 | + | |
962 | 963 | | |
963 | 964 | | |
964 | 965 | | |
| |||
0 commit comments