Commit deea8af
cifs: Use after free in debug code
BugLink: https://bugs.launchpad.net/bugs/2036450
This debug code dereferences "old_iface" after it was already freed by
the call to release_iface(). Re-order the debugging to avoid this
issue.
Fixes: b54034a ("cifs: during reconnect, update interface if necessary")
Cc: [email protected] # 5.19+
Reviewed-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Steve French <[email protected]>
(cherry picked from commit f391d6e)
Signed-off-by: Tim Gardner <[email protected]>1 parent dec15a2 commit deea8af
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | 305 | | |
307 | 306 | | |
308 | 307 | | |
309 | | - | |
310 | 308 | | |
| 309 | + | |
311 | 310 | | |
312 | 311 | | |
| 312 | + | |
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| |||
0 commit comments