syzbot


memory leak in tcp_md5_do_add

Status: auto-obsoleted due to no activity on 2024/01/25 20:04
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+68662811b3d5f6695bcb@syzkaller.appspotmail.com
First crash: 506d, last: 276d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] memory leak in tcp_md5_do_add 6 (7) 2023/09/22 22:29
Last patch testing requests (12)
Created Duration User Patch Repo Result
2023/11/30 18:05 19m retest repro upstream OK log
2023/10/31 20:11 25m retest repro upstream OK log
2023/10/04 03:07 14m eadavis@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ee3f96b16468 report log
2023/10/04 02:25 13m eadavis@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ee3f96b16468 report log
2023/10/04 01:27 15m eadavis@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ee3f96b16468 report log
2023/10/04 00:47 0m eadavis@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ee3f96b16468 error
2023/09/27 06:33 1h51m eadavis@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ee3f96b16468 report log
2023/09/24 02:40 16m eadavis@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git ee3f96b16468 report log
2023/09/21 16:12 15m edumazet@google.com upstream report log
2023/08/09 14:51 14m retest repro upstream report log
2023/05/31 08:10 12m edumazet@google.com upstream report log
2023/05/12 22:04 21m retest repro upstream report log

Sample crash report:
executing program
executing program
executing program
executing program
executing program
BUG: memory leak
unreferenced object 0xffff88810cabcbc0 (size 32):
  comm "syz-executor263", pid 5046, jiffies 4294963784 (age 113.200s)
  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:
    [<ffffffff815746d5>] kmalloc_trace+0x25/0x90 mm/slab_common.c:1114
    [<ffffffff842328ce>] kmalloc include/linux/slab.h:599 [inline]
    [<ffffffff842328ce>] tcp_md5sig_info_add net/ipv4/tcp_ipv4.c:1176 [inline]
    [<ffffffff842328ce>] tcp_md5_do_add+0x9e/0x150 net/ipv4/tcp_ipv4.c:1247
    [<ffffffff84232ae0>] tcp_v4_parse_md5_keys+0x160/0x2f0 net/ipv4/tcp_ipv4.c:1377
    [<ffffffff8420b27e>] do_tcp_setsockopt+0xfae/0x15a0 net/ipv4/tcp.c:3597
    [<ffffffff8420b906>] tcp_setsockopt+0x96/0xa0 net/ipv4/tcp.c:3673
    [<ffffffff83e9d11e>] __sys_setsockopt+0x1be/0x360 net/socket.c:2325
    [<ffffffff83e9d2e3>] __do_sys_setsockopt net/socket.c:2336 [inline]
    [<ffffffff83e9d2e3>] __se_sys_setsockopt net/socket.c:2333 [inline]
    [<ffffffff83e9d2e3>] __x64_sys_setsockopt+0x23/0x30 net/socket.c:2333
    [<ffffffff84b3b548>] do_syscall_x64 arch/x86/entry/common.c:50 [inline]
    [<ffffffff84b3b548>] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
    [<ffffffff84c0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd


Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/17 20:03 upstream 213f891525c2 342b9c55 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in tcp_md5_do_add
2023/03/02 12:33 upstream ee3f96b16468 f8902b57 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-leak memory leak in tcp_md5_do_add
* Struck through repros no longer work on HEAD.