Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Oscar Salvador (SUSE)" <osalvador@kernel.org>
To: syzbot ci <syzbot+ci07d784447d67ca63@syzkaller.appspotmail.com>
Cc: akpm@linux-foundation.org, david@kernel.org, david@redhat.com,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	lorenzo.stoakes@oracle.com, mhocko@suse.com,
	muchun.song@linux.dev, osalvador@suse.de, vbabka@kernel.org,
	syzbot@lists.linux.dev, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot ci] Re: Implement a new generic pagewalk API
Date: Thu, 11 Jun 2026 15:52:16 +0200	[thread overview]
Message-ID: <aiq9kD3loZWsfZTN@localhost.localdomain> (raw)
In-Reply-To: <6a153468.050a0220.7dd1.0004.GAE@google.com>

[-- Attachment #1: Type: text/plain, Size: 999 bytes --]

On Mon, May 25, 2026 at 10:49:28PM -0700, syzbot ci wrote:
> syzbot ci has tested the following series
> 
> [v3] Implement a new generic pagewalk API
> https://lore.kernel.org/all/20260525165528.184397-1-osalvador@suse.de
> * [RFC PATCH v3 1/8] mm: Add softleaf_from_pud
> * [RFC PATCH v3 2/8] mm: Add {pmd,pud}_huge_lock helper
> * [RFC PATCH v3 3/8] mm: Implement folio_pmd_batch
> * [RFC PATCH v3 4/8] mm: Implement pt_range_walk
> * [RFC PATCH v3 5/8] mm: Make /proc/pid/smaps use the new generic pagewalk API
> * [RFC PATCH v3 6/8] mm: Make /proc/pid/numa_maps use the new generic pagewalk API
> * [RFC PATCH v3 7/8] mm: Make /proc/pid/pagemap use the new generic pagewalk API
> * [RFC PATCH v3 8/8] mm: Make /proc/pid/clear_refs use the new generic pagewalk API
> 
> and found the following issue:
> general protection fault in clear_refs_write
> 
> Full report is available here:
> https://ci.syzbot.org/series/0beab2d0-9d88-4288-ac81-b294e51c057d

#syz test

 

-- 
Oscar Salvador
SUSE Labs

[-- Attachment #2: 0001-fix.patch --]
[-- Type: text/x-patch, Size: 668 bytes --]

From 59776435d1beca2bd9446050450afe04453a99e8 Mon Sep 17 00:00:00 2001
From: Oscar Salvador <osalvador@suse.de>
Date: Thu, 11 Jun 2026 13:58:44 +0200
Subject: [PATCH] fix

---
 fs/proc/task_mmu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index 1134dfb3dab0..fadc6356f84e 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -1710,6 +1710,7 @@ static ssize_t clear_refs_write(struct file *file, const char __user *buf,
 			else if (ret < 0)
 				break;
 
+			flags &= ~PT_TYPE_NONE;
 			pt_type = pt_range_walk_start(&ptw, vma, vma->vm_start, vma->vm_end, flags);
 			while (pt_type != PTW_DONE) {
 
-- 
2.35.3


  parent reply	other threads:[~2026-06-11 13:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-25 16:55 [RFC PATCH v3 0/8] Implement a new generic pagewalk API Oscar Salvador
2026-05-25 16:55 ` [RFC PATCH v3 1/8] mm: Add softleaf_from_pud Oscar Salvador
2026-05-25 16:55 ` [RFC PATCH v3 2/8] mm: Add {pmd,pud}_huge_lock helper Oscar Salvador
2026-05-25 16:55 ` [RFC PATCH v3 3/8] mm: Implement folio_pmd_batch Oscar Salvador
2026-05-25 16:55 ` [RFC PATCH v3 4/8] mm: Implement pt_range_walk Oscar Salvador
2026-05-25 16:55 ` [RFC PATCH v3 5/8] mm: Make /proc/pid/smaps use the new generic pagewalk API Oscar Salvador
2026-05-25 16:55 ` [RFC PATCH v3 6/8] mm: Make /proc/pid/numa_maps " Oscar Salvador
2026-05-25 16:55 ` [RFC PATCH v3 7/8] mm: Make /proc/pid/pagemap " Oscar Salvador
2026-05-25 16:55 ` [RFC PATCH v3 8/8] mm: Make /proc/pid/clear_refs " Oscar Salvador
2026-05-26  5:49 ` [syzbot ci] Re: Implement a " syzbot ci
2026-06-11 12:01   ` Oscar Salvador (SUSE)
2026-06-11 13:22     ` syzbot ci
2026-06-11 13:52   ` Oscar Salvador (SUSE) [this message]
2026-06-11 15:08     ` syzbot ci
2026-06-11 12:07 ` [RFC PATCH v3 0/8] " Lorenzo Stoakes
2026-06-11 12:29   ` Oscar Salvador (SUSE)
  -- strict thread matches above, loose matches on Subject: below --
2026-04-26 12:57 [RFC PATCH v2 0/7] " Oscar Salvador
2026-04-26 19:01 ` [syzbot ci] " syzbot ci
2026-04-12 17:42 [RFC PATCH 0/7] " Oscar Salvador
2026-04-13  7:38 ` [syzbot ci] " syzbot ci

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=aiq9kD3loZWsfZTN@localhost.localdomain \
    --to=osalvador@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=david@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lorenzo.stoakes@oracle.com \
    --cc=mhocko@suse.com \
    --cc=muchun.song@linux.dev \
    --cc=osalvador@suse.de \
    --cc=syzbot+ci07d784447d67ca63@syzkaller.appspotmail.com \
    --cc=syzbot@lists.linux.dev \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=vbabka@kernel.org \
    /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