[PATCH 0/2] cifs: Revert bogus fix for CVE-2024-54680 and its followup commit.

Steve French smfrench at gmail.com
Thu Apr 3 01:14:03 UTC 2025


might be helpful if there were eBPF tracepoints for some of this that
would be able to log warnings optionally if refcount issue on
sock_release and/or rmmod


On Wed, Apr 2, 2025 at 3:03 PM Kuniyuki Iwashima <kuniyu at amazon.com> wrote:
>
> Commit e9f2517a3e18 ("smb: client: fix TCP timers deadlock after
> rmmod") was not only a bogus fix for the LOCKDEP issue but also
> introduced a real TCP socket leak.
>
> I'm working on the LOCKDEP fix on the networking side, so let's
> revert the commit and its followup fix.
>
> For details, please see each commit.
>
>
> Kuniyuki Iwashima (2):
>   Revert "smb: client: Fix netns refcount imbalance causing leaks and
>     use-after-free"
>   Revert "smb: client: fix TCP timers deadlock after rmmod"
>
>  fs/smb/client/connect.c | 34 +++++++++-------------------------
>  1 file changed, 9 insertions(+), 25 deletions(-)
>
> --
> 2.48.1
>
>


-- 
Thanks,

Steve



More information about the samba-technical mailing list