public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+76f33569875eb708e575@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [syzbot] Re: [syzbot] [afs?] WARNING: lock held when returning to user space in afs_proc_addr_prefs_write
Date: Wed, 25 Dec 2024 17:05:12 -0800	[thread overview]
Message-ID: <676cabc8.050a0220.226966.0076.GAE@google.com> (raw)
In-Reply-To: <676c7f0d.050a0220.2f3838.03bb.GAE@google.com>

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

***

Subject: Re: [syzbot] [afs?] WARNING: lock held when returning to user space in afs_proc_addr_prefs_write
Author: lizhi.xu@windriver.com

#syz test

diff --git a/fs/afs/addr_prefs.c b/fs/afs/addr_prefs.c
index a189ff8a5034..ba391f8558d5 100644
--- a/fs/afs/addr_prefs.c
+++ b/fs/afs/addr_prefs.c
@@ -413,8 +413,6 @@ int afs_proc_addr_prefs_write(struct file *file, char *buf, size_t size)
 
 	do {
 		argc = afs_split_string(&buf, argv, ARRAY_SIZE(argv));
-		if (argc < 0)
-			return argc;
 		if (argc < 2)
 			goto inval;
 

  reply	other threads:[~2024-12-26  1:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-25 21:54 [syzbot] [afs?] WARNING: lock held when returning to user space in afs_proc_addr_prefs_write syzbot
2024-12-26  1:05 ` syzbot [this message]
2024-12-26  1:26 ` [PATCH] afs: Merge preference rule failure condition Lizhi Xu
2025-01-06 13:48   ` David Howells
2025-01-06 14:06 ` [syzbot] [afs?] WARNING: lock held when returning to user space in afs_proc_addr_prefs_write David Howells
2025-01-06 14:27   ` syzbot
2025-01-06 16:44 ` David Howells
2025-01-06 17:05   ` 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=676cabc8.050a0220.226966.0076.GAE@google.com \
    --to=syzbot+76f33569875eb708e575@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