Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A27AB314B87 for ; Wed, 14 Jan 2026 15:07:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403249; cv=none; b=BXGS5ny0cJsQea0CvoC2mC6HgIAP+9g0mM744Vd17zqf02gyGPdhfAYZiAzQCZLF88g/zqRRmTauRn75K3QhACzmMltxIAZ3ORshDEqf1uvTKjz9Z+pZ4oqSGL4o9izyVMPv0tDr8HC3iufkGEYRLo8zt5gjBRV3+uZr+BJ96qc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403249; c=relaxed/simple; bh=Ra8iJTL9jaTyIQ4Qh4KnL4r1adAK00c+gR6ed05qWVA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CPelxsSKTBLZ2G+m+hRm8BetynoudF5SVD9Vp5feQ3+d9iRDOOx83VOxrQTmjfC7M4OyupJWc+kEQzJdhZSttSbc998/9PzwzkkwAAd5DO5jw1a4YdLVD/nUQY99s6rUNQlqAoqJR7zKrDnOXG7geASUchlIfMHQxvy0UzubS6w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w04oTT5j; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="w04oTT5j" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E4FFC19422; Wed, 14 Jan 2026 15:07:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768403249; bh=Ra8iJTL9jaTyIQ4Qh4KnL4r1adAK00c+gR6ed05qWVA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=w04oTT5jwNivhNspyFzKe2NSQsMU9G8O81b4QMHzDtgIHR9L9+SGSDmb1k2EeWTBJ FK9PRQupLQDnNJQvAA8MSEjTYeVe48nEBYokb2m1M7dNs4m+kTohATFksjRuozkG+x HJJekHGZpdLrwWMR8xyTWAaYlUFtpgzcBTMadrcI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71110: mm/slub: reset KASAN tag in defer_free() before accessing freed memory Date: Wed, 14 Jan 2026 16:06:15 +0100 Message-ID: <2026011412-CVE-2025-71110-c354@gregkh> X-Mailer: git-send-email 2.52.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=2624; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WXpZlpLrxV9AthUJSQrw/RCMt27yXyBuglqdhrDJiDM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnpG55MXVHffaa0zFkztlorc5P6SSWD6R6OBuUeM8Q6t 04ynPStI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZydAnD/Nr1zH4xyRUJ7hYn DTeK+4eELbqazzDfx6V1huyGdptlC2f28QfpXEpflZ4JAA== 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: mm/slub: reset KASAN tag in defer_free() before accessing freed memory When CONFIG_SLUB_TINY is enabled, kfree_nolock() calls kasan_slab_free() before defer_free(). On ARM64 with MTE (Memory Tagging Extension), kasan_slab_free() poisons the memory and changes the tag from the original (e.g., 0xf3) to a poison tag (0xfe). When defer_free() then tries to write to the freed object to build the deferred free list via llist_add(), the pointer still has the old tag, causing a tag mismatch and triggering a KASAN use-after-free report: BUG: KASAN: slab-use-after-free in defer_free+0x3c/0xbc mm/slub.c:6537 Write at addr f3f000000854f020 by task kworker/u8:6/983 Pointer tag: [f3], memory tag: [fe] Fix this by calling kasan_reset_tag() before accessing the freed memory. This is safe because defer_free() is part of the allocator itself and is expected to manipulate freed memory for bookkeeping purposes. The Linux kernel CVE team has assigned CVE-2025-71110 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit af92793e52c3a99b828ed4bdd277fd3e11c18d08 and fixed in 6.18.3 with commit 65d4e5af2a2e82f4fc50d8259aee208fbc6b2c1d Issue introduced in 6.18 with commit af92793e52c3a99b828ed4bdd277fd3e11c18d08 and fixed in 6.19-rc2 with commit 53ca00a19d345197a37a1bf552e8d1e7b091666c 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-2025-71110 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: mm/slub.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/65d4e5af2a2e82f4fc50d8259aee208fbc6b2c1d https://git.kernel.org/stable/c/53ca00a19d345197a37a1bf552e8d1e7b091666c