memory leak in erase_aeb (2)

11 views
Skip to first unread message

syzbot

unread,
May 11, 2020, 2:21:21 PM5/11/20
to linux-...@vger.kernel.org, linu...@lists.infradead.org, miquel...@bootlin.com, ric...@nod.at, syzkall...@googlegroups.com, vign...@ti.com
Hello,

syzbot found the following crash on:

HEAD commit: 2ef96a5b Linux 5.7-rc5
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1383fd32100000
kernel config: https://syzkaller.appspot.com/x/.config?x=c566cc03357343ce
dashboard link: https://syzkaller.appspot.com/bug?extid=d9aab50b1154e3d163f5
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1166ab14100000

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

BUG: memory leak
unreferenced object 0xffff888127f372c0 (size 32):
comm "syz-executor.0", pid 6931, jiffies 4294945277 (age 14.410s)
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 01 00 00 00 02 00 00 00 ................
backtrace:
[<0000000049aad7d8>] erase_aeb+0x25/0x110 drivers/mtd/ubi/wl.c:1690
[<000000004a6c95d3>] ubi_wl_init+0x193/0x5c0 drivers/mtd/ubi/wl.c:1757
[<00000000a1d58128>] ubi_attach+0x611/0x18ba drivers/mtd/ubi/attach.c:1605
[<00000000eb6b9da4>] ubi_attach_mtd_dev+0x665/0xcc0 drivers/mtd/ubi/build.c:967
[<000000000a8ebd80>] ctrl_cdev_ioctl+0x144/0x1b0 drivers/mtd/ubi/cdev.c:1043
[<000000007ada47ea>] vfs_ioctl fs/ioctl.c:47 [inline]
[<000000007ada47ea>] ksys_ioctl+0xa6/0xd0 fs/ioctl.c:771
[<00000000bd687125>] __do_sys_ioctl fs/ioctl.c:780 [inline]
[<00000000bd687125>] __se_sys_ioctl fs/ioctl.c:778 [inline]
[<00000000bd687125>] __x64_sys_ioctl+0x1a/0x20 fs/ioctl.c:778
[<000000006f0eae66>] do_syscall_64+0x6e/0x220 arch/x86/entry/common.c:295
[<00000000eaee3164>] entry_SYSCALL_64_after_hwframe+0x44/0xa9



---
This bug 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 syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches
Reply all
Reply to author
Forward
0 new messages