BUG: sleeping function called from invalid context in skb_clone

Status: auto-obsoleted due to no activity on 2026/07/12 06:53
Subsystems: net
Labels: prio:normal
[Documentation on labels]
First crash: 174d, last: 143d
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
4fcfea17 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ BUG: sleeping function called from invalid context in skb_clone 2026/05/22 21:00 2026/05/22 21:00 2026/05/22 21:35 df8ac09c

Sample crash report:
BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:323
in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 8735, name: syz.0.12775
preempt_count: 0, expected: 0
RCU nest depth: 1, expected: 0
1 lock held by syz.0.12775/8735:
 #0: ffffffff8e75e520 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:312 [inline]
 #0: ffffffff8e75e520 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:850 [inline]
 #0: ffffffff8e75e520 (rcu_read_lock){....}-{1:3}, at: ip6_route_del+0xe2/0x1100 net/ipv6/route.c:4141
CPU: 1 UID: 0 PID: 8735 Comm: syz.0.12775 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 __might_resched+0x378/0x4d0 kernel/sched/core.c:8888
 might_alloc include/linux/sched/mm.h:323 [inline]
 slab_pre_alloc_hook mm/slub.c:4489 [inline]
 slab_alloc_node mm/slub.c:4843 [inline]
 kmem_cache_alloc_noprof+0x73/0x650 mm/slub.c:4873
 skb_clone+0x212/0x3a0 net/core/skbuff.c:2109
 netlink_trim+0x17d/0x2c0 net/netlink/af_netlink.c:1292
 netlink_broadcast_filtered+0xd6/0x1020 net/netlink/af_netlink.c:1512
 nlmsg_multicast_filtered include/net/netlink.h:1165 [inline]
 nlmsg_multicast include/net/netlink.h:1184 [inline]
 nlmsg_notify+0xf0/0x1a0 net/netlink/af_netlink.c:2593
 __ip6_del_rt_siblings+0x5fc/0x7d0 net/ipv6/route.c:4065
 ip6_route_del+0x1047/0x1100 net/ipv6/route.c:4205
 inet6_rtm_delroute+0x5d7/0x6d0 net/ipv6/route.c:5638
 rtnetlink_rcv_msg+0x7d5/0xbe0 net/core/rtnetlink.c:6958
 netlink_rcv_skb+0x232/0x4b0 net/netlink/af_netlink.c:2550
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x80f/0x9b0 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1894
 sock_sendmsg_nosec net/socket.c:721 [inline]
 __sock_sendmsg net/socket.c:736 [inline]
 ____sys_sendmsg+0x972/0x9f0 net/socket.c:2585
 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2639
 __sys_sendmsg net/socket.c:2671 [inline]
 __do_sys_sendmsg net/socket.c:2676 [inline]
 __se_sys_sendmsg net/socket.c:2674 [inline]
 __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2674
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f620cd9c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f620dc42028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f620d015fa0 RCX: 00007f620cd9c799
RDX: 0000000000000080 RSI: 0000200000000240 RDI: 0000000000000003
RBP: 00007f620ce32c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f620d016038 R14: 00007f620d015fa0 R15: 00007fffbd8631d8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/03/24 14:26 net-next a4b908c89d88 74e70d19 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce BUG: sleeping function called from invalid context in skb_clone
2026/02/22 04:49 linux-next d4906ae14a5f 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root BUG: sleeping function called from invalid context in skb_clone
* Struck through repros no longer work on HEAD.