syzbot


WARNING in page_pool_put_defragged_page

Status: upstream: reported C repro on 2025/05/20 20:59
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+29d15a1e531134156a21@syzkaller.appspotmail.com
First crash: 102d, last: 2h45m
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2025/05/21 linux-6.1.y (ToT) 325285d9fc86 C [report] WARNING in page_pool_put_defragged_page
2025/05/21 upstream (ToT) 4a95bc121ccd C Didn't crash
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 WARNING in page_pool_put_defragged_page origin:lts-only -1 C 11 19h09m 34d 0/2 upstream: reported C repro on 2025/07/28 00:40
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2025/07/24 22:57 2h36m fix candidate upstream error job log
2025/06/21 05:17 14m bisect fix linux-6.1.y error job log

Sample crash report:
netlink: 8 bytes leftover after parsing attributes in process `syz-executor175'.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4298 at kernel/softirq.c:383 __local_bh_enable_ip+0x25c/0x380 kernel/softirq.c:383
Modules linked in:
CPU: 1 PID: 4298 Comm: syz-executor175 Not tainted 6.1.139-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 204000c5 (nzCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __local_bh_enable_ip+0x25c/0x380 kernel/softirq.c:383
lr : __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline]
lr : _raw_spin_unlock_bh+0x48/0x58 kernel/locking/spinlock.c:210
sp : ffff800020b467f0
x29: ffff800020b46800 x28: 1fffe0001b7e5eb8 x27: 1fffe0001b7e5ed9
x26: dfff800000000000 x25: 1fffe0001bdc96f1 x24: 0000000000000000
x23: dfff800000000000 x22: 1fffe0001bdc96f1 x21: ffff80000fde6b60
x20: 0000000000000201 x19: ffff0000dee4b788 x18: 0000000000000000
x17: ffff8000181a0000 x16: ffff8000082e7c58 x15: ffff800017c80fc0
x14: ffff0000dee4c218 x13: ffff0000dee4c290 x12: 0000000000000001
x11: 1fffe0001b7e5eb9 x10: 0000000000000000 x9 : 0000000000000000
x8 : 0000000100000203 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff8000182e1538 x4 : 0000000000000008 x3 : ffff8000082e7d6c
x2 : 0000000000000001 x1 : 0000000000000201 x0 : ffff80000fde6b60
Call trace:
 __local_bh_enable_ip+0x25c/0x380 kernel/softirq.c:383
 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline]
 _raw_spin_unlock_bh+0x48/0x58 kernel/locking/spinlock.c:210
 spin_unlock_bh include/linux/spinlock.h:396 [inline]
 ptr_ring_produce_bh include/linux/ptr_ring.h:164 [inline]
 page_pool_recycle_in_ring net/core/page_pool.c:545 [inline]
 page_pool_put_defragged_page+0x4d0/0xae8 net/core/page_pool.c:632
 page_pool_put_page include/net/page_pool.h:326 [inline]
 page_pool_put_full_page include/net/page_pool.h:334 [inline]
 __xdp_return+0x3ac/0x524 net/core/xdp.c:384
 xdp_return_frame+0x90/0x264 net/core/xdp.c:419
 tun_ptr_free drivers/net/tun.c:617 [inline]
 __ptr_ring_swap_queue include/linux/ptr_ring.h:570 [inline]
 ptr_ring_resize_multiple include/linux/ptr_ring.h:641 [inline]
 tun_queue_resize drivers/net/tun.c:3666 [inline]
 tun_device_event+0x8e4/0xe80 drivers/net/tun.c:3686
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0xd4/0x164 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:2001 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:2039 [inline]
 call_netdevice_notifiers net/core/dev.c:2053 [inline]
 dev_change_tx_queue_len+0x170/0x2c8 net/core/dev.c:8811
 do_setlink+0xcd4/0x32c4 net/core/rtnetlink.c:2856
 rtnl_setlink+0x2c0/0x398 net/core/rtnetlink.c:3124
 rtnetlink_rcv_msg+0x734/0xce4 net/core/rtnetlink.c:6153
 netlink_rcv_skb+0x208/0x3c4 net/netlink/af_netlink.c:2493
 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6171
 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
 netlink_unicast+0x600/0x818 net/netlink/af_netlink.c:1337
 netlink_sendmsg+0x6e8/0x9b0 net/netlink/af_netlink.c:1859
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 ____sys_sendmsg+0x5b8/0x918 net/socket.c:2519
 ___sys_sendmsg net/socket.c:2573 [inline]
 __sys_sendmsg+0x25c/0x320 net/socket.c:2602
 __do_sys_sendmsg net/socket.c:2611 [inline]
 __se_sys_sendmsg net/socket.c:2609 [inline]
 __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2609
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 2251
hardirqs last  enabled at (2249): [<ffff8000119ff69c>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
hardirqs last  enabled at (2249): [<ffff8000119ff69c>] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194
hardirqs last disabled at (2250): [<ffff8000119ff4b8>] __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:108 [inline]
hardirqs last disabled at (2250): [<ffff8000119ff4b8>] _raw_spin_lock_irqsave+0xa4/0xb4 kernel/locking/spinlock.c:162
softirqs last  enabled at (2210): [<ffff800010744b2c>] inet6_fill_ifla6_attrs+0xc70/0x1b6c net/ipv6/addrconf.c:5776
softirqs last disabled at (2251): [<ffff80000fde69e0>] spin_lock_bh include/linux/spinlock.h:356 [inline]
softirqs last disabled at (2251): [<ffff80000fde69e0>] ptr_ring_produce_bh include/linux/ptr_ring.h:162 [inline]
softirqs last disabled at (2251): [<ffff80000fde69e0>] page_pool_recycle_in_ring net/core/page_pool.c:545 [inline]
softirqs last disabled at (2251): [<ffff80000fde69e0>] page_pool_put_defragged_page+0x350/0xae8 net/core/page_pool.c:632
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
raw_local_irq_restore() called with IRQs enabled
WARNING: CPU: 1 PID: 4298 at kernel/locking/irqflag-debug.c:10 warn_bogus_irq_restore+0x34/0x44 kernel/locking/irqflag-debug.c:10
Modules linked in:
CPU: 1 PID: 4298 Comm: syz-executor175 Tainted: G        W          6.1.139-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : warn_bogus_irq_restore+0x34/0x44 kernel/locking/irqflag-debug.c:10
lr : warn_bogus_irq_restore+0x34/0x44 kernel/locking/irqflag-debug.c:10
sp : ffff800020b46940
x29: ffff800020b46940 x28: 0000000000000000 x27: 1fffe0001a640930
x26: 0000000000000003 x25: dfff800000000000 x24: 1fffe0001a640931
x23: 0000000000000000 x22: ffff0000ce03f800 x21: ffff0000d3204988
x20: ffff0000d3204908 x19: 0000000000000000 x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000082d241c x15: 0000000000000000
x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100
x11: ff00800008191bec x10: 0000000000000000 x9 : 7cbdb8f91f2bcd00
x8 : 7cbdb8f91f2bcd00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800020b463d8 x4 : ffff800015154740 x3 : ffff80000a83beec
x2 : ffff00019f738cd0 x1 : 0000000100000001 x0 : 0000000000000000
Call trace:
 warn_bogus_irq_restore+0x34/0x44 kernel/locking/irqflag-debug.c:10
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
 _raw_spin_unlock_irqrestore+0xa0/0xac kernel/locking/spinlock.c:194
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 ptr_ring_resize_multiple include/linux/ptr_ring.h:644 [inline]
 tun_queue_resize drivers/net/tun.c:3666 [inline]
 tun_device_event+0xbf8/0xe80 drivers/net/tun.c:3686
 notifier_call_chain kernel/notifier.c:87 [inline]
 raw_notifier_call_chain+0xd4/0x164 kernel/notifier.c:455
 call_netdevice_notifiers_info net/core/dev.c:2001 [inline]
 call_netdevice_notifiers_extack net/core/dev.c:2039 [inline]
 call_netdevice_notifiers net/core/dev.c:2053 [inline]
 dev_change_tx_queue_len+0x170/0x2c8 net/core/dev.c:8811
 do_setlink+0xcd4/0x32c4 net/core/rtnetlink.c:2856
 rtnl_setlink+0x2c0/0x398 net/core/rtnetlink.c:3124
 rtnetlink_rcv_msg+0x734/0xce4 net/core/rtnetlink.c:6153
 netlink_rcv_skb+0x208/0x3c4 net/netlink/af_netlink.c:2493
 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:6171
 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
 netlink_unicast+0x600/0x818 net/netlink/af_netlink.c:1337
 netlink_sendmsg+0x6e8/0x9b0 net/netlink/af_netlink.c:1859
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 ____sys_sendmsg+0x5b8/0x918 net/socket.c:2519
 ___sys_sendmsg net/socket.c:2573 [inline]
 __sys_sendmsg+0x25c/0x320 net/socket.c:2602
 __do_sys_sendmsg net/socket.c:2611 [inline]
 __se_sys_sendmsg net/socket.c:2609 [inline]
 __arm64_sys_sendmsg+0x80/0x94 net/socket.c:2609
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 2290
hardirqs last  enabled at (2289): [<ffff800008308534>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261
hardirqs last disabled at (2290): [<ffff8000119143a8>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (2268): [<ffff8000081a95c0>] softirq_handle_end kernel/softirq.c:421 [inline]
softirqs last  enabled at (2268): [<ffff8000081a95c0>] handle_softirqs+0xaf8/0xc6c kernel/softirq.c:606
softirqs last disabled at (2255): [<ffff800008020164>] __do_softirq+0x14/0x20 kernel/softirq.c:612
---[ end trace 0000000000000000 ]---

Crashes (33):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/21 05:13 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/05/21 03:55 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/05/21 02:35 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/05/21 01:16 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/05/20 23:45 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/08/31 00:50 linux-6.1.y f89b6e15694c 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_pool_put_defragged_page
2025/08/30 08:57 linux-6.1.y f89b6e15694c 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_pool_put_defragged_page
2025/08/30 08:56 linux-6.1.y f89b6e15694c 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_pool_put_defragged_page
2025/07/28 22:19 linux-6.1.y 3594f306da12 6654ea9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_pool_put_defragged_page
2025/07/28 22:19 linux-6.1.y 3594f306da12 6654ea9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_pool_put_defragged_page
2025/05/21 07:43 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_pool_put_defragged_page
2025/05/21 07:43 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_pool_put_defragged_page
2025/05/21 07:10 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_pool_put_defragged_page
2025/05/21 07:10 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_pool_put_defragged_page
2025/05/20 20:59 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_pool_put_defragged_page
2025/05/20 20:59 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in page_pool_put_defragged_page
2025/08/31 00:51 linux-6.1.y f89b6e15694c 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/08/31 00:51 linux-6.1.y f89b6e15694c 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/08/30 07:43 linux-6.1.y f89b6e15694c 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/08/29 21:10 linux-6.1.y f89b6e15694c 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/08/29 21:08 linux-6.1.y f89b6e15694c 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/08/29 06:49 linux-6.1.y f89b6e15694c d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/08/29 06:48 linux-6.1.y f89b6e15694c d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/08/29 06:48 linux-6.1.y f89b6e15694c d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/07/28 22:35 linux-6.1.y 3594f306da12 6654ea9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/07/28 22:33 linux-6.1.y 3594f306da12 6654ea9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/05/21 01:35 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/05/21 01:34 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/05/21 01:03 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/05/21 01:03 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/05/20 22:04 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/05/20 22:02 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
2025/05/20 22:02 linux-6.1.y 325285d9fc86 b47f9e02 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in page_pool_put_defragged_page
* Struck through repros no longer work on HEAD.