Commit 86f8285
scsi: ufs: qcom: Fix crypto key eviction
stable inclusion
from stable-6.6.78
commit 7f1e0af181982642bc918ca816e18077bbdadacb
category: bugfix
issue: #IC2PN8
CVE: NA
Signed-off-by: zyf1116 <[email protected]>
---------------------------------------
commit 7a0905caf5665be41094a6ceb5e9d2524de4627a upstream.
Commit 56541c7 ("scsi: ufs: ufs-qcom: Switch to the new ICE API")
introduced an incorrect check of the algorithm ID into the key eviction
path, and thus qcom_ice_evict_key() is no longer ever called. Fix it.
Fixes: 56541c7 ("scsi: ufs: ufs-qcom: Switch to the new ICE API")
Cc: [email protected]
Cc: Abel Vesa <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: zyf1116 <[email protected]>1 parent 8c15beb commit 86f8285
1 file changed
+8
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
178 | 176 | | |
179 | 177 | | |
180 | 178 | | |
| |||
0 commit comments