syzbot


memory leak in napi_skb_cache_get

Status: upstream: reported C repro on 2022/12/01 14:50
Reported-by: syzbot+a1fab9d8e5da048ac8a1@syzkaller.appspotmail.com
First crash: 704d, last: 87d

Sample crash report:
executing program
executing program
executing program
executing program
executing program
BUG: memory leak
unreferenced object 0xffff88810ef20400 (size 240):
  comm "softirq", pid 0, jiffies 4294950045 (age 43.240s)
  hex dump (first 32 bytes):
    e0 04 1d 0c 81 88 ff ff e0 04 1d 0c 81 88 ff ff  ................
    00 c0 2b 0b 81 88 ff ff 00 00 00 00 00 00 00 00  ..+.............
  backtrace:
    [<ffffffff838525db>] napi_skb_cache_get+0x6b/0x90 net/core/skbuff.c:258
    [<ffffffff83852615>] __napi_build_skb+0x15/0x50 net/core/skbuff.c:387
    [<ffffffff838529e9>] __napi_alloc_skb+0x129/0x260 net/core/skbuff.c:691
    [<ffffffff82a1e9df>] napi_alloc_skb include/linux/skbuff.h:3212 [inline]
    [<ffffffff82a1e9df>] page_to_skb+0x11f/0x770 drivers/net/virtio_net.c:499
    [<ffffffff82a21dee>] receive_mergeable drivers/net/virtio_net.c:1122 [inline]
    [<ffffffff82a21dee>] receive_buf+0x6ae/0x2d70 drivers/net/virtio_net.c:1261
    [<ffffffff82a246fe>] virtnet_receive drivers/net/virtio_net.c:1556 [inline]
    [<ffffffff82a246fe>] virtnet_poll+0x24e/0x6f0 drivers/net/virtio_net.c:1674
    [<ffffffff8388909d>] __napi_poll+0x3d/0x290 net/core/dev.c:6498
    [<ffffffff838898cc>] napi_poll net/core/dev.c:6565 [inline]
    [<ffffffff838898cc>] net_rx_action+0x3ac/0x490 net/core/dev.c:6676
    [<ffffffff84a000eb>] __do_softirq+0xeb/0x2ef kernel/softirq.c:571
    [<ffffffff8124c9b6>] invoke_softirq kernel/softirq.c:445 [inline]
    [<ffffffff8124c9b6>] __irq_exit_rcu+0xc6/0x110 kernel/softirq.c:650
    [<ffffffff84609b08>] common_interrupt+0xb8/0xd0 arch/x86/kernel/irq.c:240
    [<ffffffff84800c22>] asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:640
    [<ffffffff84622dc9>] native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
    [<ffffffff84622dc9>] arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
    [<ffffffff84622dc9>] acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline]
    [<ffffffff84622dc9>] acpi_idle_do_entry+0xc9/0xe0 drivers/acpi/processor_idle.c:572
    [<ffffffff846232e0>] acpi_idle_enter+0x150/0x230 drivers/acpi/processor_idle.c:709
    [<ffffffff83432934>] cpuidle_enter_state+0xc4/0x740 drivers/cpuidle/cpuidle.c:239
    [<ffffffff83433009>] cpuidle_enter+0x29/0x40 drivers/cpuidle/cpuidle.c:356


