Commit c707193
Revert "smb: client: Fix netns refcount imbalance causing leaks and use-after-free"
This reverts commit 4e7f164.
The commit e9f2517 ("smb: client: fix TCP timers deadlock after
rmmod") is not only a bogus fix for LOCKDEP null-ptr-deref but also
introduces a real issue, TCP sockets leak, which will be explained in
detail in the next revert.
Also, CNA assigned CVE-2024-54680 to it but is rejecting it. [0]
Thus, we are reverting the commit and its follow-up commit 4e7f164
("smb: client: Fix netns refcount imbalance causing leaks and
use-after-free").
Link: https://lore.kernel.org/all/2025040248-tummy-smilingly-4240@gregkh/ #[0]
Fixes: 4e7f164 ("smb: client: Fix netns refcount imbalance causing leaks and use-after-free")
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Cc: [email protected]
Signed-off-by: Steve French <[email protected]>1 parent 262b73e commit c707193
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
304 | 303 | | |
305 | 304 | | |
306 | 305 | | |
| |||
3369 | 3368 | | |
3370 | 3369 | | |
3371 | 3370 | | |
3372 | | - | |
3373 | | - | |
3374 | | - | |
3375 | | - | |
3376 | | - | |
3377 | | - | |
| 3371 | + | |
| 3372 | + | |
3378 | 3373 | | |
3379 | 3374 | | |
3380 | 3375 | | |
| |||
3390 | 3385 | | |
3391 | 3386 | | |
3392 | 3387 | | |
3393 | | - | |
| 3388 | + | |
| 3389 | + | |
3394 | 3390 | | |
| 3391 | + | |
3395 | 3392 | | |
3396 | 3393 | | |
3397 | 3394 | | |
| |||
3446 | 3443 | | |
3447 | 3444 | | |
3448 | 3445 | | |
| 3446 | + | |
| 3447 | + | |
| 3448 | + | |
3449 | 3449 | | |
3450 | 3450 | | |
3451 | 3451 | | |
| |||
0 commit comments