From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8629C246A10 for ; Wed, 15 Jan 2025 09:10:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736932234; cv=none; b=YACtOgcnv/c21UiIuvXie2u8Xuakl2CeXkhlymgGi7uwdNfIVYFfv/sYaZSheWWSRZQiOpCuFZGALh/62IeByttOFY06ULdGx9nKMLj88ewUD3QyRLnQinUYxYKDgJyMq6vHtXR5n03BZDQVGmdaTaVKoB2AK+xG0aD+0pKi6iM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736932234; c=relaxed/simple; bh=lfQNmeBn5fZa60s67By+eWhbr7jvQGNQSgf18bSIy6Y=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=dGR1ga4GCecoakUlYoDOJ26MiOtvb6GZaNs2Q6Q+HN8DlfgA5W1iGhNle+6lkofV0i1e9/g+VjYjW6XXCUvFPTvWtsFza3Rjvkbr0G7n2mx+p7YJIH8BxfPtx8gJ1iPo07BxACWDVG5+HM8BThXev4vrutEzqedOlWSVT1y5M1E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=oAkX7Jj/; arc=none smtp.client-ip=91.218.175.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="oAkX7Jj/" Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1736932225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LgPALnG4VnPr4ZwgxJdtisr7BSWNbbPs2sdH7XFcvhI=; b=oAkX7Jj/pLefOv4IxfaC02BCUFXg4HqYyUyB9zzhborVd1UY1GxZfgIYpMciog7MCeW9jz q8rGEKNsPpH44j5pM5Qh2WxM8irhEsbo4t0/kRefVA2ty4rTuNNwKSffUOVDQ8LbKG+icT pWQ8eFKTYxJT7B93Pp+QN/4xaBsj2Jo= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.200.121\)) Subject: Re: "kernel BUG in update_and_free_pages_bulk" in Linux Kernel v6.12-rc4 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: Date: Wed, 15 Jan 2025 17:09:46 +0800 Cc: cheung wall , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <024E619D-033C-4482-89D2-B997950A9463@linux.dev> References: To: Yu Zhao X-Migadu-Flow: FLOW_OUT > On Jan 15, 2025, at 12:42, Yu Zhao wrote: >=20 > On Tue, Jan 14, 2025 at 8:45=E2=80=AFPM Muchun Song = wrote: >>=20 >>=20 >>=20 >>> On Jan 15, 2025, at 10:17, cheung wall = wrote: >>>=20 >>> Hello, >>>=20 >>> I am writing to report a potential vulnerability identified in the >>> Linux Kernel version v6.12-rc4. This vulnerability was discovered >>> while i was testing the kernel. >>=20 >> Thanks for your report. I'll fix it later. >>=20 >> Thanks, >> Muchun >>=20 >>>=20 >>> Linux Kernel Repository Git Commit: >>> 42f7652d3eb527d03665b09edac47f85fb600924 (tag: v6.12-rc4) >>>=20 >>> Bug Location: update_and_free_pages_bulk+0x657/0x810 = mm/hugetlb.c:1860 >>>=20 >>> Bug report: https://pastebin.com/q8J3z5Gq >>>=20 >>> Entire Log: https://pastebin.com/AQF101kq >>>=20 >>> Thank you for your time and attention. >>>=20 >>> Best regards >>>=20 >>> Wall >=20 > This was fixed by > commit 9d08ec41a064 ("mm: allow set/clear page_type again") Thanks for your reminder. It's really helpful. Thanks, Muchun > and it went into v6.12-rc6.