From mboxrd@z Thu Jan 1 00:00:00 1970 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 83B4A312837 for ; Wed, 24 Jun 2026 16:34:58 +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=1782318899; cv=none; b=HUHorFraUFxrzsdGvKPViBKuTVlZ3kWYJC6J5KQ4Is0sTb2mNU67mAQTgsRWdO3BlxNAZQaakZpxa/H5Iy5PgXDrgdTEZV5vGUuLhik46aiwfbHHb2fmjzxCqsCI96bx+jYSQJYcMXNYgsFkvyI1oQ5psV6sf3ZyHmEdWzQFdEk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318899; c=relaxed/simple; bh=0YAQ83+au/7qvCtSE47MwkBym36Yxy1eYDGbDw/RASc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oBX3r4nQprBoC+ZZL3P4k9XUkRuxgI+95f+1mP6obuVAfoGt1Yg6wsHnLGC4ReXvGIppxEsd9c/Fqmvx1L/ylc36hPOw4qRFaWuPcJAmsfD1Ao9lJCDCHKfc9fZLOwTF+VV/xgVUmlkD99pdfEB/cFhIKO/Kl5pn2967rZvHWmw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VEvljZSZ; 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="VEvljZSZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C99041F000E9; Wed, 24 Jun 2026 16:34:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782318898; bh=2jV5oAFAEvv3Ol85PRN4qTgykfqZhq+7twkXhLWnoP0=; h=From:To:Cc:Subject:Date:Reply-To; b=VEvljZSZJiBiuooBLosEcfaUNMyrwoBuc/cYtfC2fDJorN6Ag25pa+GTTI2ARsBUx 32tkDhSUjuYQYXWC2RQqJZtZ/GMIwpBKZKem+Xe4UkKbwK9bsC8ujoSJiEkiSh58ET vI6qmjSiuzEbMbVczV1Y/+aP5VFTOOyZQ5fx8leU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53010: ksmbd: fix use-after-free in smb2_open during durable reconnect Date: Wed, 24 Jun 2026 17:30:34 +0100 Message-ID: <2026062449-CVE-2026-53010-c575@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=2511; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=idV/dxtc4qY00LCjmWkqpfW4c53rqyvscU4y5DX3jDE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2rH91JhpMfnI8asvkp8uFWVtCeTZe8p/evv21AZM0a 8Y+Nu2NHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRYiWGuaKWG+9kt7yyjvpi w1R2wPmKde+cHQwLZhZvUdibtyg0u6b4+0KnhZnN+onnAA== 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: ksmbd: fix use-after-free in smb2_open during durable reconnect In smb2_open, the call to ksmbd_put_durable_fd(fp) drops the reference to the durable file descriptor early during the durable reconnect process. If an error occurs subsequently (eg, ksmbd_iov_pin_rsp fails) or a scavenger accesses the file, it leads to a use-after-free when accessing fp properties (eg fp->create_time). Move the single put to the end of the function below err_out2 so fp stays valid until smb2_open returns. The Linux kernel CVE team has assigned CVE-2026-53010 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit c8efcc786146a951091588e5fa7e3c754850cb3c and fixed in 6.18.33 with commit ce2e164c1c51c3f7813b80f8c926836e896bcbb3 Issue introduced in 6.9 with commit c8efcc786146a951091588e5fa7e3c754850cb3c and fixed in 7.0.10 with commit 97a0cd55283b4e63fd92804da91c8d9896adcad9 Issue introduced in 6.9 with commit c8efcc786146a951091588e5fa7e3c754850cb3c and fixed in 7.1 with commit 1baff47b81f94f9231c91236aa511420d0e266b9 Issue introduced in 6.6.32 with commit 8df4bcdb0a4232192b2445256c39b787d58ef14d 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-53010 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/smb/server/smb2pdu.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/ce2e164c1c51c3f7813b80f8c926836e896bcbb3 https://git.kernel.org/stable/c/97a0cd55283b4e63fd92804da91c8d9896adcad9 https://git.kernel.org/stable/c/1baff47b81f94f9231c91236aa511420d0e266b9