linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christian Brauner <brauner@kernel.org>
To: syzbot <syzbot+5f1acda7e06a2298fae6@syzkaller.appspotmail.com>
Cc: chuck.lever@oracle.com, jlayton@kernel.org,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	syzkaller-bugs@googlegroups.com, viro@zeniv.linux.org.uk
Subject: Re: [syzbot] [fs?] memory leak in fasync_helper (2)
Date: Thu, 21 Sep 2023 10:46:58 +0200	[thread overview]
Message-ID: <20230921-kichern-akrobatisch-3d83edba974a@brauner> (raw)
In-Reply-To: <000000000000a3f3d40605d8f0f8@google.com>

On Wed, Sep 20, 2023 at 11:52:48PM -0700, syzbot wrote:
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    f0b0d403eabb Merge tag 'kbuild-fixes-v6.6' of git://git.ke..
> git tree:       upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=144e498c680000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=943a94479fa8e863
> dashboard link: https://syzkaller.appspot.com/bug?extid=5f1acda7e06a2298fae6
> compiler:       gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=161ac702680000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=16515418680000
> 
> Downloadable assets:
> disk image: https://storage.googleapis.com/syzbot-assets/47695e593bcd/disk-f0b0d403.raw.xz
> vmlinux: https://storage.googleapis.com/syzbot-assets/306f9aca0df9/vmlinux-f0b0d403.xz
> kernel image: https://storage.googleapis.com/syzbot-assets/25549b4deb42/bzImage-f0b0d403.xz
> 
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+5f1acda7e06a2298fae6@syzkaller.appspotmail.com
> 
> BUG: memory leak
> unreferenced object 0xffff888114ac69c0 (size 48):
>   comm "syz-executor199", pid 5124, jiffies 4294947402 (age 21.830s)
>   hex dump (first 32 bytes):
>     00 00 00 00 00 00 00 00 01 46 00 00 03 00 00 00  .........F......
>     00 00 00 00 00 00 00 00 00 81 0f 09 81 88 ff ff  ................
>   backtrace:
>     [<ffffffff816b06bd>] fasync_alloc fs/fcntl.c:892 [inline]
>     [<ffffffff816b06bd>] fasync_add_entry fs/fcntl.c:950 [inline]
>     [<ffffffff816b06bd>] fasync_helper+0x3d/0xc0 fs/fcntl.c:979
>     [<ffffffff83e8f2cb>] sock_fasync+0x4b/0xa0 net/socket.c:1427

#syz set subsystems: net

      reply	other threads:[~2023-09-21 21:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-21  6:52 [syzbot] [fs?] memory leak in fasync_helper (2) syzbot
2023-09-21  8:46 ` Christian Brauner [this message]

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=20230921-kichern-akrobatisch-3d83edba974a@brauner \
    --to=brauner@kernel.org \
    --cc=chuck.lever@oracle.com \
    --cc=jlayton@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+5f1acda7e06a2298fae6@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=viro@zeniv.linux.org.uk \
    /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;
as well as URLs for NNTP newsgroup(s).