mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: syzbot <syzbot+527a7e48a3d3d315d862@syzkaller.appspotmail.com>
To: axboe@kernel.dk, jack@suse.com, linux-block@vger.kernel.org,
	 linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: [syzbot] [block?] [udf?] memory leak in __blkdev_issue_zero_pages
Date: Thu, 04 Dec 2025 07:42:31 -0800	[thread overview]
Message-ID: <6931abe7.a70a0220.2ea503.00e0.GAE@google.com> (raw)

Hello,

syzbot found the following issue on:

HEAD commit:    6bda50f4333f Merge tag 'mips-fixes_6.18_2' of git://git.ke..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=17ad8192580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=f30cc590c4f6da44
dashboard link: https://syzkaller.appspot.com/bug?extid=527a7e48a3d3d315d862
compiler:       gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=10b27cb4580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/864951cecf67/disk-6bda50f4.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/4692a21b76e7/vmlinux-6bda50f4.xz
kernel image: https://storage.googleapis.com/syzbot-assets/a2898beb8301/bzImage-6bda50f4.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/384c8ab49dd6/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+527a7e48a3d3d315d862@syzkaller.appspotmail.com

BUG: memory leak
unreferenced object 0xffff88810dd11b00 (size 200):
  comm "syz.3.32", pid 6189, jiffies 4294946488
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 80 70 01 41 81 88 ff ff  .........p.A....
    01 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00  ................
  backtrace (crc fe2a8999):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4983 [inline]
    slab_alloc_node mm/slub.c:5288 [inline]
    kmem_cache_alloc_noprof+0x397/0x5a0 mm/slub.c:5295
    mempool_alloc_noprof+0xa0/0x200 mm/mempool.c:426
    bio_alloc_bioset+0x398/0x7b0 block/bio.c:558
    bio_alloc include/linux/bio.h:372 [inline]
    __blkdev_issue_zero_pages+0x109/0x2f0 block/blk-lib.c:205
    blkdev_issue_zero_pages block/blk-lib.c:239 [inline]
    blkdev_issue_zeroout+0x1dc/0x490 block/blk-lib.c:326
    blk_ioctl_zeroout block/ioctl.c:250 [inline]
    blkdev_common_ioctl+0xb40/0x1180 block/ioctl.c:580
    blkdev_ioctl+0x128/0x380 block/ioctl.c:699
    vfs_ioctl fs/ioctl.c:51 [inline]
    __do_sys_ioctl fs/ioctl.c:597 [inline]
    __se_sys_ioctl fs/ioctl.c:583 [inline]
    __x64_sys_ioctl+0xf4/0x140 fs/ioctl.c:583
    do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
    do_syscall_64+0xa4/0xfa0 arch/x86/entry/syscall_64.c:94
    entry_SYSCALL_64_after_hwframe+0x77/0x7f

BUG: memory leak
unreferenced object 0xffff888108a3d000 (size 4096):
  comm "syz.3.32", pid 6189, jiffies 4294946488
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace (crc 0):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4983 [inline]
    slab_alloc_node mm/slub.c:5288 [inline]
    kmem_cache_alloc_noprof+0x397/0x5a0 mm/slub.c:5295
    mempool_alloc_noprof+0xa0/0x200 mm/mempool.c:426
    bvec_alloc+0x9d/0x130 block/bio.c:210
    bio_alloc_bioset+0x3cb/0x7b0 block/bio.c:573
    bio_alloc include/linux/bio.h:372 [inline]
    __blkdev_issue_zero_pages+0x109/0x2f0 block/blk-lib.c:205
    blkdev_issue_zero_pages block/blk-lib.c:239 [inline]
    blkdev_issue_zeroout+0x1dc/0x490 block/blk-lib.c:326
    blk_ioctl_zeroout block/ioctl.c:250 [inline]
    blkdev_common_ioctl+0xb40/0x1180 block/ioctl.c:580
    blkdev_ioctl+0x128/0x380 block/ioctl.c:699
    vfs_ioctl fs/ioctl.c:51 [inline]
    __do_sys_ioctl fs/ioctl.c:597 [inline]
    __se_sys_ioctl fs/ioctl.c:583 [inline]
    __x64_sys_ioctl+0xf4/0x140 fs/ioctl.c:583
    do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
    do_syscall_64+0xa4/0xfa0 arch/x86/entry/syscall_64.c:94
    entry_SYSCALL_64_after_hwframe+0x77/0x7f

connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

             reply	other threads:[~2025-12-04 15:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-04 15:42 syzbot [this message]
2025-12-04 16:12 ` shaurya
2025-12-04 17:28   ` syzbot
2025-12-04 17:55   ` Keith Busch
2025-12-05  8:15   ` Hannes Reinecke

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=6931abe7.a70a0220.2ea503.00e0.GAE@google.com \
    --to=syzbot+527a7e48a3d3d315d862@syzkaller.appspotmail.com \
    --cc=axboe@kernel.dk \
    --cc=jack@suse.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzkaller-bugs@googlegroups.com \
    /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

all inboxes | Powered by JetHome®