syzbot


memory leak in cap_inode_getsecurity
Status: upstream: reported syz repro on 2019/10/03 19:59
Reported-by: syzbot+942d5390db2d9624ced8@syzkaller.appspotmail.com
First crash: 966d, last: 966d
Patch testing requests:
Created Duration User Patch Repo Result
2021/08/03 02:11 9m phind.uet@gmail.com patch linux-next report log
2021/08/02 16:15 12m phind.uet@gmail.com linux-next report log
2021/07/30 13:32 8m phind.uet@gmail.com upstream report log

Sample crash report:
2019/10/03 14:00:37 executed programs: 36
2019/10/03 14:00:43 executed programs: 44
2019/10/03 14:00:49 executed programs: 63
BUG: memory leak
unreferenced object 0xffff8881202cb480 (size 32):
  comm "syz-executor.0", pid 7246, jiffies 4294946879 (age 14.010s)
  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:
    [<00000000a8379648>] kmemleak_alloc_recursive include/linux/kmemleak.h:43 [inline]
    [<00000000a8379648>] slab_post_alloc_hook mm/slab.h:586 [inline]
    [<00000000a8379648>] slab_alloc mm/slab.c:3319 [inline]
    [<00000000a8379648>] __do_kmalloc mm/slab.c:3653 [inline]
    [<00000000a8379648>] __kmalloc_track_caller+0x165/0x300 mm/slab.c:3670
    [<000000008858463c>] __do_krealloc mm/slab_common.c:1638 [inline]
    [<000000008858463c>] krealloc+0x7f/0xb0 mm/slab_common.c:1689
    [<0000000057f9eb8e>] vfs_getxattr_alloc+0x100/0x180 fs/xattr.c:289
    [<00000000c2154e30>] cap_inode_getsecurity+0x9c/0x2c0 security/commoncap.c:389
    [<00000000b2664a09>] security_inode_getsecurity+0x4c/0x90 security/security.c:1314
    [<00000000921624c0>] xattr_getsecurity fs/xattr.c:244 [inline]
    [<00000000921624c0>] vfs_getxattr+0xf2/0x1a0 fs/xattr.c:332
    [<000000001ff6977b>] getxattr+0x97/0x240 fs/xattr.c:538
    [<00000000b945681f>] path_getxattr+0x6b/0xc0 fs/xattr.c:566
    [<000000001a9d3fce>] __do_sys_getxattr fs/xattr.c:578 [inline]
    [<000000001a9d3fce>] __se_sys_getxattr fs/xattr.c:575 [inline]
    [<000000001a9d3fce>] __x64_sys_getxattr+0x28/0x30 fs/xattr.c:575
    [<000000002e998337>] do_syscall_64+0x73/0x1f0 arch/x86/entry/common.c:290
    [<00000000f252aa21>] entry_SYSCALL_64_after_hwframe+0x44/0xa9


Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-leak 2019/10/03 14:23 upstream 0f1a7b3fac05 fc17ba49 .config log report syz