[v5.15] general protection fault in arp_create

5 views
Skip to first unread message

syzbot

unread,
Sep 18, 2024, 1:27:24 AM9/18/24
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3a5928702e71 Linux 5.15.167
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1600c69f980000
kernel config: https://syzkaller.appspot.com/x/.config?x=4d3fd5cca89ae935
dashboard link: https://syzkaller.appspot.com/bug?extid=ed5946146a8f051bc957
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ef5025f3d708/disk-3a592870.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/776fbdad3aa8/vmlinux-3a592870.xz
kernel image: https://storage.googleapis.com/syzbot-assets/79541db5bd16/bzImage-3a592870.xz

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

general protection fault, probably for non-canonical address 0xdffffc000000001a: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000000d0-0x00000000000000d7]
CPU: 0 PID: 5173 Comm: kworker/u4:16 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Workqueue: bat_events batadv_bla_periodic_work
RIP: 0010:arp_create+0x42/0x920 net/ipv4/arp.c:532
Code: 49 89 ce 89 54 24 3c 89 74 24 30 89 fb 49 bd 00 00 00 00 00 fc ff df e8 2c 5a 9c f8 49 8d be d6 00 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 ed 05 00 00 45 0f b7 a6 d6 00 00 00 49
RSP: 0018:ffffc900032279b0 EFLAGS: 00010203
RAX: 000000000000001a RBX: 0000000000000002 RCX: ffff88805ee01dc0
RDX: 0000000000000000 RSI: 0000000000000806 RDI: 00000000000000d6
RBP: ffffc90003227b30 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000002
R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd044889000 CR3: 000000002008a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
batadv_bla_send_claim+0x163/0xe30 net/batman-adv/bridge_loop_avoidance.c:360
batadv_bla_send_announce net/batman-adv/bridge_loop_avoidance.c:674 [inline]
batadv_bla_periodic_work+0x5b6/0xac0 net/batman-adv/bridge_loop_avoidance.c:1480
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
kthread+0x3f6/0x4f0 kernel/kthread.c:334
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
</TASK>
Modules linked in:
---[ end trace 76dacace68b559bb ]---
RIP: 0010:arp_create+0x42/0x920 net/ipv4/arp.c:532
Code: 49 89 ce 89 54 24 3c 89 74 24 30 89 fb 49 bd 00 00 00 00 00 fc ff df e8 2c 5a 9c f8 49 8d be d6 00 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 ed 05 00 00 45 0f b7 a6 d6 00 00 00 49
RSP: 0018:ffffc900032279b0 EFLAGS: 00010203
RAX: 000000000000001a RBX: 0000000000000002 RCX: ffff88805ee01dc0
RDX: 0000000000000000 RSI: 0000000000000806 RDI: 00000000000000d6
RBP: ffffc90003227b30 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: dffffc0000000001 R12: 0000000000000002
R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffde176bff8 CR3: 0000000073c8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 49 89 ce mov %rcx,%r14
3: 89 54 24 3c mov %edx,0x3c(%rsp)
7: 89 74 24 30 mov %esi,0x30(%rsp)
b: 89 fb mov %edi,%ebx
d: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13
14: fc ff df
17: e8 2c 5a 9c f8 call 0xf89c5a48
1c: 49 8d be d6 00 00 00 lea 0xd6(%r14),%rdi
23: 48 89 f8 mov %rdi,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax <-- trapping instruction
2f: 84 c0 test %al,%al
31: 0f 85 ed 05 00 00 jne 0x624
37: 45 0f b7 a6 d6 00 00 movzwl 0xd6(%r14),%r12d
3e: 00
3f: 49 rex.WB


---
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 27, 2024, 12:27:15 AM12/27/24
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages