public inbox for [email protected]
 help / color / mirror / Atom feed
* memory leak in io_submit_sqes (2)
@ 2021-03-03 18:39 syzbot
  2021-03-03 18:56 ` Jens Axboe
  0 siblings, 1 reply; 5+ messages in thread
From: syzbot @ 2021-03-03 18:39 UTC (permalink / raw)
  To: asml.silence, axboe, io-uring, linux-kernel, syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    7a7fd0de Merge branch 'kmap-conversion-for-5.12' of git://..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=152ae9cad00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=c66ab79a61c783f3
dashboard link: https://syzkaller.appspot.com/bug?extid=91b4b56ead187d35c9d3
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=148cf242d00000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=172bb6dad00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: [email protected]

executing program
executing program
executing program
executing program
executing program
BUG: memory leak
unreferenced object 0xffff88810f335800 (size 232):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 19.500s)
  hex dump (first 32 bytes):
    00 62 7e 01 81 88 ff ff 00 00 00 00 00 00 00 00  .b~.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0300 (size 256):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 19.500s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888110916200 (size 232):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 19.490s)
  hex dump (first 32 bytes):
    00 fa b7 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0200 (size 256):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 19.490s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8a2800 (size 232):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 19.490s)
  hex dump (first 32 bytes):
    00 5c 33 0f 81 88 ff ff 00 00 00 00 00 00 00 00  .\3.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0100 (size 256):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 19.490s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f335800 (size 232):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 20.620s)
  hex dump (first 32 bytes):
    00 62 7e 01 81 88 ff ff 00 00 00 00 00 00 00 00  .b~.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0300 (size 256):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 20.620s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888110916200 (size 232):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 20.610s)
  hex dump (first 32 bytes):
    00 fa b7 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0200 (size 256):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 20.610s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8a2800 (size 232):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 20.610s)
  hex dump (first 32 bytes):
    00 5c 33 0f 81 88 ff ff 00 00 00 00 00 00 00 00  .\3.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0100 (size 256):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 20.610s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f335800 (size 232):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 21.750s)
  hex dump (first 32 bytes):
    00 62 7e 01 81 88 ff ff 00 00 00 00 00 00 00 00  .b~.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0300 (size 256):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 21.750s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888110916200 (size 232):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 21.740s)
  hex dump (first 32 bytes):
    00 fa b7 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0200 (size 256):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 21.740s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8a2800 (size 232):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 21.740s)
  hex dump (first 32 bytes):
    00 5c 33 0f 81 88 ff ff 00 00 00 00 00 00 00 00  .\3.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0100 (size 256):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 21.740s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f335800 (size 232):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 22.860s)
  hex dump (first 32 bytes):
    00 62 7e 01 81 88 ff ff 00 00 00 00 00 00 00 00  .b~.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0300 (size 256):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 22.860s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888110916200 (size 232):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 22.850s)
  hex dump (first 32 bytes):
    00 fa b7 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0200 (size 256):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 22.850s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8a2800 (size 232):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 22.850s)
  hex dump (first 32 bytes):
    00 5c 33 0f 81 88 ff ff 00 00 00 00 00 00 00 00  .\3.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0100 (size 256):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 22.850s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f335800 (size 232):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 23.970s)
  hex dump (first 32 bytes):
    00 62 7e 01 81 88 ff ff 00 00 00 00 00 00 00 00  .b~.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0300 (size 256):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 23.970s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888110916200 (size 232):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 23.960s)
  hex dump (first 32 bytes):
    00 fa b7 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0200 (size 256):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 23.960s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8a2800 (size 232):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 23.960s)
  hex dump (first 32 bytes):
    00 5c 33 0f 81 88 ff ff 00 00 00 00 00 00 00 00  .\3.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0100 (size 256):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 23.960s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f335800 (size 232):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 25.110s)
  hex dump (first 32 bytes):
    00 62 7e 01 81 88 ff ff 00 00 00 00 00 00 00 00  .b~.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0300 (size 256):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 25.110s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888110916200 (size 232):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 25.100s)
  hex dump (first 32 bytes):
    00 fa b7 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0200 (size 256):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 25.100s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8a2800 (size 232):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 25.100s)
  hex dump (first 32 bytes):
    00 5c 33 0f 81 88 ff ff 00 00 00 00 00 00 00 00  .\3.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0100 (size 256):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 25.100s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f335800 (size 232):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 26.240s)
  hex dump (first 32 bytes):
    00 62 7e 01 81 88 ff ff 00 00 00 00 00 00 00 00  .b~.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0300 (size 256):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 26.240s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888110916200 (size 232):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 26.230s)
  hex dump (first 32 bytes):
    00 fa b7 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0200 (size 256):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 26.230s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8a2800 (size 232):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 26.230s)
  hex dump (first 32 bytes):
    00 5c 33 0f 81 88 ff ff 00 00 00 00 00 00 00 00  .\3.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0100 (size 256):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 26.230s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f335800 (size 232):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 27.390s)
  hex dump (first 32 bytes):
    00 62 7e 01 81 88 ff ff 00 00 00 00 00 00 00 00  .b~.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0300 (size 256):
  comm "syz-executor079", pid 8386, jiffies 4294945178 (age 27.390s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888110916200 (size 232):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 27.380s)
  hex dump (first 32 bytes):
    00 fa b7 0f 81 88 ff ff 00 00 00 00 00 00 00 00  ................
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0200 (size 256):
  comm "syz-executor079", pid 8398, jiffies 4294945179 (age 27.380s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8a2800 (size 232):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 27.380s)
  hex dump (first 32 bytes):
    00 5c 33 0f 81 88 ff ff 00 00 00 00 00 00 00 00  .\3.............
    f0 98 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .._.............
  backtrace:
    [<000000008b690cb4>] io_alloc_req fs/io_uring.c:1680 [inline]
    [<000000008b690cb4>] io_submit_sqes+0x803/0x2340 fs/io_uring.c:6553
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810f8c0100 (size 256):
  comm "syz-executor079", pid 8404, jiffies 4294945179 (age 27.380s)
  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:
    [<00000000e2e0a7ef>] kmalloc include/linux/slab.h:559 [inline]
    [<00000000e2e0a7ef>] __io_alloc_async_data fs/io_uring.c:3104 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw fs/io_uring.c:3123 [inline]
    [<00000000e2e0a7ef>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3116
    [<0000000066815854>] io_read+0x1fe/0x540 fs/io_uring.c:3299
    [<00000000cfdf0aa9>] io_issue_sqe+0xb6/0x1c50 fs/io_uring.c:5957
    [<00000000ae810f5a>] __io_queue_sqe+0x118/0x5c0 fs/io_uring.c:6226
    [<000000001fd21177>] io_queue_sqe+0x2af/0x4d0 fs/io_uring.c:6282
    [<00000000a078f546>] io_submit_sqe fs/io_uring.c:6452 [inline]
    [<00000000a078f546>] io_submit_sqes+0x2016/0x2340 fs/io_uring.c:6566
    [<000000007cfdba48>] __do_sys_io_uring_enter+0x86f/0x1110 fs/io_uring.c:9175
    [<00000000d605a0db>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005fafd51e>] entry_SYSCALL_64_after_hwframe+0x44/0xae



---
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 [email protected].

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: memory leak in io_submit_sqes (2)
  2021-03-03 18:39 memory leak in io_submit_sqes (2) syzbot
@ 2021-03-03 18:56 ` Jens Axboe
  2021-03-03 22:24   ` syzbot
  0 siblings, 1 reply; 5+ messages in thread
From: Jens Axboe @ 2021-03-03 18:56 UTC (permalink / raw)
  To: syzbot, asml.silence, io-uring, linux-kernel, syzkaller-bugs

On 3/3/21 11:39 AM, syzbot wrote:
> Hello,
> 
> syzbot found the following issue on:

#syz test: git://git.kernel.dk/linux-block io_uring-5.12

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: memory leak in io_submit_sqes (2)
  2021-03-03 18:56 ` Jens Axboe
