mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shivank Garg <shivankg@amd.com>
To: syzbot <syzbot+8bb6fd945af4e0ad9299@syzkaller.appspotmail.com>,
	akpm@linux-foundation.org, apopple@nvidia.com, david@redhat.com,
	donettom@linux.ibm.com, jane.chu@oracle.com,
	jfs-discussion@lists.sourceforge.net,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	shaggy@kernel.org, syzkaller-bugs@googlegroups.com,
	wangkefeng.wang@huawei.com, willy@infradead.org, ziy@nvidia.com
Subject: Re: [syzbot] [mm?] WARNING in move_to_new_folio
Date: Thu, 17 Apr 2025 14:36:50 +0530	[thread overview]
Message-ID: <98f897e2-9132-44e6-96bc-ba6e19442e3b@amd.com> (raw)
In-Reply-To: <6800c00a.050a0220.5cdb3.000f.GAE@google.com>



On 4/17/2025 2:17 PM, syzbot wrote:
> Hello,
> 
> syzbot tried to test the proposed patch but the build/boot failed:
> 
...
> [    2.455556][    T9] ------------[ cut here ]------------
> [    2.455556][    T9] WARNING: CPU: 0 PID: 9 at arch/x86/mm/tlb.c:919 switch_mm_irqs_off+0x686/0x810
> [    2.455556][    T9] Modules linked in:
> [    2.455556][    T9] CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 Not tainted 6.15.0-rc2-next-20250416-syzkaller-04531-g07246f14ea38 #0 PREEMPT(full) 
> [    2.455556][    T9] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
> [    2.455556][    T9] Workqueue: events once_deferred
> [    2.455556][    T9] RIP: 0010:switch_mm_irqs_off+0x686/0x810
> [    2.455556][    T9] Code: 90 41 f7 c5 00 08 00 00 0f 84 ee fa ff ff 90 0f 0b 90 e9 e5 fa ff ff 90 0f 0b 90 e9 76 fe ff ff 90 0f 0b 90 e9 cc fb ff ff 90 <0f> 0b 90 4d 39 f4 0f 85 eb fb ff ff e9 31 fc ff ff 90 0f 0b 90 e9
> [    2.455556][    T9] RSP: 0000:ffffc900000e7680 EFLAGS: 00010056
> [    2.455556][    T9] RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff816ffd4d
> [    2.455556][    T9] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88801b070940
> [    2.455556][    T9] RBP: ffffc900000e7750 R08: ffff88801b070947 R09: 1ffff1100360e128
> [    2.455556][    T9] R10: dffffc0000000000 R11: ffffed100360e129 R12: ffffffff8ee492c0
> [    2.455556][    T9] R13: ffff88801b070940 R14: ffffffff8ee492c0 R15: 0000000000000000
> [    2.455556][    T9] FS:  0000000000000000(0000) GS:ffff888124f9c000(0000) knlGS:0000000000000000
> [    2.455556][    T9] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [    2.455556][    T9] CR2: ffff88823ffff000 CR3: 000000001b078000 CR4: 00000000003506f0
> [    2.455556][    T9] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> [    2.455556][    T9] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> [    2.455556][    T9] Call Trace:
> [    2.455556][    T9]  <TASK>
> [    2.455556][    T9]  ? __pfx_switch_mm_irqs_off+0x10/0x10
> [    2.455556][    T9]  ? __text_poke+0x6bb/0xb40
> [    2.455556][    T9]  ? kasan_check_range+0x28f/0x2a0
> [    2.455556][    T9]  ? serial8250_isa_init_ports+0x6b/0x110
> [    2.455556][    T9]  unuse_temporary_mm+0x9f/0x100
> [    2.455556][    T9]  __text_poke+0x7b6/0xb40
> [    2.455556][    T9]  ? serial8250_isa_init_ports+0x6b/0x110
> [    2.455556][    T9]  ? __pfx_text_poke_memcpy+0x10/0x10
> [    2.455556][    T9]  ? __pfx___text_poke+0x10/0x10
> [    2.455556][    T9]  ? __pfx___mutex_trylock_common+0x10/0x10
> [    2.455556][    T9]  ? __pfx___might_resched+0x10/0x10
> [    2.455556][    T9]  ? rcu_is_watching+0x15/0xb0
> [    2.455556][    T9]  smp_text_poke_batch_finish+0x3e7/0x12c0
> [    2.455556][    T9]  ? arch_jump_label_transform_apply+0x17/0x30
> [    2.455556][    T9]  ? __pfx___mutex_lock+0x10/0x10
> [    2.455556][    T9]  ? __pfx_smp_text_poke_batch_finish+0x10/0x10
> [    2.455556][    T9]  ? arch_jump_label_transform_queue+0x9b/0x100
> [    2.455556][    T9]  ? __jump_label_update+0x387/0x3b0
> [    2.455556][    T9]  arch_jump_label_transform_apply+0x1c/0x30
> [    2.455556][    T9]  static_key_disable_cpuslocked+0xd2/0x1c0
> [    2.455556][    T9]  static_key_disable+0x1a/0x20
> [    2.455556][    T9]  once_deferred+0x70/0xb0
> [    2.455556][    T9]  ? process_scheduled_works+0x9cb/0x18e0
> [    2.455556][    T9]  process_scheduled_works+0xac3/0x18e0
> [    2.455556][    T9]  ? __pfx_process_scheduled_works+0x10/0x10
> [    2.455556][    T9]  ? assign_work+0x367/0x3d0
> [    2.455556][    T9]  worker_thread+0x870/0xd50
> [    2.455556][    T9]  ? __kthread_parkme+0x1a8/0x200
> [    2.455556][    T9]  ? __pfx_worker_thread+0x10/0x10
> [    2.455556][    T9]  kthread+0x7b7/0x940
> [    2.455556][    T9]  ? __pfx_worker_thread+0x10/0x10
> [    2.455556][    T9]  ? __pfx_kthread+0x10/0x10
> [    2.455556][    T9]  ? __pfx_kthread+0x10/0x10
> [    2.455556][    T9]  ? __pfx_kthread+0x10/0x10
> [    2.455556][    T9]  ? __pfx_kthread+0x10/0x10
> [    2.455556][    T9]  ? _raw_spin_unlock_irq+0x23/0x50
> [    2.455556][    T9]  ? lockdep_hardirqs_on+0x9d/0x150
> [    2.455556][    T9]  ? __pfx_kthread+0x10/0x10
> [    2.455556][    T9]  ret_from_fork+0x4b/0x80
> [    2.455556][    T9]  ? __pfx_kthread+0x10/0x10
> [    2.455556][    T9]  ret_from_fork_asm+0x1a/0x30
> [    2.455556][    T9]  </TASK>
> [    2.455556][    T9] Kernel panic - not syncing: kernel: panic_on_warn set ...

