syzbot
memory leak in do_seccomp (2)
Status:
fixed on 2023/02/24 13:50
Subsystems:
kernel
[Documentation on labels]
Reported-by: syzbot+ab17848fe269b573eb71@syzkaller.appspotmail.com
Fix commit:
a1140cb215fa
seccomp: Move copy_seccomp() to no failure path.
First crash: 1982d, last: 1431d
▶
▼
Last patch testing requests (2)
Sample crash report:
BUG: memory leak
unreferenced object 0xffff88810ced3500 (size 256):
comm "syz-executor340", pid 3640, jiffies 4294955435 (age 8.050s)
hex dump (first 32 bytes):
01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ................
backtrace:
[<ffffffff81372765>] kmalloc include/linux/slab.h:600 [inline]
[<ffffffff81372765>] kzalloc include/linux/slab.h:733 [inline]
[<ffffffff81372765>] seccomp_prepare_filter kernel/seccomp.c:666 [inline]
[<ffffffff81372765>] seccomp_prepare_user_filter kernel/seccomp.c:708 [inline]
[<ffffffff81372765>] seccomp_set_mode_filter kernel/seccomp.c:1871 [inline]
[<ffffffff81372765>] do_seccomp+0x195/0x1240 kernel/seccomp.c:1991
[<ffffffff845ad915>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
[<ffffffff845ad915>] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
[<ffffffff84600087>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
* Struck through repros no longer work on HEAD.