@ 2021-03-03 22:24   ` syzbot
  2021-03-03 22:51     ` Jens Axboe
  0 siblings, 1 reply; 5+ messages in thread
From: syzbot @ 2021-03-03 22:24 UTC (permalink / raw)
  To: asml.silence, axboe, io-uring, linux-kernel, syzkaller-bugs

Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
memory leak in io_submit_sqes

BUG: memory leak
unreferenced object 0xffff88811043cc00 (size 232):
  comm "syz-executor.0", pid 10595, jiffies 4294944973 (age 10.850s)
  hex dump (first 32 bytes):
    00 f0 40 10 81 88 ff ff 00 00 00 00 00 00 00 00  ..@.............
    00 7a 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .z_.............
  backtrace:
    [<000000005cfa592c>] io_alloc_req fs/io_uring.c:1610 [inline]
    [<000000005cfa592c>] io_submit_sqes+0x7ae/0x22f0 fs/io_uring.c:6518
    [<00000000bffe23f4>] __do_sys_io_uring_enter+0x857/0x10c0 fs/io_uring.c:9108
    [<000000002e2222f2>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005e5fec34>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888124dd1300 (size 256):
  comm "syz-executor.0", pid 10595, jiffies 4294944973 (age 10.850s)
  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:
    [<0000000099ea7aac>] kmalloc include/linux/slab.h:559 [inline]
    [<0000000099ea7aac>] __io_alloc_async_data fs/io_uring.c:3060 [inline]
    [<0000000099ea7aac>] io_setup_async_rw fs/io_uring.c:3079 [inline]
    [<0000000099ea7aac>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3072
    [<0000000002d951db>] io_read+0x1fe/0x560 fs/io_uring.c:3257
    [<00000000ca56953d>] io_issue_sqe+0x18d/0x23e0 fs/io_uring.c:5933
    [<00000000a5a737fd>] __io_queue_sqe+0x9a/0x4f0 fs/io_uring.c:6200
    [<00000000af920b23>] io_queue_sqe+0x361/0x560 fs/io_uring.c:6253
    [<00000000deecb73d>] io_submit_sqe fs/io_uring.c:6417 [inline]
    [<00000000deecb73d>] io_submit_sqes+0x1fc1/0x22f0 fs/io_uring.c:6531
    [<00000000bffe23f4>] __do_sys_io_uring_enter+0x857/0x10c0 fs/io_uring.c:9108
    [<000000002e2222f2>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005e5fec34>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810d21fa00 (size 232):
  comm "syz-executor.0", pid 10613, jiffies 4294944997 (age 10.610s)
  hex dump (first 32 bytes):
    00 47 b1 11 81 88 ff ff 00 00 00 00 00 00 00 00  .G..............
    00 7a 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .z_.............
  backtrace:
    [<000000005cfa592c>] io_alloc_req fs/io_uring.c:1610 [inline]
    [<000000005cfa592c>] io_submit_sqes+0x7ae/0x22f0 fs/io_uring.c:6518
    [<00000000bffe23f4>] __do_sys_io_uring_enter+0x857/0x10c0 fs/io_uring.c:9108
    [<000000002e2222f2>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005e5fec34>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888124e98500 (size 256):
  comm "syz-executor.0", pid 10613, jiffies 4294944997 (age 10.610s)
  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:
    [<0000000099ea7aac>] kmalloc include/linux/slab.h:559 [inline]
    [<0000000099ea7aac>] __io_alloc_async_data fs/io_uring.c:3060 [inline]
    [<0000000099ea7aac>] io_setup_async_rw fs/io_uring.c:3079 [inline]
    [<0000000099ea7aac>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3072
    [<0000000002d951db>] io_read+0x1fe/0x560 fs/io_uring.c:3257
    [<00000000ca56953d>] io_issue_sqe+0x18d/0x23e0 fs/io_uring.c:5933
    [<00000000a5a737fd>] __io_queue_sqe+0x9a/0x4f0 fs/io_uring.c:6200
    [<00000000af920b23>] io_queue_sqe+0x361/0x560 fs/io_uring.c:6253
    [<00000000deecb73d>] io_submit_sqe fs/io_uring.c:6417 [inline]
    [<00000000deecb73d>] io_submit_sqes+0x1fc1/0x22f0 fs/io_uring.c:6531
    [<00000000bffe23f4>] __do_sys_io_uring_enter+0x857/0x10c0 fs/io_uring.c:9108
    [<000000002e2222f2>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005e5fec34>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff88810edcff00 (size 232):
  comm "syz-executor.0", pid 10633, jiffies 4294945010 (age 10.480s)
  hex dump (first 32 bytes):
    00 99 b3 11 81 88 ff ff 00 00 00 00 00 00 00 00  ................
    00 7a 5f 81 ff ff ff ff 00 00 00 00 00 00 00 00  .z_.............
  backtrace:
    [<000000005cfa592c>] io_alloc_req fs/io_uring.c:1610 [inline]
    [<000000005cfa592c>] io_submit_sqes+0x7ae/0x22f0 fs/io_uring.c:6518
    [<00000000bffe23f4>] __do_sys_io_uring_enter+0x857/0x10c0 fs/io_uring.c:9108
    [<000000002e2222f2>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005e5fec34>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff888124c06300 (size 256):
  comm "syz-executor.0", pid 10633, jiffies 4294945010 (age 10.480s)
  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:
    [<0000000099ea7aac>] kmalloc include/linux/slab.h:559 [inline]
    [<0000000099ea7aac>] __io_alloc_async_data fs/io_uring.c:3060 [inline]
    [<0000000099ea7aac>] io_setup_async_rw fs/io_uring.c:3079 [inline]
    [<0000000099ea7aac>] io_setup_async_rw+0xa3/0x1e0 fs/io_uring.c:3072
    [<0000000002d951db>] io_read+0x1fe/0x560 fs/io_uring.c:3257
    [<00000000ca56953d>] io_issue_sqe+0x18d/0x23e0 fs/io_uring.c:5933
    [<00000000a5a737fd>] __io_queue_sqe+0x9a/0x4f0 fs/io_uring.c:6200
    [<00000000af920b23>] io_queue_sqe+0x361/0x560 fs/io_uring.c:6253
    [<00000000deecb73d>] io_submit_sqe fs/io_uring.c:6417 [inline]
    [<00000000deecb73d>] io_submit_sqes+0x1fc1/0x22f0 fs/io_uring.c:6531
    [<00000000bffe23f4>] __do_sys_io_uring_enter+0x857/0x10c0 fs/io_uring.c:9108
    [<000000002e2222f2>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<000000005e5fec34>] entry_SYSCALL_64_after_hwframe+0x44/0xae



Tested on:

commit:         4f766d6f io_uring: ensure that threads freeze on suspend
git tree:       git://git.kernel.dk/linux-block io_uring-5.12
console output: https://syzkaller.appspot.com/x/log.txt?x=143ce02ad00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=c43bda1f1543d72b
dashboard link: https://syzkaller.appspot.com/bug?extid=91b4b56ead187d35c9d3
compiler:       


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: memory leak in io_submit_sqes (2)
  2021-03-03 22:24   ` syzbot
@ 2021-03-03 22:51     ` Jens Axboe
  2021-03-04  8:27       ` syzbot
  0 siblings, 1 reply; 5+ messages in thread
From: Jens Axboe @ 2021-03-03 22:51 UTC (permalink / raw)
  To: syzbot, asml.silence, io-uring, linux-kernel, syzkaller-bugs

#syz test: git://git.kernel.dk/linux-block leak

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: memory leak in io_submit_sqes (2)
  2021-03-03 22:51     ` Jens Axboe
@ 2021-03-04  8:27       ` syzbot
  0 siblings, 0 replies; 5+ messages in thread
From: syzbot @ 2021-03-04  8:27 UTC (permalink / raw)
  To: asml.silence, axboe, io-uring, linux-kernel, syzkaller-bugs

Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-and-tested-by: [email protected]

Tested on:

commit:         e64db150 io-wq: ensure all pending work is canceled on exit
git tree:       git://git.kernel.dk/linux-block leak
kernel config:  https://syzkaller.appspot.com/x/.config?x=c43bda1f1543d72b
dashboard link: https://syzkaller.appspot.com/bug?extid=91b4b56ead187d35c9d3
compiler:       

Note: testing is done by a robot and is best-effort only.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-04  8:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-03 18:39 memory leak in io_submit_sqes (2) syzbot
2021-03-03 18:56 ` Jens Axboe
2021-03-03 22:24   ` syzbot
2021-03-03 22:51     ` Jens Axboe
2021-03-04  8:27       ` syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox