[lkml]   [2019]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectmemory leak in erase_aeb

syzbot found the following crash on:

HEAD commit: ad910e36 pipe: fix poll/select race introduced by the pipe..
git tree: upstream
console output:
kernel config:
dashboard link:
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro:

IMPORTANT: if you fix the bug, please add the following tag to the commit:

BUG: memory leak
unreferenced object 0xffff8881225039a0 (size 32):
comm "syz-executor.0", pid 7318, jiffies 4294950453 (age 8.280s)
hex dump (first 32 bytes):
00 00 00 00 03 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 ................
[<000000003a9d0e7e>] kmemleak_alloc_recursive
include/linux/kmemleak.h:43 [inline]
[<000000003a9d0e7e>] slab_post_alloc_hook mm/slab.h:586 [inline]
[<000000003a9d0e7e>] slab_alloc mm/slab.c:3320 [inline]
[<000000003a9d0e7e>] kmem_cache_alloc+0x13f/0x2c0 mm/slab.c:3484
[<00000000b53dfd0a>] erase_aeb+0x2a/0x100 drivers/mtd/ubi/wl.c:1691
[<000000005ccfba82>] ubi_wl_init+0x1ae/0x600 drivers/mtd/ubi/wl.c:1758
[<000000002350928f>] ubi_attach+0x665/0x18e7
[<0000000055aac88b>] ubi_attach_mtd_dev+0x5b3/0xd40
[<00000000071dc178>] ctrl_cdev_ioctl+0x149/0x1c0
[<000000004c359338>] vfs_ioctl fs/ioctl.c:47 [inline]
[<000000004c359338>] file_ioctl fs/ioctl.c:545 [inline]
[<000000004c359338>] do_vfs_ioctl+0x551/0x890 fs/ioctl.c:732
[<000000002f3b4a0e>] ksys_ioctl+0x86/0xb0 fs/ioctl.c:749
[<0000000071dee951>] __do_sys_ioctl fs/ioctl.c:756 [inline]
[<0000000071dee951>] __se_sys_ioctl fs/ioctl.c:754 [inline]
[<0000000071dee951>] __x64_sys_ioctl+0x1e/0x30 fs/ioctl.c:754
[<0000000069d4ede5>] do_syscall_64+0x73/0x220
[<000000001a44675f>] entry_SYSCALL_64_after_hwframe+0x44/0xa9

This bug is generated by a bot. It may contain errors.
See for more information about syzbot.
syzbot engineers can be reached at

syzbot will keep track of this bug report. See: for how to communicate with syzbot.
syzbot can test patches for this bug, for details see:

 \ /
  Last update: 2019-12-08 20:35    [W:0.036 / U:2.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site