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 53BA1426EC4 for ; Wed, 6 May 2026 11:34:19 +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=1778067259; cv=none; b=t3j4YrJfkDrhDjDid5r2mr9BXc+EVHFtDK8ViI9hVOUGC/UZQtopHteCb9vN9XxEn6Cw+9+GrCgNy0PjBc7IIgWj1xs077Ngziuo/puTaPouzsRy/EStqNoKGe1p5Gl93Ybjgcx/ENuJootx1dsc7Cp9Y0mV8nj1SxZvU2rGMY8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067259; c=relaxed/simple; bh=O99KT9v3NFBuTDhOYoTlyhsD6San3nLEpVrlJPcyxn8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JdNcl3tIulLCSoHJJJAHkBs3eEnEutDvGhztWmmsox4dTXW6kbFIOs3cgKFP7FVgxy0uAe0e5jKUVbxx/EW4E2EYWWxZqp/YV6sRJ13kue6nDtj66bYHm4Qzpse552bsivLyZwBsTwmv9FyINHdRwy2H+HhMeJ5aotFy0R5c1nM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aSpZ+bIQ; 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="aSpZ+bIQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF81DC2BCB8; Wed, 6 May 2026 11:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067259; bh=O99KT9v3NFBuTDhOYoTlyhsD6San3nLEpVrlJPcyxn8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=aSpZ+bIQqMRCk/hgacynn9HGDbkUNhFJeIzkJZlcFG+ehTT9ih5BIjYH2orOdxep0 Ow+8Us7MDmgt/EjvTgLTfccEO6LQjBvCC3IaBWmQwoRKjmGF1rte/iVKHDZcJFlmjV BqMo3a9tVTk7jhf/3jyy8PyQgvEUVRyCqexU/zDs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43249: 9p/xen: protect xen_9pfs_front_free against concurrent calls Date: Wed, 6 May 2026 13:29:25 +0200 Message-ID: <2026050602-CVE-2026-43249-f246@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=4146; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=m1O7Gun1/pua16pxuyj0EeOlgy4ATmS2Tz6oGZ1C5ts=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VQ8rs7YqtlquUonqOOAf0Wz5nc9Z6Ue43DebSdvlL Gdouvd1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQSnjHMD3VJv7Q9gMvtRs6l R+sfmPZ7WoheYpjD/2P7VpYN7C7zquafit4m+EaIO7gAAA== 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: 9p/xen: protect xen_9pfs_front_free against concurrent calls The xenwatch thread can race with other back-end change notifications and call xen_9pfs_front_free() twice, hitting the observed general protection fault due to a double-free. Guard the teardown path so only one caller can release the front-end state at a time, preventing the crash. This is a fix for the following double-free: [ 27.052347] Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6b6b: 0000 [#1] SMP DEBUG_PAGEALLOC NOPTI [ 27.052357] CPU: 0 UID: 0 PID: 32 Comm: xenwatch Not tainted 6.18.0-02087-g51ab33fc0a8b-dirty #60 PREEMPT(none) [ 27.052363] RIP: e030:xen_9pfs_front_free+0x1d/0x150 [ 27.052368] Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 41 55 41 54 55 48 89 fd 48 c7 c7 48 d0 92 85 53 e8 cb cb 05 00 48 8b 45 08 48 8b 55 00 <48> 3b 28 0f 85 f9 28 35 fe 48 3b 6a 08 0f 85 ef 28 35 fe 48 89 42 [ 27.052377] RSP: e02b:ffffc9004016fdd0 EFLAGS: 00010246 [ 27.052381] RAX: 6b6b6b6b6b6b6b6b RBX: ffff88800d66e400 RCX: 0000000000000000 [ 27.052385] RDX: 6b6b6b6b6b6b6b6b RSI: 0000000000000000 RDI: 0000000000000000 [ 27.052389] RBP: ffff88800a887040 R08: 0000000000000000 R09: 0000000000000000 [ 27.052393] R10: 0000000000000000 R11: 0000000000000000 R12: ffff888009e46b68 [ 27.052397] R13: 0000000000000200 R14: 0000000000000000 R15: ffff88800a887040 [ 27.052404] FS: 0000000000000000(0000) GS:ffff88808ca57000(0000) knlGS:0000000000000000 [ 27.052408] CS: e030 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 27.052412] CR2: 00007f9714004360 CR3: 0000000004834000 CR4: 0000000000050660 [ 27.052418] Call Trace: [ 27.052420] [ 27.052422] xen_9pfs_front_changed+0x5d5/0x720 [ 27.052426] ? xenbus_otherend_changed+0x72/0x140 [ 27.052430] ? __pfx_xenwatch_thread+0x10/0x10 [ 27.052434] xenwatch_thread+0x94/0x1c0 [ 27.052438] ? __pfx_autoremove_wake_function+0x10/0x10 [ 27.052442] kthread+0xf8/0x240 [ 27.052445] ? __pfx_kthread+0x10/0x10 [ 27.052449] ? __pfx_kthread+0x10/0x10 [ 27.052452] ret_from_fork+0x16b/0x1a0 [ 27.052456] ? __pfx_kthread+0x10/0x10 [ 27.052459] ret_from_fork_asm+0x1a/0x30 [ 27.052463] [ 27.052465] Modules linked in: [ 27.052471] ---[ end trace 0000000000000000 ]--- The Linux kernel CVE team has assigned CVE-2026-43249 to this issue. Affected and fixed versions =========================== Fixed in 6.12.75 with commit a5d00dff97118a32fcf5fec7a4c3f864c4620c4e Fixed in 6.18.16 with commit 59e7707492576bdbfa8c1dbe7d90791df31e4773 Fixed in 6.19.6 with commit bf841d43f7a33d75675ba7f4e214ac1c67913065 Fixed in 7.0 with commit ce8ded2e61f47747e31eeefb44dc24a2160a7e32 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-43249 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: net/9p/trans_xen.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/a5d00dff97118a32fcf5fec7a4c3f864c4620c4e https://git.kernel.org/stable/c/59e7707492576bdbfa8c1dbe7d90791df31e4773 https://git.kernel.org/stable/c/bf841d43f7a33d75675ba7f4e214ac1c67913065 https://git.kernel.org/stable/c/ce8ded2e61f47747e31eeefb44dc24a2160a7e32