From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC7C2C54EE9 for ; Thu, 22 Sep 2022 20:13:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0778F940007; Thu, 22 Sep 2022 16:13:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id F41B36B0072; Thu, 22 Sep 2022 16:13:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D93E8940007; Thu, 22 Sep 2022 16:13:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id C437B6B0071 for ; Thu, 22 Sep 2022 16:13:53 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 8C6A7802EF for ; Thu, 22 Sep 2022 20:13:53 +0000 (UTC) X-FDA: 79940822346.26.FAD9038 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by imf24.hostedemail.com (Postfix) with ESMTP id 1327B18000D for ; Thu, 22 Sep 2022 20:13:52 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 8AAC321A5D; Thu, 22 Sep 2022 20:13:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1663877631; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1W6wFEitTt/nhSdHj7yZiLv4d1qoZb6zO8/D6IdlseI=; b=qDvQiWrDOyear9G46F/Ssx9IaXcMM2dSt/Kdolj43zZhDoLZDkGAWAdmvzLxJiuaS+tgxa KaHnSgSV9z/iu0CviUQwCyNLOXq7noDFSI4K90x0LFhnl8QRu4j45RA1JZQm31+grMwxqa HkRy5vLKr0i6kCI8O0iqVuCbs6FJghE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1663877631; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1W6wFEitTt/nhSdHj7yZiLv4d1qoZb6zO8/D6IdlseI=; b=BoJgUNn5AFEN+F+Jx/Dfh+xV4c/l84Ibg9dVksUKrtF4jgLr2kyL21qLbSMWdf2JEco27q /DJapVf3iVPC2vCA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 593FC13AA5; Thu, 22 Sep 2022 20:13:51 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id tSuDFP/BLGMOFwAAMHmgww (envelope-from ); Thu, 22 Sep 2022 20:13:51 +0000 Message-ID: <9c0abd9f-5976-31e2-8802-e40270ad0014@suse.cz> Date: Thu, 22 Sep 2022 22:13:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 From: Vlastimil Babka Subject: [GIT PULL] slab fix for 6.0-rc7 To: Linus Torvalds Cc: David Rientjes , Joonsoo Kim , Christoph Lameter , Pekka Enberg , Andrew Morton , "linux-mm@kvack.org" , LKML , patches@lists.linux.dev, Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com> Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663877633; h=from:from:sender: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: references:dkim-signature; bh=1W6wFEitTt/nhSdHj7yZiLv4d1qoZb6zO8/D6IdlseI=; b=4I94e6a+hQyHyiD51WSN7mOk3qNngXVqe7D2Omr2kt9IWQZprwixqDsnNUH9OaPsSygfV4 8ReGjfTgwlSda6pE/N2QV0yFSQgSuCllh1bL5A8k46izx2MOAvGA9/nGcAd8p3B3qOxvIu TuHwORZ3hK9Dq1ko8NM2mQUxMtUy0rM= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=qDvQiWrD; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=BoJgUNn5; dmarc=none; spf=pass (imf24.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.28 as permitted sender) smtp.mailfrom=vbabka@suse.cz ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663877633; a=rsa-sha256; cv=none; b=JY+K6axidfi4ZBe2BV2KsqY+WtupVS0Yz1mhvoGPNFxZuQnJr23VHKvp3hEu/aHZaH6BIS DbNeyk5+09IG6gsI6UwD977iAndq2ChSbLdvfc4y5m9oDBDBaJpAyPEs+J9fef5X3Xva4W 6Of185aGy+tnO9BpDrTzLkvE5bM2J7U= Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=qDvQiWrD; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=BoJgUNn5; dmarc=none; spf=pass (imf24.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.28 as permitted sender) smtp.mailfrom=vbabka@suse.cz X-Rspam-User: X-Stat-Signature: ngnzaboucr9ddnxoz8ttggxrzxdhoznm X-Rspamd-Queue-Id: 1327B18000D X-Rspamd-Server: rspam06 X-HE-Tag: 1663877632-558536 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Linus, please pull the latest slab changes from git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git tags/slab-for-6.0-rc7 ====================================== - Fix a possible use-after-free in SLUB's kmem_cache removal, introduced in this cycle, by Feng Tang. - WQ_MEM_RECLAIM dependency fix for the workqueue-based cpu slab flushing introduced in 5.15, by Maurizio Lombardi. - Add missing KASAN hooks in two kmalloc entry paths, by Peter Collingbourne. - A BUG_ON() removal in SLUB's kmem_cache creation when allocation fails (too small to possibly happen in practice, syzbot used fault injection), by Chao Yu. Thanks, Vlastimil ---------------------------------------------------------------- Chao Yu (1): mm/slub: fix to return errno if kmalloc() fails Feng Tang (1): mm/slab_common: fix possible double free of kmem_cache Maurizio Lombardi (1): mm: slub: fix flush_cpu_slab()/__free_slab() invocations in task context. Peter Collingbourne (1): kasan: call kasan_malloc() from __kmalloc_*track_caller() mm/slab_common.c | 5 ++++- mm/slub.c | 18 ++++++++++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-)