Hello,
syzbot found the following issue on:
HEAD commit: 2f693b607545 Linux 5.15.187
git tree: linux-5.15.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=141ec0f0580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=c91c2d91ea1a4388
dashboard link:
https://syzkaller.appspot.com/bug?extid=268bdb68817bd29484c2
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/7769e50dbae7/disk-2f693b60.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/ca8639ca4ec3/vmlinux-2f693b60.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/34e626fbb90f/bzImage-2f693b60.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+268bdb...@syzkaller.appspotmail.com
general protection fault, probably for non-canonical address 0xdffffc000000000d: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f]
CPU: 0 PID: 7523 Comm: syz.0.965 Not tainted 5.15.187-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:qfq_deactivate_class+0x2e/0x1290 net/sched/sch_qfq.c:354
Code: 56 41 55 41 54 53 48 83 ec 60 49 89 f6 49 89 fd 48 bd 00 00 00 00 00 fc ff df e8 1d 51 73 f9 49 8d 7e 68 48 89 f8 48 c1 e8 03 <80> 3c 28 00 74 05 e8 07 ca b8 f9 49 8b 5e 68 4d 8d 7e 58 4c 89 ff
RSP: 0018:ffffc900030eeed8 EFLAGS: 00010202
RAX: 000000000000000d RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc90015402000 RSI: 00000000000002cb RDI: 0000000000000068
RBP: dffffc0000000000 R08: ffff88802b519dc0 R09: 0000000000000002
R10: 00000000ffffffff R11: 0000000000000002 R12: ffff888061dc0000
R13: ffff888061dc02c0 R14: 0000000000000000 R15: ffffffff8b02b120
FS: 00007fb9d70aa6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb9d92df394 CR3: 0000000061d16000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
qdisc_tree_reduce_backlog+0x25f/0x430 net/sched/sch_api.c:799
codel_change+0x8d1/0xc00 net/sched/sch_codel.c:183
codel_init+0x190/0x330 net/sched/sch_codel.c:202
qdisc_create+0x7bd/0x1170 net/sched/sch_api.c:1260
tc_modify_qdisc+0xaad/0x16c0 net/sched/sch_api.c:-1
rtnetlink_rcv_msg+0x9b9/0xe60 net/core/rtnetlink.c:5650
netlink_rcv_skb+0x1e0/0x430 net/netlink/af_netlink.c:2489
netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
netlink_unicast+0x77c/0x920 net/netlink/af_netlink.c:1337
netlink_sendmsg+0x8ab/0xbc0 net/netlink/af_netlink.c:1905
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg net/socket.c:716 [inline]
____sys_sendmsg+0x5a2/0x8c0 net/socket.c:2436
___sys_sendmsg+0x1f0/0x260 net/socket.c:2490
__sys_sendmsg net/socket.c:2519 [inline]
__do_sys_sendmsg net/socket.c:2528 [inline]
__se_sys_sendmsg+0x190/0x250 net/socket.c:2526
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fb9d9242929
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:00007fb9d70aa038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fb9d9469fa0 RCX: 00007fb9d9242929
RDX: 000000000000c010 RSI: 0000200000000280 RDI: 0000000000000003
RBP: 00007fb9d92c4b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fb9d9469fa0 R15: 00007fff8a4bdcf8
</TASK>
Modules linked in:
---[ end trace d6b6b27b31db5c5f ]---
RIP: 0010:qfq_deactivate_class+0x2e/0x1290 net/sched/sch_qfq.c:354
Code: 56 41 55 41 54 53 48 83 ec 60 49 89 f6 49 89 fd 48 bd 00 00 00 00 00 fc ff df e8 1d 51 73 f9 49 8d 7e 68 48 89 f8 48 c1 e8 03 <80> 3c 28 00 74 05 e8 07 ca b8 f9 49 8b 5e 68 4d 8d 7e 58 4c 89 ff
RSP: 0018:ffffc900030eeed8 EFLAGS: 00010202
RAX: 000000000000000d RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc90015402000 RSI: 00000000000002cb RDI: 0000000000000068
RBP: dffffc0000000000 R08: ffff88802b519dc0 R09: 0000000000000002
R10: 00000000ffffffff R11: 0000000000000002 R12: ffff888061dc0000
R13: ffff888061dc02c0 R14: 0000000000000000 R15: ffffffff8b02b120
FS: 00007fb9d70aa6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb9d92df394 CR3: 0000000061d16000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 56 push %rsi
1: 41 55 push %r13
3: 41 54 push %r12
5: 53 push %rbx
6: 48 83 ec 60 sub $0x60,%rsp
a: 49 89 f6 mov %rsi,%r14
d: 49 89 fd mov %rdi,%r13
10: 48 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%rbp
17: fc ff df
1a: e8 1d 51 73 f9 call 0xf973513c
1f: 49 8d 7e 68 lea 0x68(%r14),%rdi
23: 48 89 f8 mov %rdi,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction
2e: 74 05 je 0x35
30: e8 07 ca b8 f9 call 0xf9b8ca3c
35: 49 8b 5e 68 mov 0x68(%r14),%rbx
39: 4d 8d 7e 58 lea 0x58(%r14),%r15
3d: 4c 89 ff mov %r15,%rdi
---
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