From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo2-f8.google.com (mail-oo2-f8.google.com [74.125.231.136]) (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 39A8A2741B6 for ; Tue, 8 Sep 2026 01:22:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.231.136 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788830548; cv=none; b=lAbRBakr9TQ/RwyRwfgxSqUyHMmSif3bLFb9ty5w7DglGQgiarr2eVydEOdfkxKAXfsh3NkK7PBAAc2djetHqliz9/1P47DJ7OMWT3i9ztFvs0do7BTR6RC9Mdp0SZ3ikqYRagrVzAAuNI4Y0W68Crs85gG1IdnjXqW9LpNdX3c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788830548; c=relaxed/simple; bh=k2M/NHXxyH9UZlUco2xAjFejJQzTmPuFI6iGzr59XR4=; h=MIME-Version:Date:Message-ID:Subject:From:To:Content-Type; b=U84+TUyJMDJn8tzUmAAXPkRHz3JwFgKzcpo7RUaICpxPQS9t1spXR69a40GN2EkNVrrrRXkKdiyVo6J02lcQi948YjLnmUg5QEF6s1W3+/uhfcU7ypm/CZJM+sir2rQE8VzTZ5zYgjd3JyiNeMDaV3NABE3pK9FUhisBHBDxGqU= 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=74.125.231.136 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-oo2-f8.google.com with SMTP id 006d021491bc7-6b12d30261cso1052499eaf.0 for ; Mon, 07 Sep 2026 18:22:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788830544; x=1789435344; h=content-type:to:from:subject:message-id:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=ZCij2SvlUZ0ciBIF3n1U915PLtoGJOJG9GMDx+Fo66w=; b=lni95Uidr03fhf/VKbgpn228bGIiILPLwGdvtcuKUUX0QH93bH44yOk8k42hiBr1lf sAsJeapQf6AAv5KEJOHhP1X8TGgmjs4oH5G+1aNX7LIgmD7JWN/3ZPgTpSPq6/TSEoBv DSGrmGMW6piAeKf3qpkS2KNV0uZDA/f+DhUOWd5CNXQqiQwaUm0Z/ebH1VSjNcVCKcK0 0mU/3UhJn+tBzrPZyrmMedT/cejmCV1pLQ7ckKc4YcbPMoDdxXJnV1VLvJU56vEPw3yq Mktp7bbjygZPnpgcAepvoUze26/CS5XGU0HtVdMCnl6g5JTuk92R2LdIB1vuDve8ud89 m/2A== X-Forwarded-Encrypted: i=1; AKwUvByfgUeeZlnfVHRuN5anhT8QljZKbS2B6pXKUR1ZOI3WlIDCkpuqAYI8TGm2WBzroJSk5AHQJ2IKacPXnh0=@vger.kernel.org X-Gm-Message-State: AFuF++k6HmSoE4t1UwpiyfS8NMZJFsT9jswCm9l1UWAFSpyMf9o25iUD WOIGBpf/1qxSsH/32mhGFcKfkqLQ/oYLmj+LIg4rNi1IYFigIGThxgO61Z3AV6BcrV/P3H6zqkK FvLx1ck7mjl75RNacZO4L6YriPcobYqDF24bLdhO6ZHgy0rpOJK9XX9AMdfk= 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:221c:b0:6b7:46fc:1ca with SMTP id 006d021491bc7-6b746fc0324mr13647657eaf.41.1788830544096; Mon, 07 Sep 2026 18:22:24 -0700 (PDT) Date: Mon, 07 Sep 2026 18:22:24 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6a9f6350.6e6c5f9e.28f11f.0005.GAE@google.com> Subject: [syzbot] [mm?] WARNING in swap_put_entries_direct From: syzbot To: akpm@linux-foundation.org, baohua@kernel.org, baoquan.he@linux.dev, chrisl@kernel.org, kasong@tencent.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, nphamcs@gmail.com, shikemeng@huaweicloud.com, syzkaller-bugs@googlegroups.com, youngjun.park@lge.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 8ab1afb2eb24 Merge tag 'for-7.3/dm-fixes' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1034a125580000 kernel config: https://syzkaller.appspot.com/x/.config?x=85bc5cc2fc7394d9 dashboard link: https://syzkaller.appspot.com/bug?extid=23b25ba3c6bf971f9c57 compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 userspace arch: i386 Unfortunately, I don't have any reproducer for this issue yet. Downloadable assets: disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-8ab1afb2.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/4767b33b6704/vmlinux-8ab1afb2.xz kernel image: https://storage.googleapis.com/syzbot-assets/aa0bdf390bbc/bzImage-8ab1afb2.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+23b25ba3c6bf971f9c57@syzkaller.appspotmail.com get_swap_device: Bad swap file entry 7c00000000000002 ------------[ cut here ]------------ !si WARNING: mm/swapfile.c:2130 at swap_put_entries_direct+0x17d/0x1b0 mm/swapfile.c:2130, CPU#1: udevd/13167 Modules linked in: CPU: 1 UID: 0 PID: 13167 Comm: udevd Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:swap_put_entries_direct+0x17d/0x1b0 mm/swapfile.c:2130 Code: 00 00 00 00 48 8b 44 24 58 65 48 2b 05 64 fa 15 12 75 3b 48 83 c4 60 5b 5d 41 5c 41 5d 41 5e c3 cc cc cc cc e8 74 a6 95 ff 90 <0f> 0b 90 eb be e8 69 a6 95 ff 90 0f 0b 90 eb a6 e8 5e bf 07 00 e9 RSP: 0018:ffffc90004d9f628 EFLAGS: 00010293 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: ffff888049448000 RSI: ffffffff827595bc RDI: fffff520009b3ea4 RBP: 0000000000000003 R08: 0000000000000007 R09: 0000000000000000 R10: 8000000000000000 R11: 0000000000000001 R12: 0000000000000002 R13: 0000000000000000 R14: 1ffff920009b3ec5 R15: ffffc90004d9f6e0 FS: 00007fcd01ba2880(0000) GS:ffff888096a67000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000f740d2a8 CR3: 00000000703ea000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: shmem_free_swap+0x1f4/0x200 mm/shmem.c:996 shmem_undo_range+0x3fd/0x1570 mm/shmem.c:1151 shmem_truncate_range mm/shmem.c:1289 [inline] shmem_evict_inode+0x3b1/0xca0 mm/shmem.c:1420 evict+0x3c2/0xad0 fs/inode.c:822 iput_final fs/inode.c:2015 [inline] iput.part.0+0x989/0x1050 fs/inode.c:2064 iput+0x35/0x40 fs/inode.c:2030 filename_unlinkat+0x466/0x730 fs/namei.c:5723 __do_sys_unlink fs/namei.c:5754 [inline] __se_sys_unlink fs/namei.c:5751 [inline] __x64_sys_unlink+0x46/0x70 fs/namei.c:5751 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x121/0x770 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcd01515937 Code: 00 00 e9 a9 fd ff ff 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 5f 00 00 00 0f 05 c3 0f 1f 84 00 00 00 00 00 b8 57 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 91 b4 0d 00 f7 d8 64 89 02 b8 RSP: 002b:00007ffc4214fcf8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007ffc4214fd00 RCX: 00007fcd01515937 RDX: 0000000000000000 RSI: 00000000000003ed RDI: 00007ffc4214fd00 RBP: 000055f191cfee00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 000000000aba9500 R13: 0000000003938700 R14: 000055f18779e100 R15: 000055f18779e140 --- 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@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