===================================================== WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected 6.4.0-rc6-syzkaller-00278-g2ba7e7ebb6a7 #0 Not tainted ----------------------------------------------------- syz-executor.2/20777 [HC0[0]:SC0[2]:HE1:SE0] is trying to acquire: ffffffff8c8f0080 (fs_reclaim){+.+.}-{0:0}, at: might_alloc include/linux/sched/mm.h:303 [inline] ffffffff8c8f0080 (fs_reclaim){+.+.}-{0:0}, at: slab_pre_alloc_hook mm/slab.h:670 [inline] ffffffff8c8f0080 (fs_reclaim){+.+.}-{0:0}, at: slab_alloc_node mm/slub.c:3433 [inline] ffffffff8c8f0080 (fs_reclaim){+.+.}-{0:0}, at: __kmem_cache_alloc_node+0x41/0x320 mm/slub.c:3490 and this task is already holding: ffff8880491fa908 (&sch->q.lock){+.-.}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:355 [inline] ffff8880491fa908 (&sch->q.lock){+.-.}-{2:2}, at: sch_tree_lock include/net/sch_generic.h:576 [inline] ffff8880491fa908 (&sch->q.lock){+.-.}-{2:2}, at: sch_tree_lock include/net/sch_generic.h:571 [inline] ffff8880491fa908 (&sch->q.lock){+.-.}-{2:2}, at: netem_change+0x1520/0x1f70 net/sched/sch_netem.c:969 which would create a new lock dependency: (&sch->q.lock){+.-.}-{2:2} -> (fs_reclaim){+.+.}-{0:0} but this new dependency connects a SOFTIRQ-irq-safe lock: (&sch->q.lock){+.-.}-{2:2} ... which became SOFTIRQ-irq-safe at: lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] pie_timer+0xf5/0x3f0 net/sched/sch_pie.c:428 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035 __do_softirq+0x1d4/0x905 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 __sanitizer_cov_trace_pc+0x4/0x70 kernel/kcov.c:200 folio_test_swapbacked include/linux/page-flags.h:493 [inline] folio_test_swapcache include/linux/page-flags.h:535 [inline] folio_mapping+0x65/0x210 mm/util.c:772 folio_mark_dirty+0x18/0x140 mm/page-writeback.c:2784 zap_pte_range mm/memory.c:1424 [inline] zap_pmd_range mm/memory.c:1563 [inline] zap_pud_range mm/memory.c:1592 [inline] zap_p4d_range mm/memory.c:1613 [inline] unmap_page_range+0x2795/0x38e0 mm/memory.c:1634 unmap_single_vma+0x19a/0x2b0 mm/memory.c:1680 unmap_vmas+0x234/0x380 mm/memory.c:1719 exit_mmap+0x190/0x930 mm/mmap.c:3111 __mmput+0x128/0x4c0 kernel/fork.c:1351 mmput+0x60/0x70 kernel/fork.c:1373 exit_mm kernel/exit.c:567 [inline] do_exit+0x9b0/0x29b0 kernel/exit.c:861 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x2318/0x25b0 kernel/signal.c:2876 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd to a SOFTIRQ-irq-unsafe lock: (fs_reclaim){+.+.}-{0:0} ... which became SOFTIRQ-irq-unsafe at: ... lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __fs_reclaim_acquire mm/page_alloc.c:3893 [inline] fs_reclaim_acquire+0x11d/0x160 mm/page_alloc.c:3907 might_alloc include/linux/sched/mm.h:303 [inline] slab_pre_alloc_hook mm/slab.h:670 [inline] slab_alloc_node mm/slub.c:3433 [inline] __kmem_cache_alloc_node+0x41/0x320 mm/slub.c:3490 kmalloc_trace+0x26/0xe0 mm/slab_common.c:1057 kmalloc include/linux/slab.h:559 [inline] kzalloc include/linux/slab.h:680 [inline] alloc_workqueue_attrs kernel/workqueue.c:3510 [inline] wq_numa_init kernel/workqueue.c:6216 [inline] workqueue_init+0xf5/0xd40 kernel/workqueue.c:6343 kernel_init_freeable+0x34c/0xba0 init/main.c:1557 kernel_init+0x1e/0x2c0 init/main.c:1462 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 other info that might help us debug this: Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(fs_reclaim); local_irq_disable(); lock(&sch->q.lock); lock(fs_reclaim); lock(&sch->q.lock); *** DEADLOCK *** 2 locks held by syz-executor.2/20777: #0: ffffffff8e115ba8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline] #0: ffffffff8e115ba8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6414 #1: ffff8880491fa908 (&sch->q.lock){+.-.}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:355 [inline] #1: ffff8880491fa908 (&sch->q.lock){+.-.}-{2:2}, at: sch_tree_lock include/net/sch_generic.h:576 [inline] #1: ffff8880491fa908 (&sch->q.lock){+.-.}-{2:2}, at: sch_tree_lock include/net/sch_generic.h:571 [inline] #1: ffff8880491fa908 (&sch->q.lock){+.-.}-{2:2}, at: netem_change+0x1520/0x1f70 net/sched/sch_netem.c:969 the dependencies between SOFTIRQ-irq-safe lock and the holding lock: -> (&sch->q.lock){+.-.}-{2:2} { HARDIRQ-ON-W at: lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] dev_reset_queue+0xab/0x1d0 net/sched/sch_generic.c:1291 netdev_for_each_tx_queue include/linux/netdevice.h:2517 [inline] dev_deactivate_many+0x36d/0xb00 net/sched/sch_generic.c:1359 dev_deactivate+0xed/0x1b0 net/sched/sch_generic.c:1382 linkwatch_do_dev+0x101/0x150 net/core/link_watch.c:180 __linkwatch_run_queue+0x23f/0x6a0 net/core/link_watch.c:235 linkwatch_event+0x4e/0x70 net/core/link_watch.c:278 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 IN-SOFTIRQ-W at: lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:350 [inline] pie_timer+0xf5/0x3f0 net/sched/sch_pie.c:428 call_timer_fn+0x1a0/0x580 kernel/time/timer.c:1700 expire_timers+0x29b/0x4b0 kernel/time/timer.c:1751 __run_timers kernel/time/timer.c:2022 [inline] __run_timers kernel/time/timer.c:1995 [inline] run_timer_softirq+0x326/0x910 kernel/time/timer.c:2035 __do_softirq+0x1d4/0x905 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x114/0x190 kernel/softirq.c:650 irq_exit_rcu+0x9/0x20 kernel/softirq.c:662 sysvec_apic_timer_interrupt+0x97/0xc0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 __sanitizer_cov_trace_pc+0x4/0x70 kernel/kcov.c:200 folio_test_swapbacked include/linux/page-flags.h:493 [inline] folio_test_swapcache include/linux/page-flags.h:535 [inline] folio_mapping+0x65/0x210 mm/util.c:772 folio_mark_dirty+0x18/0x140 mm/page-writeback.c:2784 zap_pte_range mm/memory.c:1424 [inline] zap_pmd_range mm/memory.c:1563 [inline] zap_pud_range mm/memory.c:1592 [inline] zap_p4d_range mm/memory.c:1613 [inline] unmap_page_range+0x2795/0x38e0 mm/memory.c:1634 unmap_single_vma+0x19a/0x2b0 mm/memory.c:1680 unmap_vmas+0x234/0x380 mm/memory.c:1719 exit_mmap+0x190/0x930 mm/mmap.c:3111 __mmput+0x128/0x4c0 kernel/fork.c:1351 mmput+0x60/0x70 kernel/fork.c:1373 exit_mm kernel/exit.c:567 [inline] do_exit+0x9b0/0x29b0 kernel/exit.c:861 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x2318/0x25b0 kernel/signal.c:2876 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] dev_reset_queue+0xab/0x1d0 net/sched/sch_generic.c:1291 netdev_for_each_tx_queue include/linux/netdevice.h:2517 [inline] dev_deactivate_many+0x36d/0xb00 net/sched/sch_generic.c:1359 dev_deactivate+0xed/0x1b0 net/sched/sch_generic.c:1382 linkwatch_do_dev+0x101/0x150 net/core/link_watch.c:180 __linkwatch_run_queue+0x23f/0x6a0 net/core/link_watch.c:235 linkwatch_event+0x4e/0x70 net/core/link_watch.c:278 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 } ... key at: [] __key.4+0x0/0x40 the dependencies between the lock to be acquired and SOFTIRQ-irq-unsafe lock: -> (fs_reclaim){+.+.}-{0:0} { HARDIRQ-ON-W at: lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __fs_reclaim_acquire mm/page_alloc.c:3893 [inline] fs_reclaim_acquire+0x11d/0x160 mm/page_alloc.c:3907 might_alloc include/linux/sched/mm.h:303 [inline] slab_pre_alloc_hook mm/slab.h:670 [inline] slab_alloc_node mm/slub.c:3433 [inline] __kmem_cache_alloc_node+0x41/0x320 mm/slub.c:3490 kmalloc_trace+0x26/0xe0 mm/slab_common.c:1057 kmalloc include/linux/slab.h:559 [inline] kzalloc include/linux/slab.h:680 [inline] alloc_workqueue_attrs kernel/workqueue.c:3510 [inline] wq_numa_init kernel/workqueue.c:6216 [inline] workqueue_init+0xf5/0xd40 kernel/workqueue.c:6343 kernel_init_freeable+0x34c/0xba0 init/main.c:1557 kernel_init+0x1e/0x2c0 init/main.c:1462 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 SOFTIRQ-ON-W at: lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __fs_reclaim_acquire mm/page_alloc.c:3893 [inline] fs_reclaim_acquire+0x11d/0x160 mm/page_alloc.c:3907 might_alloc include/linux/sched/mm.h:303 [inline] slab_pre_alloc_hook mm/slab.h:670 [inline] slab_alloc_node mm/slub.c:3433 [inline] __kmem_cache_alloc_node+0x41/0x320 mm/slub.c:3490 kmalloc_trace+0x26/0xe0 mm/slab_common.c:1057 kmalloc include/linux/slab.h:559 [inline] kzalloc include/linux/slab.h:680 [inline] alloc_workqueue_attrs kernel/workqueue.c:3510 [inline] wq_numa_init kernel/workqueue.c:6216 [inline] workqueue_init+0xf5/0xd40 kernel/workqueue.c:6343 kernel_init_freeable+0x34c/0xba0 init/main.c:1557 kernel_init+0x1e/0x2c0 init/main.c:1462 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __fs_reclaim_acquire mm/page_alloc.c:3893 [inline] fs_reclaim_acquire+0x11d/0x160 mm/page_alloc.c:3907 might_alloc include/linux/sched/mm.h:303 [inline] slab_pre_alloc_hook mm/slab.h:670 [inline] slab_alloc_node mm/slub.c:3433 [inline] __kmem_cache_alloc_node+0x41/0x320 mm/slub.c:3490 kmalloc_trace+0x26/0xe0 mm/slab_common.c:1057 kmalloc include/linux/slab.h:559 [inline] kzalloc include/linux/slab.h:680 [inline] alloc_workqueue_attrs kernel/workqueue.c:3510 [inline] wq_numa_init kernel/workqueue.c:6216 [inline] workqueue_init+0xf5/0xd40 kernel/workqueue.c:6343 kernel_init_freeable+0x34c/0xba0 init/main.c:1557 kernel_init+0x1e/0x2c0 init/main.c:1462 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 } ... key at: [] __fs_reclaim_map+0x0/0xe0 ... acquired at: lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __fs_reclaim_acquire mm/page_alloc.c:3893 [inline] fs_reclaim_acquire+0x11d/0x160 mm/page_alloc.c:3907 might_alloc include/linux/sched/mm.h:303 [inline] slab_pre_alloc_hook mm/slab.h:670 [inline] slab_alloc_node mm/slub.c:3433 [inline] __kmem_cache_alloc_node+0x41/0x320 mm/slub.c:3490 __do_kmalloc_node mm/slab_common.c:965 [inline] __kmalloc_node+0x51/0x1a0 mm/slab_common.c:973 kmalloc_node include/linux/slab.h:579 [inline] kvmalloc_node+0xa2/0x1a0 mm/util.c:604 kvmalloc include/linux/slab.h:697 [inline] get_dist_table+0x8e/0x3a0 net/sched/sch_netem.c:788 netem_change+0x57c/0x1f70 net/sched/sch_netem.c:985 netem_init+0x70/0xc0 net/sched/sch_netem.c:1072 qdisc_create+0x4d1/0x10c0 net/sched/sch_api.c:1326 tc_modify_qdisc+0x488/0x1c30 net/sched/sch_api.c:1720 rtnetlink_rcv_msg+0x43d/0xd50 net/core/rtnetlink.c:6417 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2546 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x925/0xe30 net/netlink/af_netlink.c:1913 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg+0xde/0x190 net/socket.c:747 ____sys_sendmsg+0x71c/0x900 net/socket.c:2503 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2557 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2586 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd stack backtrace: CPU: 1 PID: 20777 Comm: syz-executor.2 Not tainted 6.4.0-rc6-syzkaller-00278-g2ba7e7ebb6a7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 print_bad_irq_dependency kernel/locking/lockdep.c:2627 [inline] check_irq_usage+0x114e/0x1a40 kernel/locking/lockdep.c:2866 check_prev_add kernel/locking/lockdep.c:3117 [inline] check_prevs_add kernel/locking/lockdep.c:3232 [inline] validate_chain kernel/locking/lockdep.c:3847 [inline] __lock_acquire+0x2fe5/0x5f30 kernel/locking/lockdep.c:5088 lock_acquire kernel/locking/lockdep.c:5705 [inline] lock_acquire+0x1b1/0x520 kernel/locking/lockdep.c:5670 __fs_reclaim_acquire mm/page_alloc.c:3893 [inline] fs_reclaim_acquire+0x11d/0x160 mm/page_alloc.c:3907 might_alloc include/linux/sched/mm.h:303 [inline] slab_pre_alloc_hook mm/slab.h:670 [inline] slab_alloc_node mm/slub.c:3433 [inline] __kmem_cache_alloc_node+0x41/0x320 mm/slub.c:3490 __do_kmalloc_node mm/slab_common.c:965 [inline] __kmalloc_node+0x51/0x1a0 mm/slab_common.c:973 kmalloc_node include/linux/slab.h:579 [inline] kvmalloc_node+0xa2/0x1a0 mm/util.c:604 kvmalloc include/linux/slab.h:697 [inline] get_dist_table+0x8e/0x3a0 net/sched/sch_netem.c:788 netem_change+0x57c/0x1f70 net/sched/sch_netem.c:985 netem_init+0x70/0xc0 net/sched/sch_netem.c:1072 qdisc_create+0x4d1/0x10c0 net/sched/sch_api.c:1326 tc_modify_qdisc+0x488/0x1c30 net/sched/sch_api.c:1720 rtnetlink_rcv_msg+0x43d/0xd50 net/core/rtnetlink.c:6417 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2546 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x925/0xe30 net/netlink/af_netlink.c:1913 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg+0xde/0x190 net/socket.c:747 ____sys_sendmsg+0x71c/0x900 net/socket.c:2503 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2557 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2586 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5890e8c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5891b7b168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f5890fac050 RCX: 00007f5890e8c389 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00007f5890ed7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc27e194bf R14: 00007f5891b7b300 R15: 0000000000022000 BUG: sleeping function called from invalid context at include/linux/sched/mm.h:306 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 20777, name: syz-executor.2 preempt_count: 201, expected: 0 RCU nest depth: 0, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 PID: 20777 Comm: syz-executor.2 Not tainted 6.4.0-rc6-syzkaller-00278-g2ba7e7ebb6a7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x136/0x150 lib/dump_stack.c:106 __might_resched+0x358/0x580 kernel/sched/core.c:10153 might_alloc include/linux/sched/mm.h:306 [inline] slab_pre_alloc_hook mm/slab.h:670 [inline] slab_alloc_node mm/slub.c:3433 [inline] __kmem_cache_alloc_node+0x2e8/0x320 mm/slub.c:3490 __do_kmalloc_node mm/slab_common.c:965 [inline] __kmalloc_node+0x51/0x1a0 mm/slab_common.c:973 kmalloc_node include/linux/slab.h:579 [inline] kvmalloc_node+0xa2/0x1a0 mm/util.c:604 kvmalloc include/linux/slab.h:697 [inline] get_dist_table+0x8e/0x3a0 net/sched/sch_netem.c:788 netem_change+0x57c/0x1f70 net/sched/sch_netem.c:985 netem_init+0x70/0xc0 net/sched/sch_netem.c:1072 qdisc_create+0x4d1/0x10c0 net/sched/sch_api.c:1326 tc_modify_qdisc+0x488/0x1c30 net/sched/sch_api.c:1720 rtnetlink_rcv_msg+0x43d/0xd50 net/core/rtnetlink.c:6417 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2546 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline] netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1365 netlink_sendmsg+0x925/0xe30 net/netlink/af_netlink.c:1913 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg+0xde/0x190 net/socket.c:747 ____sys_sendmsg+0x71c/0x900 net/socket.c:2503 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2557 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2586 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5890e8c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5891b7b168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f5890fac050 RCX: 00007f5890e8c389 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000004 RBP: 00007f5890ed7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc27e194bf R14: 00007f5891b7b300 R15: 0000000000022000