From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f79.google.com (mail-ot1-f79.google.com [209.85.210.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 881263161B0 for ; Mon, 8 Dec 2025 07:18:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.79 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765178309; cv=none; b=IHOyV1psP4sqAJ6XVE0Qm1WilFiUbvKHabUhK8OTOSNpLL/rG9ts2E6/oskuQyBkjNa+IevkMHfUcxj3fsx76b2aZVn3/3N9XmvGqDLEgTSQ4YdC3CQFGuF94WDfLJoiOuH2lSvYX6x4jf6Qf62ECrD+q/WNRkT1IwQg/QqHw/U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765178309; c=relaxed/simple; bh=O1XREZyQJbhdOQ31uep/Ru7h8BQNJww7hx0caDOiD18=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=RLVuY+k4bf8FcrE/bBc9qej4goYi18brZJczKzBZvrRVxXdGaG48U8p2JydMv63qTcNbasT9aTRz0Icdw2VQIhR01sqmC32kpSXUTEY/o6s3pjI13crFgiJhd5iEpkhaWw+YwBhCifQZs1d8l8XDUfpxMrOLjv1ilXouLpL/Z1o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.210.79 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-ot1-f79.google.com with SMTP id 46e09a7af769-7c673f5f4b6so10609547a34.1 for ; Sun, 07 Dec 2025 23:18:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765178306; x=1765783106; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jIinOqVwgE0m1B+fJuAGYu794SpoG6g4HIkbNJ3Np30=; b=L5Wega6UPs9t9+EZpzS1UVjrhtqyrQouZ5/2gFCooZ0L7LnPohnXEuRQiXkSDq1ZlA Dks/mah9SupWVlCyYNGneSDdEzx/ApUGmb0Rz5X8hfMGii/7wT9ZQAytn4R/OZOjfrw0 9SF4R/qwpFV9/qho0xEXKdriUrDlvFP9/itqxoyPngBDiqZBpbDbO57jUNCJ8AnOv9UY g3JTNAEXZt9IxPfDW4fQtu///U+Qwybdz952ZqO1SjWWLNnll+VGtV4IRCDxC5HnBEYF 9BtWcP4hUhA55K485Ys/GG5EYnR+A3s++sZ6GRG8poyWU1ZXzmQlqarzQ9cDyv0+Y/On Fs5w== X-Forwarded-Encrypted: i=1; AJvYcCUNqMoiENZ0sRmlzefen1opaENop5XFV+GKBtkzCaikU8vw6Oz7FZGYioxe05g+ANrwuHQ25r72ElCQu8g=@vger.kernel.org X-Gm-Message-State: AOJu0YzXFKL7mq9+F6ybwmShzp/YP3LQzfwDh2ye8aTnSEvsml1ZoiVC U4gZGJGgu2W+rQa9NZpMPmMM/Tnn3949sVbbFt1nfYY3M7NSDCTBSFhGJ4bQZ3ewxT2sEsgZBMW XzYIM/F/DflFjcvoASa+xeg0yIzR5IyTTp2Kyp3blHc9nGvUUVF/OpTsiWFU= X-Google-Smtp-Source: AGHT+IFAlIBsrcf7U1J/QwXBwMnChmQs2/uEkmL81SP7lVa+9RWb5xKi/Wlk0rxybf3mTO4G32lBWzqGMob2ZPELX+iiniMF1ERx Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6820:168a:b0:659:9a49:8e9a with SMTP id 006d021491bc7-6599a8c7cc1mr2600412eaf.30.1765178306575; Sun, 07 Dec 2025 23:18:26 -0800 (PST) Date: Sun, 07 Dec 2025 23:18:26 -0800 In-Reply-To: <690255ff.050a0220.32483.0218.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69367bc2.a70a0220.38f243.008c.GAE@google.com> Subject: Re: [syzbot] [net?] kernel BUG in filemap_fault (3) From: syzbot To: akpm@linux-foundation.org, davem@davemloft.net, edumazet@google.com, horms@kernel.org, kuba@kernel.org, kuniyu@google.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com, willemb@google.com, willy@infradead.org Content-Type: text/plain; charset="UTF-8" syzbot has found a reproducer for the following issue on: HEAD commit: 67a454e6b1c6 Merge tag 'memblock-6.19-rc1' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=125ee992580000 kernel config: https://syzkaller.appspot.com/x/.config?x=675cacd7a6e90ec3 dashboard link: https://syzkaller.appspot.com/bug?extid=85cfa48c1a69a20ba5ed 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=11988a1a580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=115ee992580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/0720a50dee77/disk-67a454e6.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/69f7900759fa/vmlinux-67a454e6.xz kernel image: https://storage.googleapis.com/syzbot-assets/2f0fa3e38fe5/bzImage-67a454e6.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+85cfa48c1a69a20ba5ed@syzkaller.appspotmail.com exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x6c5/0x2310 kernel/exit.c:971 do_group_exit+0x21c/0x2d0 kernel/exit.c:1112 get_signal+0x1285/0x1340 kernel/signal.c:3034 arch_do_signal_or_restart+0x9a/0x7a0 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:41 [inline] exit_to_user_mode_loop+0x87/0x4f0 kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline] do_syscall_64+0x2e3/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f ------------[ cut here ]------------ kernel BUG at mm/filemap.c:3579! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 0 UID: 0 PID: 7393 Comm: syz.1.310 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:filemap_fault+0x1215/0x1290 mm/filemap.c:3579 Code: 38 c1 0f 8c 8e fc ff ff 4c 89 e7 e8 b5 f2 2c 00 e9 81 fc ff ff e8 1b a1 c6 ff 48 89 df 48 c7 c6 80 a9 74 8b e8 dc f7 2c ff 90 <0f> 0b e8 04 a1 c6 ff 48 8b 3c 24 48 c7 c6 00 b0 74 8b e8 c4 f7 2c RSP: 0018:ffffc9000c3d7280 EFLAGS: 00010246 RAX: c461c012ec26ac00 RBX: ffffea0001682000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8d7867c7 RDI: 00000000ffffffff RBP: ffffc9000c3d73b8 R08: ffffffff8f817677 R09: 1ffffffff1f02ece R10: dffffc0000000000 R11: fffffbfff1f02ecf R12: dffffc0000000000 R13: 1ffffd40002d0401 R14: ffffea0001682018 R15: ffffea0001682008 FS: 00007faedeecb6c0(0000) GS:ffff888125e44000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc2f31bef98 CR3: 000000007da76000 CR4: 00000000003526f0 Call Trace: __do_fault+0x138/0x390 mm/memory.c:5320 do_shared_fault mm/memory.c:5819 [inline] do_fault mm/memory.c:5893 [inline] do_pte_missing+0x6ad/0x3330 mm/memory.c:4401 handle_pte_fault mm/memory.c:6273 [inline] __handle_mm_fault mm/memory.c:6411 [inline] handle_mm_fault+0x1b26/0x32b0 mm/memory.c:6580 do_user_addr_fault+0x764/0x1380 arch/x86/mm/fault.c:1387 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x82/0x100 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0010:__put_user_nocheck_4+0x3/0x10 arch/x86/lib/putuser.S:104 Code: d9 0f 01 cb 89 01 31 c9 0f 01 ca c3 cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 01 cb <89> 01 31 c9 0f 01 ca e9 c1 75 03 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc9000c3d78b8 EFLAGS: 00050202 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000020000005f7b0 RDX: ffff88801eb45b80 RSI: 0000000000000002 RDI: 00000000ffffffff RBP: ffffc9000c3d7a30 R08: ffffc9000c3d7667 R09: 1ffff9200187aecc R10: dffffc0000000000 R11: fffff5200187aecd R12: 0000000000000002 R13: dffffc0000000000 R14: 0000000000000000 R15: 000020000005f780 ____sys_recvmsg+0x2ab/0x460 net/socket.c:2825 ___sys_recvmsg+0x1b5/0x510 net/socket.c:2854 do_recvmmsg+0x307/0x770 net/socket.c:2949 __sys_recvmmsg net/socket.c:3023 [inline] __do_sys_recvmmsg net/socket.c:3046 [inline] __se_sys_recvmmsg net/socket.c:3039 [inline] __x64_sys_recvmmsg+0x190/0x240 net/socket.c:3039 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7faeddf8f749 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:00007faedeecb038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007faede1e6090 RCX: 00007faeddf8f749 RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000003 RBP: 00007faede013f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007faede1e6128 R14: 00007faede1e6090 R15: 00007ffe1a004ab8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:filemap_fault+0x1215/0x1290 mm/filemap.c:3579 Code: 38 c1 0f 8c 8e fc ff ff 4c 89 e7 e8 b5 f2 2c 00 e9 81 fc ff ff e8 1b a1 c6 ff 48 89 df 48 c7 c6 80 a9 74 8b e8 dc f7 2c ff 90 <0f> 0b e8 04 a1 c6 ff 48 8b 3c 24 48 c7 c6 00 b0 74 8b e8 c4 f7 2c RSP: 0018:ffffc9000c3d7280 EFLAGS: 00010246 RAX: c461c012ec26ac00 RBX: ffffea0001682000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8d7867c7 RDI: 00000000ffffffff RBP: ffffc9000c3d73b8 R08: ffffffff8f817677 R09: 1ffffffff1f02ece R10: dffffc0000000000 R11: fffffbfff1f02ecf R12: dffffc0000000000 R13: 1ffffd40002d0401 R14: ffffea0001682018 R15: ffffea0001682008 FS: 00007faedeecb6c0(0000) GS:ffff888125f44000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd80c2bd48 CR3: 000000007da76000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: d9 0f (bad) (%rdi) 2: 01 cb add %ecx,%ebx 4: 89 01 mov %eax,(%rcx) 6: 31 c9 xor %ecx,%ecx 8: 0f 01 ca clac b: c3 ret c: cc int3 d: cc int3 e: cc int3 f: cc int3 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: 90 nop 26: 90 nop 27: 0f 01 cb stac * 2a: 89 01 mov %eax,(%rcx) <-- trapping instruction 2c: 31 c9 xor %ecx,%ecx 2e: 0f 01 ca clac 31: e9 c1 75 03 00 jmp 0x375f7 36: 90 nop 37: 90 nop 38: 90 nop 39: 90 nop 3a: 90 nop 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop 3f: 90 nop --- 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.