lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <6819d6fb.050a0220.37980e.0390.GAE@google.com>
Date: Tue, 06 May 2025 02:31:39 -0700
From: syzbot <syzbot+62d432efb04ee8ce0bb4@...kaller.appspotmail.com>
To: davem@...emloft.net, dsahern@...nel.org, edumazet@...gle.com, 
	horms@...nel.org, kuba@...nel.org, linux-kernel@...r.kernel.org, 
	netdev@...r.kernel.org, pabeni@...hat.com, syzkaller-bugs@...glegroups.com
Subject: [syzbot] [net?] general protection fault in __ip_mc_dec_group

Hello,

syzbot found the following issue on:

HEAD commit:    4397684a292a virtio-net: free xsk_buffs on error in virtne..
git tree:       net
console output: https://syzkaller.appspot.com/x/log.txt?x=17bab0f4580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=a9a25b7a36123454
dashboard link: https://syzkaller.appspot.com/bug?extid=62d432efb04ee8ce0bb4
compiler:       Debian clang version 20.1.2 (++20250402124445+58df0ef89dd6-1~exp1~20250402004600.97), Debian LLD 20.1.2

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/f29ea34ba236/disk-4397684a.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/1a9b70451d16/vmlinux-4397684a.xz
kernel image: https://storage.googleapis.com/syzbot-assets/3c20ac38738f/bzImage-4397684a.xz

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

bridge0: port 2(bridge_slave_1) entered disabled state
bridge_slave_0: left allmulticast mode
bridge_slave_0: left promiscuous mode
bridge0: port 1(bridge_slave_0) entered disabled state
Oops: general protection fault, probably for non-canonical address 0xdffffc001fffe1ac: 0000 [#1] SMP KASAN PTI
KASAN: probably user-memory-access in range [0x00000000ffff0d60-0x00000000ffff0d67]
CPU: 1 UID: 0 PID: 1106 Comm: kworker/u8:7 Not tainted 6.15.0-rc4-syzkaller-00152-g4397684a292a #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025
Workqueue: netns cleanup_net
RIP: 0010:ip_mc_hash_remove net/ipv4/igmp.c:1431 [inline]
RIP: 0010:__ip_mc_dec_group+0x2fd/0x690 net/ipv4/igmp.c:1774
Code: 39 e5 de f7 c6 05 80 e2 87 05 01 48 c7 c7 c0 88 7a 8c be 97 05 00 00 48 c7 c2 40 89 7a 8c e8 4a 5d bd f7 4c 89 e3 48 c1 eb 03 <42> 80 3c 2b 00 74 08 4c 89 e7 e8 04 da 40 f8 4d 8b 2c 24 4d 39 f5
RSP: 0018:ffffc90003c0f5f8 EFLAGS: 00010206
RAX: ffffffff89e0dade RBX: 000000001fffe1ac RCX: ffff8880268a8000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff888029438420 R08: ffffffff8f2f41e7 R09: 1ffffffff1e5e83c
R10: dffffc0000000000 R11: fffffbfff1e5e83d R12: 00000000ffff0d60
R13: dffffc0000000000 R14: ffff88806a165c00 R15: 1ffff11005287084
FS:  0000000000000000(0000) GS:ffff8881261cc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2cae58 CR3: 000000007a838000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 inetdev_event+0x2a7/0x15b0 net/ipv4/devinet.c:1642
 notifier_call_chain+0x1b3/0x3e0 kernel/notifier.c:85
 call_netdevice_notifiers_extack net/core/dev.c:2214 [inline]
 call_netdevice_notifiers net/core/dev.c:2228 [inline]
 dev_close_many+0x29c/0x410 net/core/dev.c:1731
 unregister_netdevice_many_notify+0x834/0x2330 net/core/dev.c:11952
 cleanup_net+0x6a3/0xbd0 net/core/net_namespace.c:649
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
 kthread+0x70e/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ip_mc_hash_remove net/ipv4/igmp.c:1431 [inline]
RIP: 0010:__ip_mc_dec_group+0x2fd/0x690 net/ipv4/igmp.c:1774
Code: 39 e5 de f7 c6 05 80 e2 87 05 01 48 c7 c7 c0 88 7a 8c be 97 05 00 00 48 c7 c2 40 89 7a 8c e8 4a 5d bd f7 4c 89 e3 48 c1 eb 03 <42> 80 3c 2b 00 74 08 4c 89 e7 e8 04 da 40 f8 4d 8b 2c 24 4d 39 f5
RSP: 0018:ffffc90003c0f5f8 EFLAGS: 00010206
RAX: ffffffff89e0dade RBX: 000000001fffe1ac RCX: ffff8880268a8000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffff888029438420 R08: ffffffff8f2f41e7 R09: 1ffffffff1e5e83c
R10: dffffc0000000000 R11: fffffbfff1e5e83d R12: 00000000ffff0d60
R13: dffffc0000000000 R14: ffff88806a165c00 R15: 1ffff11005287084
FS:  0000000000000000(0000) GS:ffff8881260cc000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f228f6e7d60 CR3: 000000000dd36000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	39 e5                	cmp    %esp,%ebp
   2:	de f7                	fdivp  %st,%st(7)
   4:	c6 05 80 e2 87 05 01 	movb   $0x1,0x587e280(%rip)        # 0x587e28b
   b:	48 c7 c7 c0 88 7a 8c 	mov    $0xffffffff8c7a88c0,%rdi
  12:	be 97 05 00 00       	mov    $0x597,%esi
  17:	48 c7 c2 40 89 7a 8c 	mov    $0xffffffff8c7a8940,%rdx
  1e:	e8 4a 5d bd f7       	call   0xf7bd5d6d
  23:	4c 89 e3             	mov    %r12,%rbx
  26:	48 c1 eb 03          	shr    $0x3,%rbx
* 2a:	42 80 3c 2b 00       	cmpb   $0x0,(%rbx,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 e7             	mov    %r12,%rdi
  34:	e8 04 da 40 f8       	call   0xf840da3d
  39:	4d 8b 2c 24          	mov    (%r12),%r13
  3d:	4d 39 f5             	cmp    %r14,%r13


---
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 syzkaller@...glegroups.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