===================================================== WARNING: SOFTIRQ-READ-safe -> SOFTIRQ-READ-unsafe lock order detected 6.11.0-syzkaller-11624-ge477dba5442c #0 Not tainted ----------------------------------------------------- syz.3.1175/10359 [HC0[0]:SC0[8]:HE1:SE0] is trying to acquire: ffff8880293261e0 (&pch->downl){+.+.}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:356 [inline] ffff8880293261e0 (&pch->downl){+.+.}-{2:2}, at: ppp_connect_channel drivers/net/ppp/ppp_generic.c:3485 [inline] ffff8880293261e0 (&pch->downl){+.+.}-{2:2}, at: ppp_ioctl+0x1955/0x2590 drivers/net/ppp/ppp_generic.c:761 and this task is already holding: ffff88806b8b4e10 (&ppp->rlock){+...}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:356 [inline] ffff88806b8b4e10 (&ppp->rlock){+...}-{2:2}, at: ppp_connect_channel drivers/net/ppp/ppp_generic.c:3484 [inline] ffff88806b8b4e10 (&ppp->rlock){+...}-{2:2}, at: ppp_ioctl+0x1942/0x2590 drivers/net/ppp/ppp_generic.c:761 which would create a new lock dependency: (&ppp->rlock){+...}-{2:2} -> (&pch->downl){+.+.}-{2:2} but this new dependency connects a SOFTIRQ-READ-irq-safe lock: (&pch->upl){++.-}-{2:2} ... which became SOFTIRQ-READ-irq-safe at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __raw_read_lock_bh include/linux/rwlock_api_smp.h:176 [inline] _raw_read_lock_bh+0x3f/0x70 kernel/locking/spinlock.c:252 ppp_input+0x40c/0xbb0 drivers/net/ppp/ppp_generic.c:2307 ppp_sync_process+0xa3/0x160 drivers/net/ppp/ppp_synctty.c:490 tasklet_action_common+0x24c/0x3e0 kernel/softirq.c:784 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 run_ksoftirqd kernel/softirq.c:927 [inline] run_ksoftirqd+0x3a/0x60 kernel/softirq.c:919 smpboot_thread_fn+0x661/0xa10 kernel/smpboot.c:164 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 to a SOFTIRQ-READ-irq-unsafe lock: (&pch->downl){+.+.}-{2:2} ... which became SOFTIRQ-READ-irq-unsafe at: ... lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __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:351 [inline] ppp_channel_bridge_input drivers/net/ppp/ppp_generic.c:2272 [inline] ppp_input+0x104/0xbb0 drivers/net/ppp/ppp_generic.c:2304 pppoe_rcv_core+0x22c/0x320 drivers/net/ppp/pppoe.c:379 sk_backlog_rcv include/net/sock.h:1113 [inline] __release_sock+0x35f/0x400 net/core/sock.c:3072 release_sock+0x5a/0x220 net/core/sock.c:3626 pppoe_sendmsg+0x5e6/0x770 drivers/net/ppp/pppoe.c:903 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg net/socket.c:744 [inline] ____sys_sendmsg+0xaaf/0xc90 net/socket.c:2602 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2656 __sys_sendmmsg+0x1a1/0x450 net/socket.c:2742 __do_sys_sendmmsg net/socket.c:2771 [inline] __se_sys_sendmmsg net/socket.c:2768 [inline] __x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2768 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f other info that might help us debug this: Chain exists of: &pch->upl --> &ppp->rlock --> &pch->downl Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&pch->downl); local_irq_disable(); lock(&pch->upl); lock(&ppp->rlock); lock(&pch->upl); *** DEADLOCK *** 5 locks held by syz.3.1175/10359: #0: ffffffff8f32bc68 (ppp_mutex){+.+.}-{3:3}, at: ppp_ioctl+0xc3/0x2590 drivers/net/ppp/ppp_generic.c:729 #1: ffff888055f264c0 (&pn->all_ppp_mutex){+.+.}-{3:3}, at: ppp_connect_channel drivers/net/ppp/ppp_generic.c:3474 [inline] #1: ffff888055f264c0 (&pn->all_ppp_mutex){+.+.}-{3:3}, at: ppp_ioctl+0xa5c/0x2590 drivers/net/ppp/ppp_generic.c:761 #2: ffff888029326248 (&pch->upl){++.-}-{2:2}, at: ppp_connect_channel drivers/net/ppp/ppp_generic.c:3478 [inline] #2: ffff888029326248 (&pch->upl){++.-}-{2:2}, at: ppp_ioctl+0xa8e/0x2590 drivers/net/ppp/ppp_generic.c:761 #3: ffff88806b8b4e50 (&ppp->wlock){+...}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:356 [inline] #3: ffff88806b8b4e50 (&ppp->wlock){+...}-{2:2}, at: ppp_connect_channel drivers/net/ppp/ppp_generic.c:3484 [inline] #3: ffff88806b8b4e50 (&ppp->wlock){+...}-{2:2}, at: ppp_ioctl+0x192d/0x2590 drivers/net/ppp/ppp_generic.c:761 #4: ffff88806b8b4e10 (&ppp->rlock){+...}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:356 [inline] #4: ffff88806b8b4e10 (&ppp->rlock){+...}-{2:2}, at: ppp_connect_channel drivers/net/ppp/ppp_generic.c:3484 [inline] #4: ffff88806b8b4e10 (&ppp->rlock){+...}-{2:2}, at: ppp_ioctl+0x1942/0x2590 drivers/net/ppp/ppp_generic.c:761 the dependencies between SOFTIRQ-READ-irq-safe lock and the holding lock: -> (&pch->upl){++.-}-{2:2} { HARDIRQ-ON-W at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __raw_write_lock_bh include/linux/rwlock_api_smp.h:202 [inline] _raw_write_lock_bh+0x33/0x40 kernel/locking/spinlock.c:334 ppp_bridge_channels drivers/net/ppp/ppp_generic.c:643 [inline] ppp_ioctl+0xeae/0x2590 drivers/net/ppp/ppp_generic.c:783 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f HARDIRQ-ON-R at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __raw_read_lock_bh include/linux/rwlock_api_smp.h:176 [inline] _raw_read_lock_bh+0x3f/0x70 kernel/locking/spinlock.c:252 ppp_channel_push+0x28/0x250 drivers/net/ppp/ppp_generic.c:2186 ppp_write+0x2d1/0x3e0 drivers/net/ppp/ppp_generic.c:540 do_loop_readv_writev fs/read_write.c:857 [inline] do_loop_readv_writev fs/read_write.c:842 [inline] vfs_writev+0x6da/0xdd0 fs/read_write.c:1066 do_writev+0x137/0x370 fs/read_write.c:1111 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f IN-SOFTIRQ-R at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __raw_read_lock_bh include/linux/rwlock_api_smp.h:176 [inline] _raw_read_lock_bh+0x3f/0x70 kernel/locking/spinlock.c:252 ppp_input+0x40c/0xbb0 drivers/net/ppp/ppp_generic.c:2307 ppp_sync_process+0xa3/0x160 drivers/net/ppp/ppp_synctty.c:490 tasklet_action_common+0x24c/0x3e0 kernel/softirq.c:784 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 run_ksoftirqd kernel/softirq.c:927 [inline] run_ksoftirqd+0x3a/0x60 kernel/softirq.c:919 smpboot_thread_fn+0x661/0xa10 kernel/smpboot.c:164 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __raw_write_lock_bh include/linux/rwlock_api_smp.h:202 [inline] _raw_write_lock_bh+0x33/0x40 kernel/locking/spinlock.c:334 ppp_bridge_channels drivers/net/ppp/ppp_generic.c:643 [inline] ppp_ioctl+0xeae/0x2590 drivers/net/ppp/ppp_generic.c:783 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL READ USE at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __raw_read_lock_bh include/linux/rwlock_api_smp.h:176 [inline] _raw_read_lock_bh+0x3f/0x70 kernel/locking/spinlock.c:252 ppp_channel_push+0x28/0x250 drivers/net/ppp/ppp_generic.c:2186 ppp_write+0x2d1/0x3e0 drivers/net/ppp/ppp_generic.c:540 do_loop_readv_writev fs/read_write.c:857 [inline] do_loop_readv_writev fs/read_write.c:842 [inline] vfs_writev+0x6da/0xdd0 fs/read_write.c:1066 do_writev+0x137/0x370 fs/read_write.c:1111 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] __key.10+0x0/0x40 -> (&ppp->wlock){+...}-{2:2} { HARDIRQ-ON-W at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __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:356 [inline] ppp_get_stats64+0xcf/0x3a0 drivers/net/ppp/ppp_generic.c:1539 dev_get_stats+0xae/0x9e0 net/core/dev.c:10937 rtnl_fill_stats+0x48/0xa90 net/core/rtnetlink.c:1268 rtnl_fill_ifinfo.constprop.0+0x1622/0x4b50 net/core/rtnetlink.c:1909 rtmsg_ifinfo_build_skb+0x151/0x280 net/core/rtnetlink.c:4079 rtmsg_ifinfo_event net/core/rtnetlink.c:4112 [inline] rtmsg_ifinfo_event net/core/rtnetlink.c:4102 [inline] rtmsg_ifinfo+0x9f/0x1a0 net/core/rtnetlink.c:4121 register_netdevice+0x18b5/0x1e90 net/core/dev.c:10534 ppp_unit_register drivers/net/ppp/ppp_generic.c:1219 [inline] ppp_dev_configure+0x9aa/0xc90 drivers/net/ppp/ppp_generic.c:1275 ppp_create_interface drivers/net/ppp/ppp_generic.c:3348 [inline] ppp_unattached_ioctl drivers/net/ppp/ppp_generic.c:1060 [inline] ppp_ioctl+0x17eb/0x2590 drivers/net/ppp/ppp_generic.c:733 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __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:356 [inline] ppp_get_stats64+0xcf/0x3a0 drivers/net/ppp/ppp_generic.c:1539 dev_get_stats+0xae/0x9e0 net/core/dev.c:10937 rtnl_fill_stats+0x48/0xa90 net/core/rtnetlink.c:1268 rtnl_fill_ifinfo.constprop.0+0x1622/0x4b50 net/core/rtnetlink.c:1909 rtmsg_ifinfo_build_skb+0x151/0x280 net/core/rtnetlink.c:4079 rtmsg_ifinfo_event net/core/rtnetlink.c:4112 [inline] rtmsg_ifinfo_event net/core/rtnetlink.c:4102 [inline] rtmsg_ifinfo+0x9f/0x1a0 net/core/rtnetlink.c:4121 register_netdevice+0x18b5/0x1e90 net/core/dev.c:10534 ppp_unit_register drivers/net/ppp/ppp_generic.c:1219 [inline] ppp_dev_configure+0x9aa/0xc90 drivers/net/ppp/ppp_generic.c:1275 ppp_create_interface drivers/net/ppp/ppp_generic.c:3348 [inline] ppp_unattached_ioctl drivers/net/ppp/ppp_generic.c:1060 [inline] ppp_ioctl+0x17eb/0x2590 drivers/net/ppp/ppp_generic.c:733 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] __key.0+0x0/0x40 ... acquired at: __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:356 [inline] ppp_connect_channel drivers/net/ppp/ppp_generic.c:3484 [inline] ppp_ioctl+0x192d/0x2590 drivers/net/ppp/ppp_generic.c:761 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> (&ppp->rlock){+...}-{2:2} { HARDIRQ-ON-W at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __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:356 [inline] ppp_get_stats64+0x24/0x3a0 drivers/net/ppp/ppp_generic.c:1534 dev_get_stats+0xae/0x9e0 net/core/dev.c:10937 rtnl_fill_stats+0x48/0xa90 net/core/rtnetlink.c:1268 rtnl_fill_ifinfo.constprop.0+0x1622/0x4b50 net/core/rtnetlink.c:1909 rtmsg_ifinfo_build_skb+0x151/0x280 net/core/rtnetlink.c:4079 rtmsg_ifinfo_event net/core/rtnetlink.c:4112 [inline] rtmsg_ifinfo_event net/core/rtnetlink.c:4102 [inline] rtmsg_ifinfo+0x9f/0x1a0 net/core/rtnetlink.c:4121 register_netdevice+0x18b5/0x1e90 net/core/dev.c:10534 ppp_unit_register drivers/net/ppp/ppp_generic.c:1219 [inline] ppp_dev_configure+0x9aa/0xc90 drivers/net/ppp/ppp_generic.c:1275 ppp_create_interface drivers/net/ppp/ppp_generic.c:3348 [inline] ppp_unattached_ioctl drivers/net/ppp/ppp_generic.c:1060 [inline] ppp_ioctl+0x17eb/0x2590 drivers/net/ppp/ppp_generic.c:733 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __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:356 [inline] ppp_get_stats64+0x24/0x3a0 drivers/net/ppp/ppp_generic.c:1534 dev_get_stats+0xae/0x9e0 net/core/dev.c:10937 rtnl_fill_stats+0x48/0xa90 net/core/rtnetlink.c:1268 rtnl_fill_ifinfo.constprop.0+0x1622/0x4b50 net/core/rtnetlink.c:1909 rtmsg_ifinfo_build_skb+0x151/0x280 net/core/rtnetlink.c:4079 rtmsg_ifinfo_event net/core/rtnetlink.c:4112 [inline] rtmsg_ifinfo_event net/core/rtnetlink.c:4102 [inline] rtmsg_ifinfo+0x9f/0x1a0 net/core/rtnetlink.c:4121 register_netdevice+0x18b5/0x1e90 net/core/dev.c:10534 ppp_unit_register drivers/net/ppp/ppp_generic.c:1219 [inline] ppp_dev_configure+0x9aa/0xc90 drivers/net/ppp/ppp_generic.c:1275 ppp_create_interface drivers/net/ppp/ppp_generic.c:3348 [inline] ppp_unattached_ioctl drivers/net/ppp/ppp_generic.c:1060 [inline] ppp_ioctl+0x17eb/0x2590 drivers/net/ppp/ppp_generic.c:733 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] __key.1+0x0/0x40 ... acquired at: __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:356 [inline] ppp_ioctl+0x44a/0x2590 drivers/net/ppp/ppp_generic.c:900 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f the dependencies between the lock to be acquired and SOFTIRQ-READ-irq-unsafe lock: -> (&pch->downl){+.+.}-{2:2} { HARDIRQ-ON-W at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __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:351 [inline] ppp_channel_bridge_input drivers/net/ppp/ppp_generic.c:2272 [inline] ppp_input+0x104/0xbb0 drivers/net/ppp/ppp_generic.c:2304 pppoe_rcv_core+0x22c/0x320 drivers/net/ppp/pppoe.c:379 sk_backlog_rcv include/net/sock.h:1113 [inline] __release_sock+0x35f/0x400 net/core/sock.c:3072 release_sock+0x5a/0x220 net/core/sock.c:3626 pppoe_sendmsg+0x5e6/0x770 drivers/net/ppp/pppoe.c:903 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg net/socket.c:744 [inline] ____sys_sendmsg+0xaaf/0xc90 net/socket.c:2602 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2656 __sys_sendmmsg+0x1a1/0x450 net/socket.c:2742 __do_sys_sendmmsg net/socket.c:2771 [inline] __se_sys_sendmmsg net/socket.c:2768 [inline] __x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2768 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f SOFTIRQ-ON-W at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __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:351 [inline] ppp_channel_bridge_input drivers/net/ppp/ppp_generic.c:2272 [inline] ppp_input+0x104/0xbb0 drivers/net/ppp/ppp_generic.c:2304 pppoe_rcv_core+0x22c/0x320 drivers/net/ppp/pppoe.c:379 sk_backlog_rcv include/net/sock.h:1113 [inline] __release_sock+0x35f/0x400 net/core/sock.c:3072 release_sock+0x5a/0x220 net/core/sock.c:3626 pppoe_sendmsg+0x5e6/0x770 drivers/net/ppp/pppoe.c:903 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg net/socket.c:744 [inline] ____sys_sendmsg+0xaaf/0xc90 net/socket.c:2602 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2656 __sys_sendmmsg+0x1a1/0x450 net/socket.c:2742 __do_sys_sendmmsg net/socket.c:2771 [inline] __se_sys_sendmmsg net/socket.c:2768 [inline] __x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2768 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL USE at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __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:351 [inline] ppp_channel_bridge_input drivers/net/ppp/ppp_generic.c:2272 [inline] ppp_input+0x104/0xbb0 drivers/net/ppp/ppp_generic.c:2304 pppoe_rcv_core+0x22c/0x320 drivers/net/ppp/pppoe.c:379 sk_backlog_rcv include/net/sock.h:1113 [inline] __release_sock+0x35f/0x400 net/core/sock.c:3072 release_sock+0x5a/0x220 net/core/sock.c:3626 pppoe_sendmsg+0x5e6/0x770 drivers/net/ppp/pppoe.c:903 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg net/socket.c:744 [inline] ____sys_sendmsg+0xaaf/0xc90 net/socket.c:2602 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2656 __sys_sendmmsg+0x1a1/0x450 net/socket.c:2742 __do_sys_sendmmsg net/socket.c:2771 [inline] __se_sys_sendmmsg net/socket.c:2768 [inline] __x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2768 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] __key.11+0x0/0x40 ... acquired at: lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __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:356 [inline] ppp_connect_channel drivers/net/ppp/ppp_generic.c:3485 [inline] ppp_ioctl+0x1955/0x2590 drivers/net/ppp/ppp_generic.c:761 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f stack backtrace: CPU: 0 UID: 0 PID: 10359 Comm: syz.3.1175 Not tainted 6.11.0-syzkaller-11624-ge477dba5442c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_bad_irq_dependency kernel/locking/lockdep.c:2644 [inline] check_irq_usage+0xe41/0x14a0 kernel/locking/lockdep.c:2885 check_prev_add kernel/locking/lockdep.c:3162 [inline] check_prevs_add kernel/locking/lockdep.c:3277 [inline] validate_chain kernel/locking/lockdep.c:3901 [inline] __lock_acquire+0x2521/0x3ce0 kernel/locking/lockdep.c:5199 lock_acquire kernel/locking/lockdep.c:5822 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5787 __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:356 [inline] ppp_connect_channel drivers/net/ppp/ppp_generic.c:3485 [inline] ppp_ioctl+0x1955/0x2590 drivers/net/ppp/ppp_generic.c:761 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl fs/ioctl.c:893 [inline] __x64_sys_ioctl+0x18f/0x220 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f662037df39 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f662119a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6620535f80 RCX: 00007f662037df39 RDX: 0000000020000300 RSI: 000000004004743a RDI: 0000000000000005 RBP: 00007f66203f0216 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f6620535f80 R15: 00007ffdff9d3d18