Crashes (109):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-gce-leak 2022/11/05 05:02 upstream 64c3dd0b98f5 6d752409 .config console log report syz C [disk image] [vmlinux] [kernel image] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/11/04 17:52 upstream ee6050c8af96 6d752409 .config console log report syz C [disk image] [vmlinux] [kernel image] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/11/02 13:23 upstream f526d6a82242 edac4fd1 .config console log report syz C [disk image] [vmlinux] [kernel image] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/10/30 05:37 upstream 91562cf99364 2a71366b .config console log report syz C [disk image] [vmlinux] [kernel image] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/10/30 04:53 upstream 91562cf99364 2a71366b .config console log report syz C [disk image] [vmlinux] [kernel image] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/10/29 16:30 upstream 576e61cea1e4 899d812a .config console log report syz C [disk image] [vmlinux] [kernel image] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/10/17 16:44 upstream 9abf2313adc1 67cb024c .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/10/13 17:00 upstream a185a0995518 adf90437 .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/10/09 15:34 upstream a6afa4199d3d aea5da89 .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/10/08 21:31 upstream e8bc52cb8df8 aea5da89 .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/10/08 00:13 upstream 4c86114194e6 0de35f24 .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/10/05 00:18 upstream a5088ee7251e eab8f949 .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/10/03 09:10 upstream a962b54e162c feb56351 .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/24 05:03 upstream 1707c39ae309 0042f2b4 .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/22 19:42 upstream dc164f4fb00a 0042f2b4 .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/21 07:46 upstream 60891ec99e14 c4b8ccfd .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/19 23:46 upstream 521a547ced64 dd9a85ff .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/17 19:28 upstream a335366bad13 dd9a85ff .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/15 04:05 upstream 3245cb65fd91 b884348d .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/13 18:40 upstream e839a756012b a08652b0 .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/10 01:59 upstream 9b4509495418 356d8217 .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/10 01:24 upstream 9b4509495418 356d8217 .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/06 13:33 upstream 53e99dcff61e 65aea2b9 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/06 03:14 upstream 53e99dcff61e 9dcd38fc .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/05 18:36 upstream 7e18e42e4b28 922294ab .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/04 02:23 upstream d895ec7938c4 28811d0a .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/03 20:02 upstream d895ec7938c4 28811d0a .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/03 01:10 upstream 0b3acd1cc022 25194605 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/02 08:56 upstream 42e66b1cc3a0 a805568e .config console log report syz C [disk image] [vmlinux] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/09/01 22:42 upstream 2880e1a175b9 86c46e46 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/30 21:41 upstream dcf8e5633e2e 4a380809 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/30 20:57 upstream dcf8e5633e2e 4a380809 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/25 05:51 upstream c40e8341e3b3 514514f6 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/24 05:36 upstream df0219d11b6f cea8b0f7 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/20 09:26 upstream 4c2d0b039c5c 26a13b38 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/19 22:27 upstream 4c2d0b039c5c 26a13b38 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/17 17:47 upstream 7ebfc85e2cd7 4e72d229 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/13 07:24 upstream 7ebfc85e2cd7 8dfcaa3d .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/12 02:19 upstream ffcf9c5700e4 787ed7e0 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/11 18:25 upstream ffcf9c5700e4 787ed7e0 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2021/03/02 15:07 upstream 7a7fd0de4a98 92ead296 .config console log report syz C memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/11/10 09:55 upstream f67dd6ce0723 b2488a87 .config console log report syz [disk image] [vmlinux] [kernel image] memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/29 12:21 upstream 8379c0b31fbc 07177916 .config console log report syz memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/29 05:13 upstream 8379c0b31fbc 07177916 .config console log report syz memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/28 15:01 upstream 10d4879f9ef0 07177916 .config console log report syz memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/22 12:07 upstream e3f259d33c0e 26a13b38 .config console log report syz memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/20 15:46 upstream 50cd95ac4654 26a13b38 .config console log report syz memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/18 06:05 upstream 274a2eebf80c d58e263f .config console log report syz memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/17 17:49 upstream 7ebfc85e2cd7 4e72d229 .config console log report syz memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/17 14:44 upstream 7ebfc85e2cd7 4e72d229 .config console log report syz memory leak in napi_skb_cache_get
ci-upstream-gce-leak 2022/08/17 11:56 upstream 7ebfc85e2cd7 4e72d229 .config console log report syz memory leak in napi_skb_cache_get
* Struck through repros no longer work on HEAD.