syzbot


memory leak in mld_newpack

Status: fixed on 2023/02/24 13:50
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+dcd3e13cf4472f2e0ba1@syzkaller.appspotmail.com
Fix commit: a43206156263 usbnet: Fix memory leak in usbnet_disconnect()
First crash: 1235d, last: 813d
Discussions (9)
Title Replies (including bot) Last reply
[PATCH 4.9 000/159] 4.9.331-rc1 review 165 (165) 2022/10/25 17:41
[PATCH 4.14 000/210] 4.14.296-rc1 review 213 (213) 2022/10/25 17:38
[PATCH 5.10 00/52] 5.10.147-rc1 review 62 (62) 2022/10/07 14:44
[PATCH 4.19 00/25] 4.19.261-rc1 review 35 (35) 2022/10/07 14:41
[PATCH 5.19 000/101] 5.19.13-rc1 review 118 (118) 2022/10/06 07:45
[PATCH 5.4 00/30] 5.4.216-rc1 review 39 (39) 2022/10/05 10:39
[PATCH 5.15 00/83] 5.15.72-rc1 review 96 (96) 2022/10/05 01:45
[PATCH net] usbnet: Fix memory leak in usbnet_disconnect() 3 (3) 2022/09/26 18:40
[syzbot] memory leak in mld_newpack 0 (2) 2022/09/16 22:13
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream memory leak in mld_newpack (2) net syz 1 468d 513d 0/28 auto-obsoleted due to no activity on 2024/01/14 17:18
Last patch testing requests (5)
Created Duration User Patch Repo Result
2022/09/23 00:03 16m yepeilin.cs@gmail.com patch upstream OK log
2022/09/21 06:26 16m yepeilin.cs@gmail.com patch upstream OK log
2022/09/21 00:27 16m yepeilin.cs@gmail.com patch upstream OK log
2021/09/30 03:04 8m phind.uet@gmail.com linux-next report log
2021/08/22 15:32 8m phind.uet@gmail.com linux-next report log

Sample crash report:
BUG: memory leak
unreferenced object 0xffff88810bb0bb00 (size 240):
  comm "kworker/0:2", pid 143, jiffies 4294946271 (age 15.640s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 bb b0 0b 81 88 ff ff  ................
    00 70 aa 11 81 88 ff ff 80 10 e9 44 81 88 ff ff  .p.........D....
  backtrace:
    [<ffffffff8387bb59>] __alloc_skb+0x1f9/0x270 net/core/skbuff.c:422
    [<ffffffff8388255a>] alloc_skb include/linux/skbuff.h:1257 [inline]
    [<ffffffff8388255a>] alloc_skb_with_frags+0x6a/0x340 net/core/skbuff.c:6021
    [<ffffffff8387508f>] sock_alloc_send_pskb+0x39f/0x3d0 net/core/sock.c:2665
    [<ffffffff83d4eb01>] sock_alloc_send_skb include/net/sock.h:1866 [inline]
    [<ffffffff83d4eb01>] mld_newpack.isra.0+0x81/0x200 net/ipv6/mcast.c:1748
    [<ffffffff83d4ed26>] add_grhead+0xa6/0xc0 net/ipv6/mcast.c:1851
    [<ffffffff83d4f4fc>] add_grec+0x7bc/0x820 net/ipv6/mcast.c:1989
    [<ffffffff83d514e3>] mld_send_cr net/ipv6/mcast.c:2115 [inline]
    [<ffffffff83d514e3>] mld_ifc_work+0x273/0x750 net/ipv6/mcast.c:2653
    [<ffffffff8127afca>] process_one_work+0x2ba/0x5f0 kernel/workqueue.c:2289
    [<ffffffff8127b8e9>] worker_thread+0x59/0x5b0 kernel/workqueue.c:2436
    [<ffffffff81284c95>] kthread+0x125/0x160 kernel/kthread.c:376
    [<ffffffff8100224f>] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306


Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/16 22:13 upstream 6879c2d3b960 dd9a85ff .config console log report syz C ci-upstream-gce-leak memory leak in mld_newpack
2021/07/22 00:25 upstream 8cae8cd89f05 29c3f20f .config console log report syz ci-upstream-gce-leak memory leak in mld_newpack
* Struck through repros no longer work on HEAD.