syzbot


kernel panic: corrupted stack end in rtnl_newlink

Status: auto-closed as invalid on 2021/11/21 12:28
Reported-by: syzbot+6283f970567129f2c015@syzkaller.appspotmail.com
First crash: 1004d, last: 1004d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel panic: corrupted stack end in rtnl_newlink net 3489 424d 771d 22/26 fixed on 2023/02/24 13:50

Sample crash report:
Kernel panic - not syncing: corrupted stack end detected inside scheduler

CPU: 1 PID: 21202 Comm: syz-executor.5 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 schedule_debug kernel/sched/core.c:3330 [inline]
 __schedule+0x203d/0x2040 kernel/sched/core.c:3439
 preempt_schedule_irq+0xb0/0x140 kernel/sched/core.c:3744
 retint_kernel+0x1b/0x2d
RIP: 0010:notifier_call_chain+0xc3/0x230 kernel/notifier.c:93
Code: e8 e2 b8 22 00 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 4e 01 00 00 48 8b 54 24 10 4c 89 ff 48 8b 74 24 08 41 ff 17 4d 85 f6 <41> 89 c4 74 25 e8 b3 b8 22 00 48 8b 44 24 18 0f b6 4c 24 20 0f b6
RSP: 0018:ffff888039111020 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000000 RBX: 00000000fffffff3 RCX: ffffc90010777000
RDX: 0000000000040000 RSI: ffffffff86e52008 RDI: 0000000000000007
RBP: ffffffff8aedcea0 R08: 0000000000000000 R09: 0000000000000012
R10: 0000000000000007 R11: 0000000000000000 R12: 0000000000000000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffffffff8aed9740
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
caif:caif_disconnect_client(): nothing to disconnect
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_change_features+0x61/0xb0 net/core/dev.c:8488
 bond_compute_features+0x476/0x8c0 drivers/net/bonding/bond_main.c:1116
 bond_slave_netdev_event drivers/net/bonding/bond_main.c:3225 [inline]
 bond_netdev_event+0xa96/0xe50 drivers/net/bonding/bond_main.c:3266
 notifier_call_chain+0xc0/0x230 kernel/notifier.c:93
 call_netdevice_notifiers net/core/dev.c:1762 [inline]
 netdev_features_change net/core/dev.c:1330 [inline]
 netdev_sync_lower_features net/core/dev.c:8280 [inline]
 __netdev_update_features+0x8c4/0x1680 net/core/dev.c:8416
 netdev_update_features net/core/dev.c:8471 [inline]
 dev_disable_lro+0x8d/0x3e0 net/core/dev.c:1557
 br_add_if+0x8e6/0x19a0 net/bridge/br_if.c:638
 do_set_master+0x1c8/0x220 net/core/rtnetlink.c:2321
 do_setlink+0x7ec/0x3540 net/core/rtnetlink.c:2455
 rtnl_newlink+0xda9/0x15c0 net/core/rtnetlink.c:3077
 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2457
 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1346
 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1911
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2225
 __sys_sendmsg net/socket.c:2263 [inline]
 __do_sys_sendmsg net/socket.c:2272 [inline]
 __se_sys_sendmsg net/socket.c:2270 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2270
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665e9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f802bba3188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9
RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000000000004
RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
R13: 00007ffc1932c76f R14: 00007f802bba3300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/24 12:27 linux-4.19.y 4938296e03bd 4d1b57d4 .config console log report info ci2-linux-4-19 kernel panic: corrupted stack end in rtnl_newlink
* Struck through repros no longer work on HEAD.