[v6.1] WARNING in em_nbyte_match

0 views
Skip to first unread message

syzbot

unread,
Dec 6, 2025, 6:53:27 AM (6 days ago) Dec 6
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: f6e38ae624cf Linux 6.1.158
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=176abc1a580000
kernel config: https://syzkaller.appspot.com/x/.config?x=68aa5a3af1cb953a
dashboard link: https://syzkaller.appspot.com/bug?extid=1b33c093b885ba7c41ea
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
userspace arch: arm64

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/c1bd671a9def/disk-f6e38ae6.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/fa0af998ea40/vmlinux-f6e38ae6.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e5512d873524/Image-f6e38ae6.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+1b33c0...@syzkaller.appspotmail.com

device syzkaller0 entered promiscuous mode
------------[ cut here ]------------
WARNING: CPU: 1 PID: 7623 at include/linux/skbuff.h:2844 skb_transport_header include/linux/skbuff.h:2844 [inline]
WARNING: CPU: 1 PID: 7623 at include/linux/skbuff.h:2844 tcf_get_base_ptr include/net/pkt_cls.h:529 [inline]
WARNING: CPU: 1 PID: 7623 at include/linux/skbuff.h:2844 em_nbyte_match+0x294/0x350 net/sched/em_nbyte.c:43
Modules linked in:
CPU: 1 PID: 7623 Comm: syz.2.1154 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : skb_transport_header include/linux/skbuff.h:2844 [inline]
pc : tcf_get_base_ptr include/net/pkt_cls.h:529 [inline]
pc : em_nbyte_match+0x294/0x350 net/sched/em_nbyte.c:43
lr : skb_transport_header include/linux/skbuff.h:2844 [inline]
lr : tcf_get_base_ptr include/net/pkt_cls.h:529 [inline]
lr : em_nbyte_match+0x294/0x350 net/sched/em_nbyte.c:43
sp : ffff800021307000
x29: ffff800021307000 x28: 0000000000000001 x27: 000000000000ffff
x26: 1fffe0001ba0223e x25: 1fffe000194769c0 x24: dfff800000000000
x23: 000000000000ffff x22: ffff0000dd0111f6 x21: ffff0000ca3b4e02
x20: ffff0000dd011140 x19: ffff0000ca3b4e00 x18: 0000000000000000
x17: ffff8000181f9000 x16: ffff8000082e7914 x15: 0000000000000002
x14: 0000000000000002 x13: 0000000000ff0100 x12: 0000000000080000
x11: 0000000000000666 x10: ffff80002785a000 x9 : ffff80001002fc2c
x8 : 0000000000000667 x7 : 0000000000000000 x6 : 000000000000003f
x5 : 0000000000000040 x4 : ffffffffffffffe0 x3 : 0000000000000020
x2 : 0000000000000000 x1 : 000000000000ffff x0 : 000000000000ffff
Call trace:
skb_transport_header include/linux/skbuff.h:2844 [inline]
tcf_get_base_ptr include/net/pkt_cls.h:529 [inline]
em_nbyte_match+0x294/0x350 net/sched/em_nbyte.c:43
tcf_em_match net/sched/ematch.c:494 [inline]
__tcf_em_tree_match+0x164/0x5bc net/sched/ematch.c:520
tcf_em_tree_match include/net/pkt_cls.h:502 [inline]
basic_classify+0x138/0x30c net/sched/cls_basic.c:48
__tcf_classify net/sched/cls_api.c:1569 [inline]
tcf_classify+0x1b8/0x9c8 net/sched/cls_api.c:1635
multiq_classify net/sched/sch_multiq.c:39 [inline]
multiq_enqueue+0x100/0x404 net/sched/sch_multiq.c:66
dev_qdisc_enqueue+0x5c/0x38c net/core/dev.c:3875
__dev_xmit_skb net/core/dev.c:3964 [inline]
__dev_queue_xmit+0xad0/0x309c net/core/dev.c:4312
dev_queue_xmit+0x24/0x34 include/linux/netdevice.h:3051
packet_snd net/packet/af_packet.c:3127 [inline]
packet_sendmsg+0x2f6c/0x3fac net/packet/af_packet.c:3158
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: 3199
hardirqs last enabled at (3197): [<ffff800008059424>] local_daif_restore arch/arm64/include/asm/daifflags.h:75 [inline]
hardirqs last enabled at (3197): [<ffff800008059424>] el0_svc_common+0x9c/0x258 arch/arm64/kernel/syscall.c:105
hardirqs last disabled at (3199): [<ffff80001195cc30>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (3192): [<ffff8000080309e0>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (3198): [<ffff80000fd41b10>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Dec 6, 2025, 6:58:27 AM (6 days ago) Dec 6
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 4791134e4aeb Linux 6.6.118
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=103e4992580000
kernel config: https://syzkaller.appspot.com/x/.config?x=12606d4b8832c7e4
dashboard link: https://syzkaller.appspot.com/bug?extid=aa4eb7c67913dbd88f56
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ca168ecfe887/disk-4791134e.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/adda86b1a76b/vmlinux-4791134e.xz
kernel image: https://storage.googleapis.com/syzbot-assets/cc2019969cb7/bzImage-4791134e.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+aa4eb7...@syzkaller.appspotmail.com

syzkaller0: entered promiscuous mode
syzkaller0: entered allmulticast mode
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5929 at include/linux/skbuff.h:2871 skb_transport_header include/linux/skbuff.h:2871 [inline]
WARNING: CPU: 1 PID: 5929 at include/linux/skbuff.h:2871 tcf_get_base_ptr include/net/pkt_cls.h:528 [inline]
WARNING: CPU: 1 PID: 5929 at include/linux/skbuff.h:2871 em_nbyte_match+0x2d0/0x3e0 net/sched/em_nbyte.c:43
Modules linked in:
CPU: 1 PID: 5929 Comm: syz.0.19 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:skb_transport_header include/linux/skbuff.h:2871 [inline]
RIP: 0010:tcf_get_base_ptr include/net/pkt_cls.h:528 [inline]
RIP: 0010:em_nbyte_match+0x2d0/0x3e0 net/sched/em_nbyte.c:43
Code: c0 eb 07 e8 02 e9 e2 f8 31 c0 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 ec e8 e2 f8 0f 0b e9 e5 fe ff ff e8 e0 e8 e2 f8 <0f> 0b e9 00 fe ff ff 89 d1 80 e1 07 fe c1 38 c1 0f 8c 7a fd ff ff
RSP: 0018:ffffc90004b27138 EFLAGS: 00010287
RAX: ffffffff88a2a7e0 RBX: ffff88801af553c0 RCX: 0000000000080000
RDX: ffffc9000d713000 RSI: 00000000000004e1 RDI: 00000000000004e2
RBP: 000000000000ffff R08: ffff8880256d1e00 R09: 0000000000000003
R10: 0000000000000002 R11: 0000000000000002 R12: dffffc0000000000
R13: 1ffff110035eaa8e R14: ffff888140afbcd0 R15: 1ffff1102815f79a
FS: 00007fa0f24936c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000002280 CR3: 00000000234e2000 CR4: 00000000003506e0
Call Trace:
<TASK>
tcf_em_match net/sched/ematch.c:494 [inline]
__tcf_em_tree_match+0x1a8/0x760 net/sched/ematch.c:520
tcf_em_tree_match include/net/pkt_cls.h:501 [inline]
basic_classify+0x115/0x2d0 net/sched/cls_basic.c:50
tc_classify include/net/tc_wrapper.h:227 [inline]
__tcf_classify net/sched/cls_api.c:1704 [inline]
tcf_classify+0x4c4/0xeb0 net/sched/cls_api.c:1788
multiq_classify net/sched/sch_multiq.c:39 [inline]
multiq_enqueue+0xfe/0x4b0 net/sched/sch_multiq.c:66
dev_qdisc_enqueue+0x48/0x220 net/core/dev.c:3824
__dev_xmit_skb net/core/dev.c:3913 [inline]
__dev_queue_xmit+0xe10/0x35a0 net/core/dev.c:4391
packet_snd net/packet/af_packet.c:3137 [inline]
packet_sendmsg+0x3b47/0x4d30 net/packet/af_packet.c:3169
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg net/socket.c:745 [inline]
____sys_sendmsg+0x5bf/0x950 net/socket.c:2595
___sys_sendmsg+0x220/0x290 net/socket.c:2649
__sys_sendmsg net/socket.c:2678 [inline]
__do_sys_sendmsg net/socket.c:2687 [inline]
__se_sys_sendmsg+0x1a5/0x270 net/socket.c:2685
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa0f158f749
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:00007fa0f2493038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fa0f17e5fa0 RCX: 00007fa0f158f749
RDX: 0000000000000004 RSI: 00002000000000c0 RDI: 0000000000000007
RBP: 00007fa0f1613f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa0f17e6038 R14: 00007fa0f17e5fa0 R15: 00007fff9a049fd8
</TASK>

syzbot

unread,
Dec 6, 2025, 7:47:25 AM (6 days ago) Dec 6
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: f6e38ae624cf Linux 6.1.158
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12f6bc1a580000
kernel config: https://syzkaller.appspot.com/x/.config?x=68aa5a3af1cb953a
dashboard link: https://syzkaller.appspot.com/bug?extid=1b33c093b885ba7c41ea
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
userspace arch: arm64
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14a94992580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12a94992580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/c1bd671a9def/disk-f6e38ae6.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/fa0af998ea40/vmlinux-f6e38ae6.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e5512d873524/Image-f6e38ae6.gz.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+1b33c0...@syzkaller.appspotmail.com

device syzkaller0 entered promiscuous mode
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4457 at include/linux/skbuff.h:2844 skb_transport_header include/linux/skbuff.h:2844 [inline]
WARNING: CPU: 1 PID: 4457 at include/linux/skbuff.h:2844 tcf_get_base_ptr include/net/pkt_cls.h:529 [inline]
WARNING: CPU: 1 PID: 4457 at include/linux/skbuff.h:2844 em_nbyte_match+0x294/0x350 net/sched/em_nbyte.c:43
Modules linked in:
CPU: 1 PID: 4457 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : skb_transport_header include/linux/skbuff.h:2844 [inline]
pc : tcf_get_base_ptr include/net/pkt_cls.h:529 [inline]
pc : em_nbyte_match+0x294/0x350 net/sched/em_nbyte.c:43
lr : skb_transport_header include/linux/skbuff.h:2844 [inline]
lr : tcf_get_base_ptr include/net/pkt_cls.h:529 [inline]
lr : em_nbyte_match+0x294/0x350 net/sched/em_nbyte.c:43
sp : ffff8000212f7000
x29: ffff8000212f7000 x28: 0000000000000001 x27: 000000000000ffff
x26: 1fffe0001abaeb2e x25: 1fffe00019e79140 x24: dfff800000000000
x23: 000000000000ffff x22: ffff0000d5d75976 x21: ffff0000cf3c8a02
x20: ffff0000d5d758c0 x19: ffff0000cf3c8a00 x18: 0000000000000000
x17: ffff8000181f9000 x16: ffff8000082e7914 x15: 0000000000000000
x14: 0000000000000002 x13: 0000000000ff0100 x12: 0000000000ff0100
x11: ff0080001002fc2c x10: 0000000000000000 x9 : ffff80001002fc2c
x8 : ffff0000d2ae3780 x7 : 0000000000000000 x6 : 000000000000003f
irq event stamp: 4353
hardirqs last enabled at (4351): [<ffff800011a48554>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
hardirqs last enabled at (4351): [<ffff800011a48554>] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194
hardirqs last disabled at (4353): [<ffff80001195cc30>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last enabled at (4330): [<ffff8000080309e0>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (4352): [<ffff80000fd41b10>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

syzbot

unread,
Dec 6, 2025, 8:12:22 AM (6 days ago) Dec 6
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 4791134e4aeb Linux 6.6.118
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14a90eb4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=12606d4b8832c7e4
dashboard link: https://syzkaller.appspot.com/bug?extid=aa4eb7c67913dbd88f56
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12a90eb4580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16a90eb4580000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ca168ecfe887/disk-4791134e.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/adda86b1a76b/vmlinux-4791134e.xz
kernel image: https://storage.googleapis.com/syzbot-assets/cc2019969cb7/bzImage-4791134e.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+aa4eb7...@syzkaller.appspotmail.com

syzkaller0: entered promiscuous mode
syzkaller0: entered allmulticast mode
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5949 at include/linux/skbuff.h:2871 skb_transport_header include/linux/skbuff.h:2871 [inline]
WARNING: CPU: 1 PID: 5949 at include/linux/skbuff.h:2871 tcf_get_base_ptr include/net/pkt_cls.h:528 [inline]
WARNING: CPU: 1 PID: 5949 at include/linux/skbuff.h:2871 em_nbyte_match+0x2d0/0x3e0 net/sched/em_nbyte.c:43
Modules linked in:
CPU: 1 PID: 5949 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:skb_transport_header include/linux/skbuff.h:2871 [inline]
RIP: 0010:tcf_get_base_ptr include/net/pkt_cls.h:528 [inline]
RIP: 0010:em_nbyte_match+0x2d0/0x3e0 net/sched/em_nbyte.c:43
Code: c0 eb 07 e8 02 e9 e2 f8 31 c0 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 ec e8 e2 f8 0f 0b e9 e5 fe ff ff e8 e0 e8 e2 f8 <0f> 0b e9 00 fe ff ff 89 d1 80 e1 07 fe c1 38 c1 0f 8c 7a fd ff ff
RSP: 0018:ffffc9000461f138 EFLAGS: 00010293
RAX: ffffffff88a2a7e0 RBX: ffff888025217dc0 RCX: ffff888029728000
RDX: 0000000000000000 RSI: 000000000000ffff RDI: 000000000000ffff
RBP: 000000000000ffff R08: ffff888029728000 R09: 0000000000000003
R10: 0000000000000002 R11: 0000000000000000 R12: dffffc0000000000
R13: 1ffff11004a42fce R14: ffff88802f748dc0 R15: 1ffff11005ee91b8
FS: 000055557dc13500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3164da1796 CR3: 00000000783fa000 CR4: 00000000003506e0
RIP: 0033:0x7f0d1bd8f749
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:00007ffcb80bb988 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f0d1bfe5fa0 RCX: 00007f0d1bd8f749
RDX: 0000000000000004 RSI: 00002000000000c0 RDI: 0000000000000007
RBP: 00007f0d1be13f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0d1bfe5fa0 R14: 00007f0d1bfe5fa0 R15: 0000000000000003
</TASK>
Reply all
Reply to author
Forward
0 new messages