Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 CEBD23D16E2 for ; Wed, 27 May 2026 12:20:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884432; cv=none; b=txmCEdJiBKvZv4Bc0dP0iI3baFW681sKRSQBQ3I2bKz1H0/RZ7O/D/vEPtbv1wcxdDJOZBKCXpOZriLr/w7ePEgEQz+cF0+T17/bagl49pU97j5Ln1QDOppuE8bZZFulFagpiTCXYlobnGojhU9afUAarwQFNDDK5MYrAvAPp1g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884432; c=relaxed/simple; bh=IIq69IRDcseUzba3lvTEuMgwT3vsrn13EmT8BJd5gk4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dwO2cD1MOSbfTOK9OcURN32BvDN9ReMwJQq4ApBDrmZ4Rcan5vadWSSvnoPk/xtn3Okge6ww8TPJud/tK27rV9rnK+WStx6bVohhuqlzXDHAJF1C8L76ca15uwmkCP3fvBhH6WMwOYEm1hyvGKfHrsJCZAzSMeYIkKyoT7nkhvQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yKffNNwa; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yKffNNwa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFF4C1F000E9; Wed, 27 May 2026 12:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884431; bh=ekXAcsXnbGVcljPQJt5G7J9IPZdkAGS/Y4V0sGB6ubM=; h=From:To:Cc:Subject:Date:Reply-To; b=yKffNNwaaielD+s0uu6TKuHfO+0/7J8n5DAjmMA037W46S/8mTEKJ7Ykru9SlVm1r XU1tWS4eQUYUUyy8els1kwGca7L8EHhrOJAlUSZA7kQG8NtjpLuWpY0n45nNDF657c 1O3HQrPSUWJ23/BQk+/GcxmoYcCutxcPbHYrsRIk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45861: gfs2: Fix slab-use-after-free in qd_put Date: Wed, 27 May 2026 14:18:23 +0200 Message-ID: <2026052710-CVE-2026-45861-1fba@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2733; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PKqEmW6o4oWD3Wa0beTURGehs0A1WkTjLt3xgLLS+os=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD5miRZ58mJK9iv1pQ9ervm0X2/SnFUYsklO+tteVq /9CUer8jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjID0+GBfNUf8UzHLvnvFQ0 W+JxZsNFboPIrQzzNC4/Pn1K5IqB2ra/3xLsS1euebTnCwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix slab-use-after-free in qd_put Commit a475c5dd16e5 ("gfs2: Free quota data objects synchronously") started freeing quota data objects during filesystem shutdown instead of putting them back onto the LRU list, but it failed to remove these objects from the LRU list, causing LRU list corruption. This caused use-after-free when the shrinker (gfs2_qd_shrink_scan) tried to access already-freed objects on the LRU list. Fix this by removing qd objects from the LRU list before freeing them in qd_put(). Initial fix from Deepanshu Kartikey . The Linux kernel CVE team has assigned CVE-2026-45861 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit a475c5dd16e57c570113eccba51955b5df8bb052 and fixed in 6.12.75 with commit ca7c67bdd293089b3483f18886d6b2d0037d2ad9 Issue introduced in 6.6 with commit a475c5dd16e57c570113eccba51955b5df8bb052 and fixed in 6.18.14 with commit 1d47922b98046b8070a77347fb883a6523792803 Issue introduced in 6.6 with commit a475c5dd16e57c570113eccba51955b5df8bb052 and fixed in 6.19.4 with commit 80fff26d7a0c3926b511661c27eecc811a420eef Issue introduced in 6.6 with commit a475c5dd16e57c570113eccba51955b5df8bb052 and fixed in 7.0 with commit 22150a7d401d9e9169b9b68e05bed95f7f49bf69 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-45861 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/gfs2/quota.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/ca7c67bdd293089b3483f18886d6b2d0037d2ad9 https://git.kernel.org/stable/c/1d47922b98046b8070a77347fb883a6523792803 https://git.kernel.org/stable/c/80fff26d7a0c3926b511661c27eecc811a420eef https://git.kernel.org/stable/c/22150a7d401d9e9169b9b68e05bed95f7f49bf69