syzbot


memory leak in lapb_send_control

Status: upstream: reported C repro on 2022/04/15 21:55
Reported-by: syzbot+780995ea16fd2fad8f9b@syzkaller.appspotmail.com
First crash: 172d, last: 6d17h

Sample crash report:
executing program
BUG: memory leak
unreferenced object 0xffff888107acef00 (size 240):
  comm "softirq", pid 0, jiffies 4294942456 (age 61.670s)
  hex dump (first 32 bytes):
    a0 fc 27 06 81 88 ff ff a0 fc 27 06 81 88 ff ff  ..'.......'.....
    00 40 e0 07 81 88 ff ff 00 00 00 00 00 00 00 00  .@..............
  backtrace:
    [<ffffffff8387c339>] __alloc_skb+0x1f9/0x270 net/core/skbuff.c:422
    [<ffffffff83e4f5f4>] alloc_skb include/linux/skbuff.h:1257 [inline]
    [<ffffffff83e4f5f4>] lapb_send_control+0x34/0x1b0 net/lapb/lapb_subr.c:227
    [<ffffffff83e4fbf6>] lapb_t1timer_expiry+0x266/0x2f0 net/lapb/lapb_timer.c:142
    [<ffffffff8130f693>] call_timer_fn+0x33/0x1f0 kernel/time/timer.c:1474
    [<ffffffff8130fb61>] expire_timers kernel/time/timer.c:1519 [inline]
    [<ffffffff8130fb61>] __run_timers.part.0+0x311/0x420 kernel/time/timer.c:1790
    [<ffffffff8130fcb4>] __run_timers kernel/time/timer.c:1768 [inline]
    [<ffffffff8130fcb4>] run_timer_softirq+0x44/0x90 kernel/time/timer.c:1803
    [<ffffffff84a000ea>] __do_softirq+0xea/0x2ef kernel/softirq.c:571
    [<ffffffff812529f6>] invoke_softirq kernel/softirq.c:445 [inline]
    [<ffffffff812529f6>] __irq_exit_rcu+0xc6/0x110 kernel/softirq.c:650
    [<ffffffff845ef972>] sysvec_apic_timer_interrupt+0xa2/0xd0 arch/x86/kernel/apic/apic.c:1106
    [<ffffffff84800cc6>] asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
    [<ffffffff84605d50>] native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
    [<ffffffff84605d50>] arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
    [<ffffffff84605d50>] acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline]
    [<ffffffff84605d50>] acpi_idle_do_entry+0xc0/0xd0 drivers/acpi/processor_idle.c:555
    [<ffffffff84606260>] acpi_idle_enter+0x150/0x230 drivers/acpi/processor_idle.c:692
    [<ffffffff83461284>] cpuidle_enter_state+0xc4/0x740 drivers/cpuidle/cpuidle.c:239
    [<ffffffff83461959>] cpuidle_enter+0x29/0x40 drivers/cpuidle/cpuidle.c:356
    [<ffffffff812b09c9>] call_cpuidle kernel/sched/idle.c:155 [inline]
    [<ffffffff812b09c9>] cpuidle_idle_call kernel/sched/idle.c:236 [inline]
    [<ffffffff812b09c9>] do_idle+0x1d9/0x260 kernel/sched/idle.c:303
    [<ffffffff812b0c14>] cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:400


Crashes (8):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-leak 2022/09/27 02:52 upstream 3800a713b607 10323ddf .config log report syz C memory leak in lapb_send_control
ci-upstream-gce-leak 2022/09/16 07:55 upstream 3245cb65fd91 dd9a85ff .config log report syz C memory leak in lapb_send_control
ci-upstream-gce-leak 2022/09/07 04:34 upstream d2ec799d1c1b 5fc30c37 .config log report syz C memory leak in lapb_send_control
ci-upstream-gce-leak 2022/09/03 20:14 upstream d895ec7938c4 28811d0a .config log report syz C memory leak in lapb_send_control
ci-upstream-gce-leak 2022/08/10 13:32 upstream d4252071b97d c2a623d6 .config log report syz C memory leak in lapb_send_control
ci-upstream-gce-leak 2022/08/04 20:03 upstream b44f2fd87919 1c9013ac .config log report syz C memory leak in lapb_send_control
ci-upstream-gce-leak 2022/04/14 12:57 upstream a19944809fe9 b17b2923 .config log report syz C memory leak in lapb_send_control
ci-upstream-gce-leak 2022/09/16 21:33 upstream 6879c2d3b960 dd9a85ff .config log report syz memory leak in lapb_send_control
* Struck through repros no longer work on HEAD.