syzbot


memory leak in ip_mc_add_src (3)

Status: closed as invalid on 2022/10/12 18:48
Subsystems: net
[Documentation on labels]
First crash: 1809d, last: 1135d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in ip_mc_add_src net C 14 1862d 1886d 12/27 fixed on 2019/06/18 17:49
upstream memory leak in ip_mc_add_src (2) net C 7 1820d 1849d 12/27 fixed on 2019/08/05 13:45

Sample crash report:
BUG: memory leak
unreferenced object 0xffff8881102c06a0 (size 32):
  comm "syz-executor456", pid 8391, jiffies 4294956522 (age 19.050s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00  ................
  backtrace:
    [<ffffffff839bc9c8>] kmalloc include/linux/slab.h:554 [inline]
    [<ffffffff839bc9c8>] kzalloc include/linux/slab.h:684 [inline]
    [<ffffffff839bc9c8>] ip_mc_add1_src net/ipv4/igmp.c:1971 [inline]
    [<ffffffff839bc9c8>] ip_mc_add_src+0x348/0x450 net/ipv4/igmp.c:2095
    [<ffffffff839bfb14>] ip_mc_source+0x3d4/0x610 net/ipv4/igmp.c:2416
    [<ffffffff8394fae8>] do_ip_setsockopt net/ipv4/ip_sockglue.c:1294 [inline]
    [<ffffffff8394fae8>] ip_setsockopt+0x15d8/0x1f70 net/ipv4/ip_sockglue.c:1423
    [<ffffffff83963740>] tcp_setsockopt+0x70/0x1420 net/ipv4/tcp.c:3643
    [<ffffffff8363f850>] __sys_setsockopt+0x1b0/0x360 net/socket.c:2117
    [<ffffffff8363fa22>] __do_sys_setsockopt net/socket.c:2128 [inline]
    [<ffffffff8363fa22>] __se_sys_setsockopt net/socket.c:2125 [inline]
    [<ffffffff8363fa22>] __x64_sys_setsockopt+0x22/0x30 net/socket.c:2125
    [<ffffffff842e0fcd>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<ffffffff84400068>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff8881102c06a0 (size 32):
  comm "syz-executor456", pid 8391, jiffies 4294956522 (age 20.140s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00  ................
  backtrace:
    [<ffffffff839bc9c8>] kmalloc include/linux/slab.h:554 [inline]
    [<ffffffff839bc9c8>] kzalloc include/linux/slab.h:684 [inline]
    [<ffffffff839bc9c8>] ip_mc_add1_src net/ipv4/igmp.c:1971 [inline]
    [<ffffffff839bc9c8>] ip_mc_add_src+0x348/0x450 net/ipv4/igmp.c:2095
    [<ffffffff839bfb14>] ip_mc_source+0x3d4/0x610 net/ipv4/igmp.c:2416
    [<ffffffff8394fae8>] do_ip_setsockopt net/ipv4/ip_sockglue.c:1294 [inline]
    [<ffffffff8394fae8>] ip_setsockopt+0x15d8/0x1f70 net/ipv4/ip_sockglue.c:1423
    [<ffffffff83963740>] tcp_setsockopt+0x70/0x1420 net/ipv4/tcp.c:3643
    [<ffffffff8363f850>] __sys_setsockopt+0x1b0/0x360 net/socket.c:2117
    [<ffffffff8363fa22>] __do_sys_setsockopt net/socket.c:2128 [inline]
    [<ffffffff8363fa22>] __se_sys_setsockopt net/socket.c:2125 [inline]
    [<ffffffff8363fa22>] __x64_sys_setsockopt+0x22/0x30 net/socket.c:2125
    [<ffffffff842e0fcd>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<ffffffff84400068>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff8881102c06a0 (size 32):
  comm "syz-executor456", pid 8391, jiffies 4294956522 (age 21.240s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00  ................
  backtrace:
    [<ffffffff839bc9c8>] kmalloc include/linux/slab.h:554 [inline]
    [<ffffffff839bc9c8>] kzalloc include/linux/slab.h:684 [inline]
    [<ffffffff839bc9c8>] ip_mc_add1_src net/ipv4/igmp.c:1971 [inline]
    [<ffffffff839bc9c8>] ip_mc_add_src+0x348/0x450 net/ipv4/igmp.c:2095
    [<ffffffff839bfb14>] ip_mc_source+0x3d4/0x610 net/ipv4/igmp.c:2416
    [<ffffffff8394fae8>] do_ip_setsockopt net/ipv4/ip_sockglue.c:1294 [inline]
    [<ffffffff8394fae8>] ip_setsockopt+0x15d8/0x1f70 net/ipv4/ip_sockglue.c:1423
    [<ffffffff83963740>] tcp_setsockopt+0x70/0x1420 net/ipv4/tcp.c:3643
    [<ffffffff8363f850>] __sys_setsockopt+0x1b0/0x360 net/socket.c:2117
    [<ffffffff8363fa22>] __do_sys_setsockopt net/socket.c:2128 [inline]
    [<ffffffff8363fa22>] __se_sys_setsockopt net/socket.c:2125 [inline]
    [<ffffffff8363fa22>] __x64_sys_setsockopt+0x22/0x30 net/socket.c:2125
    [<ffffffff842e0fcd>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<ffffffff84400068>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff8881102c06a0 (size 32):
  comm "syz-executor456", pid 8391, jiffies 4294956522 (age 23.350s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00  ................
  backtrace:
    [<ffffffff839bc9c8>] kmalloc include/linux/slab.h:554 [inline]
    [<ffffffff839bc9c8>] kzalloc include/linux/slab.h:684 [inline]
    [<ffffffff839bc9c8>] ip_mc_add1_src net/ipv4/igmp.c:1971 [inline]
    [<ffffffff839bc9c8>] ip_mc_add_src+0x348/0x450 net/ipv4/igmp.c:2095
    [<ffffffff839bfb14>] ip_mc_source+0x3d4/0x610 net/ipv4/igmp.c:2416
    [<ffffffff8394fae8>] do_ip_setsockopt net/ipv4/ip_sockglue.c:1294 [inline]
    [<ffffffff8394fae8>] ip_setsockopt+0x15d8/0x1f70 net/ipv4/ip_sockglue.c:1423
    [<ffffffff83963740>] tcp_setsockopt+0x70/0x1420 net/ipv4/tcp.c:3643
    [<ffffffff8363f850>] __sys_setsockopt+0x1b0/0x360 net/socket.c:2117
    [<ffffffff8363fa22>] __do_sys_setsockopt net/socket.c:2128 [inline]
    [<ffffffff8363fa22>] __se_sys_setsockopt net/socket.c:2125 [inline]
    [<ffffffff8363fa22>] __x64_sys_setsockopt+0x22/0x30 net/socket.c:2125
    [<ffffffff842e0fcd>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<ffffffff84400068>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff8881102c06a0 (size 32):
  comm "syz-executor456", pid 8391, jiffies 4294956522 (age 25.460s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00  ................
  backtrace:
    [<ffffffff839bc9c8>] kmalloc include/linux/slab.h:554 [inline]
    [<ffffffff839bc9c8>] kzalloc include/linux/slab.h:684 [inline]
    [<ffffffff839bc9c8>] ip_mc_add1_src net/ipv4/igmp.c:1971 [inline]
    [<ffffffff839bc9c8>] ip_mc_add_src+0x348/0x450 net/ipv4/igmp.c:2095
    [<ffffffff839bfb14>] ip_mc_source+0x3d4/0x610 net/ipv4/igmp.c:2416
    [<ffffffff8394fae8>] do_ip_setsockopt net/ipv4/ip_sockglue.c:1294 [inline]
    [<ffffffff8394fae8>] ip_setsockopt+0x15d8/0x1f70 net/ipv4/ip_sockglue.c:1423
    [<ffffffff83963740>] tcp_setsockopt+0x70/0x1420 net/ipv4/tcp.c:3643
    [<ffffffff8363f850>] __sys_setsockopt+0x1b0/0x360 net/socket.c:2117
    [<ffffffff8363fa22>] __do_sys_setsockopt net/socket.c:2128 [inline]
    [<ffffffff8363fa22>] __se_sys_setsockopt net/socket.c:2125 [inline]
    [<ffffffff8363fa22>] __x64_sys_setsockopt+0x22/0x30 net/socket.c:2125
    [<ffffffff842e0fcd>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<ffffffff84400068>] entry_SYSCALL_64_after_hwframe+0x44/0xae

BUG: memory leak
unreferenced object 0xffff8881102c06a0 (size 32):
  comm "syz-executor456", pid 8391, jiffies 4294956522 (age 26.560s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    01 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00  ................
  backtrace:
    [<ffffffff839bc9c8>] kmalloc include/linux/slab.h:554 [inline]
    [<ffffffff839bc9c8>] kzalloc include/linux/slab.h:684 [inline]
    [<ffffffff839bc9c8>] ip_mc_add1_src net/ipv4/igmp.c:1971 [inline]
    [<ffffffff839bc9c8>] ip_mc_add_src+0x348/0x450 net/ipv4/igmp.c:2095
    [<ffffffff839bfb14>] ip_mc_source+0x3d4/0x610 net/ipv4/igmp.c:2416
    [<ffffffff8394fae8>] do_ip_setsockopt net/ipv4/ip_sockglue.c:1294 [inline]
    [<ffffffff8394fae8>] ip_setsockopt+0x15d8/0x1f70 net/ipv4/ip_sockglue.c:1423
    [<ffffffff83963740>] tcp_setsockopt+0x70/0x1420 net/ipv4/tcp.c:3643
    [<ffffffff8363f850>] __sys_setsockopt+0x1b0/0x360 net/socket.c:2117
    [<ffffffff8363fa22>] __do_sys_setsockopt net/socket.c:2128 [inline]
    [<ffffffff8363fa22>] __se_sys_setsockopt net/socket.c:2125 [inline]
    [<ffffffff8363fa22>] __x64_sys_setsockopt+0x22/0x30 net/socket.c:2125
    [<ffffffff842e0fcd>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
    [<ffffffff84400068>] entry_SYSCALL_64_after_hwframe+0x44/0xae

executing program
executing program

Crashes (332):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/16 19:43 upstream 2f7b98d1e55c 7e2b734b .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/20 05:09 upstream f40ddce88593 f689d40a .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/18 12:21 upstream f40ddce88593 14052202 .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/17 15:33 upstream f40ddce88593 052f8d9f .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/15 06:01 upstream f40ddce88593 98682e5e .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/14 14:58 upstream 358feceebbf6 98682e5e .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/13 22:20 upstream c6d8570e4d64 98682e5e .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/12 15:58 upstream dcc0b49040c7 a5f86b15 .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/11 12:32 upstream 291009f656e8 a52ee10a .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/11 11:30 upstream 291009f656e8 a52ee10a .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/10 16:05 upstream e0756cfc7d7c 2bd9619f .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/09 00:34 upstream e0756cfc7d7c 2bd9619f .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/08 04:32 upstream b75dba7f472c 2ce644fc .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/07 12:16 upstream 825b5991a46e 2ce644fc .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/06 05:49 upstream 1e0d27fce010 23a562df .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/05 09:25 upstream 5c279c4cf206 23a562df .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/05 03:22 upstream 5c279c4cf206 23a562df .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/04 13:29 upstream 61556703b610 42b90a7c .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/03 15:42 upstream 3aaf0a27ffc2 624dad51 .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/02 10:52 upstream 88bb507a74ea 19e09687 .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/01/31 05:12 upstream 8c947645151c fc9fd31e .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/01/30 00:49 upstream bec4c2968fce fc9fd31e .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/01/30 00:10 upstream bec4c2968fce fc9fd31e .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/01/29 15:23 upstream bec4c2968fce 6593fd32 .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/01/29 01:10 upstream e5ff2cb9cf67 7df34f59 .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/01/29 00:19 upstream e5ff2cb9cf67 7df34f59 .config console log report syz C ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/01/17 05:39 upstream 0da0a8a0a0e1 65a7a854 .config console log report syz C ci-upstream-gce-leak
2019/08/06 09:25 upstream 0eb0ce0a78e1 6affd8e8 .config console log report syz C ci-upstream-gce-leak
2021/06/10 16:25 upstream cd1245d75ce9 1ba81399 .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/06/09 05:24 upstream 4c8684fe555e 5c2fe346 .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/06/06 13:49 upstream f5b6eb1e0182 500c2339 .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/06/01 15:51 upstream c2131f7e73c9 032639db .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/05/30 10:43 upstream 6799d4f2da49 325a8dab .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/05/29 01:07 upstream 5ff2756afde0 858ea628 .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/05/22 22:20 upstream 23d729263037 3c7fef33 .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/05/21 12:07 upstream ba816d3c265c 3c7fef33 .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/05/19 02:59 upstream 8ac91e6c6033 a343ba6b .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/05/13 02:45 upstream dbb5afad100a ed7d41c5 .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/05/02 13:05 upstream e6f0bf09f066 77e2b668 .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/04/27 00:16 upstream 9f4ad9e425a1 805b5003 .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/04/19 18:35 upstream bf05bf16c76b 50f523d7 .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/04/07 01:14 upstream 0a50438c8436 6a81331a .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/04/06 22:01 upstream 0a50438c8436 6a81331a .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/04/01 13:49 upstream d19cc4bfbff1 6a81331a .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
2021/02/28 09:42 upstream 5695e5161974 4c37c133 .config console log report syz ci-upstream-gce-leak memory leak in ip_mc_add_src
* Struck through repros no longer work on HEAD.