This is some unrelated regression issue. Also, reported here:
https://lore.kernel.org/all/SJ1PR11MB6129E62E3B372932C6B7477FB9BD2@SJ1PR11MB6129.namprd11.prod.outlook.com
https://lore.kernel.org/all/67fce34b.050a0220.3483fc.0026.GAE@google.com


Thanks,
Shivank

  reply	other threads:[~2025-04-17  9:07 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-17  6:06 [PATCH V3 0/2] JFS: Implement migrate_folio for jfs_metapage_aops Shivank Garg
2025-04-17  6:06 ` [PATCH V3 1/2] mm: export folio_expected_refs for JFS migration handler Shivank Garg
2025-04-17  8:40   ` David Hildenbrand
2025-04-22 11:28     ` Shivank Garg
2025-04-17  6:06 ` [PATCH V3 2/2] jfs: implement migrate_folio for jfs_metapage_aops Shivank Garg
2025-04-17  8:47 ` [syzbot] [mm?] WARNING in move_to_new_folio syzbot
2025-04-17  9:06   ` Shivank Garg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-30 10:01 [PATCH V5 0/2] JFS: Implement migrate_folio for jfs_metapage_aops Shivank Garg
2025-04-30 10:38 ` [syzbot] [mm?] WARNING in move_to_new_folio syzbot
2025-04-30  5:12 Syz Test if issue still reproduce Shivank Garg
2025-04-30  7:30 ` [syzbot] [mm?] WARNING in move_to_new_folio syzbot
2025-04-30  7:58   ` Shivank Garg
2025-04-30  8:23     ` syzbot
2025-04-30  9:06       ` Shivank Garg
2025-04-30  9:43         ` syzbot
2025-04-22 11:40 [PATCH V4 0/2] JFS: Implement migrate_folio for jfs_metapage_aops Shivank Garg
2025-04-22 13:59 ` [syzbot] [mm?] WARNING in move_to_new_folio syzbot
     [not found] <60d9e567-cc9a-43fb-a47e-e8aba30cc98e@amd.com>
2025-04-15  4:58 ` syzbot
2025-04-13  0:03 syzbot
2025-04-13  6:24 ` syzbot
2025-04-13 21:44 ` syzbot
2025-04-15  4:57   ` Shivank Garg
2025-04-15  5:24     ` syzbot
2025-04-15  5:40       ` Shivank Garg
2025-04-15  6:00         ` syzbot
2025-04-15  6:18         ` Shivank Garg
2025-04-15  7:00           ` syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=98f897e2-9132-44e6-96bc-ba6e19442e3b@amd.com \
    --to=shivankg@amd.com \
    --cc=akpm@linux-foundation.org \
    --cc=apopple@nvidia.com \
    --cc=david@redhat.com \
    --cc=donettom@linux.ibm.com \
    --cc=jane.chu@oracle.com \
    --cc=jfs-discussion@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=shaggy@kernel.org \
    --cc=syzbot+8bb6fd945af4e0ad9299@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=wangkefeng.wang@huawei.com \
    --cc=willy@infradead.org \
    --cc=ziy@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®