public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+ff11be94dfcd7a5af8da@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [syzbot] Re: [syzbot] [net?] [afs?] WARNING in rxrpc_send_data
Date: Wed, 11 Dec 2024 19:30:44 -0800	[thread overview]
Message-ID: <675a58e4.050a0220.17f54a.004d.GAE@google.com> (raw)
In-Reply-To: <6757fb68.050a0220.2477f.005f.GAE@google.com>

For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.

***

Subject: Re: [syzbot] [net?] [afs?] WARNING in rxrpc_send_data
Author: lizhi.xu@windriver.com

Clean up tx buf and sendmsg race ?

#syz test

diff --git a/net/rxrpc/call_object.c b/net/rxrpc/call_object.c
index 5a543c3f6fb0..35be886b38c4 100644
--- a/net/rxrpc/call_object.c
+++ b/net/rxrpc/call_object.c
@@ -545,6 +545,7 @@ static void rxrpc_cleanup_tx_buffers(struct rxrpc_call *call)
 		trace_rxrpc_tq(call, tq, 0, rxrpc_tq_cleaned);
 		kfree(tq);
 	}
+	call->tx_queue = NULL;
 }
 
 /*

  parent reply	other threads:[~2024-12-12  3:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-10  8:27 [syzbot] [net?] [afs?] WARNING in rxrpc_send_data syzbot
2024-12-10 14:44 ` syzbot
2024-12-12  3:30 ` syzbot [this message]
2024-12-12 14:22 ` [syzbot] " syzbot
2024-12-12 17:57 ` David Howells
2024-12-12 18:26   ` syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=675a58e4.050a0220.17f54a.004d.GAE@google.com \
    --to=syzbot+ff11be94dfcd7a5af8da@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox