Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp789559lqo; Wed, 8 May 2024 15:20:36 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV3XDjrQe5wXDiubvROweQAGEPb2yf660rIrOPGeQ40L/M5vfOfEc/ClLP4Nxalw2CgEBQnfGEJGA8/g83lM10Vynfyab5DkQm26LdnsA== X-Google-Smtp-Source: AGHT+IEEF0rAi2exY5Y41V1QBKtkkJ0IrY2biNvjU/vC48g8l1JLMLqwCcPDxFNIEi1FwWiQtY/C X-Received: by 2002:a05:6870:b62a:b0:23e:ec96:b62e with SMTP id 586e51a60fabf-24096d32ba8mr4302436fac.0.1715206836375; Wed, 08 May 2024 15:20:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715206836; cv=none; d=google.com; s=arc-20160816; b=aGZJvLcYnDiKqzwO79cdXJVM298+a3/4qIx7DjquPSfFnwktC6mIO6GhueM2QNWxdu 0DlutNCidjepbX+tDciBAVBp7YGmWdN+heUUklWw7Zu1I+FzB6q7ajNxC+IFotaAt/jE Sg1T0ulahhyzom3VaxxrCu9rx8HMWDyizRj/vZnSlvEJ6kyoRbs+Hy+uWIwBoWVlpxIq 5pTtpf9Tv0UvxxMe7yHjDkmNl0CMmZSlu+WE9yEKCfOe9EcvFsJpJU3VcQKSYR4L8umA f93Cu5qWKdz3V+LKVmkg//Xu8JnT1jrEUsuLFsoOt/6zJZ7Ew4Kn+IE8GEBjpFX+iPml UWMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:date:message-id:cc:from:to:mime-version :content-transfer-encoding:dkim-signature:delivered-to:reply-to :list-id:list-subscribe:list-unsubscribe:list-help:list-post :precedence:mailing-list; bh=9h/2wzU0Mvhn2MKrTpCI2QVVZK0bZHd1iD7FuzxTA8E=; fh=257tbQTaiNwyB4xGRq2qlZ18W/hQQPvCU7lOFFZLY6Q=; b=Ckn2m0nni+Kw2qUm9SL76krhrjtdHJVg8fobjgwsoo0HMEv9jUDGksmZ3NUkRNaBWk pTO7+24nQ/eTFxgSOxh7F0Fowvh+/+QsstQngG/mIpN3iak1logvLsAdXLAHxtUcZhl4 vzoJUq8SyRpaoowNtzSxbgL7F7hGWeYDLKyZMftwcpcHEVSPiUDz1DwpAmRu+sQXiIzX OPUHPf11LkWsi43b/bIOR2CvjJV9VcQXMoNiWhThh1/fba38HpJwlV7I3ASZbLPC+u5X Gba5A7v1f7IjSFYL+KMo9aEuXg8Qsf+JCU6PofB5T5ZF2QIgIO9OHAF4QJcARThh0V/f TJvg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@xen.org header.s=20200302mail header.b=tSR60kzS; spf=pass (google.com: domain of oss-security-return-30135-linux.lists.archive=gmail.com@lists.openwall.com designates 193.110.157.125 as permitted sender) smtp.mailfrom="oss-security-return-30135-linux.lists.archive=gmail.com@lists.openwall.com" Return-Path: Received: from second.openwall.net (second.openwall.net. [193.110.157.125]) by mx.google.com with SMTP id j16-20020a05620a147000b0079290717401si9312001qkl.113.2024.05.08.15.20.35 for ; Wed, 08 May 2024 15:20:36 -0700 (PDT) Received-SPF: pass (google.com: domain of oss-security-return-30135-linux.lists.archive=gmail.com@lists.openwall.com designates 193.110.157.125 as permitted sender) client-ip=193.110.157.125; Authentication-Results: mx.google.com; dkim=fail header.i=@xen.org header.s=20200302mail header.b=tSR60kzS; spf=pass (google.com: domain of oss-security-return-30135-linux.lists.archive=gmail.com@lists.openwall.com designates 193.110.157.125 as permitted sender) smtp.mailfrom="oss-security-return-30135-linux.lists.archive=gmail.com@lists.openwall.com" Received: (qmail 7424 invoked by uid 550); 8 May 2024 22:20:13 -0000 Mailing-List: contact oss-security-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: oss-security@lists.openwall.com Delivered-To: mailing list oss-security@lists.openwall.com Received: (qmail 7406 invoked from network); 8 May 2024 22:20:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Date:Message-Id:Subject:CC:From:To:MIME-Version: Content-Transfer-Encoding:Content-Type; bh=9h/2wzU0Mvhn2MKrTpCI2QVVZK0bZHd1iD7FuzxTA8E=; b=tSR60kzSnRej3nVh6mY4MjCHPJ KGGsGnSctV0d2rb8HT4jpEcnuRdfMKp9Z1J8A3DEjpqr7+0AZHEzOMNR/yZaapi9ERIyHckKxHtVl bpoSB5FVw+pjsdaSv7X0r9BS/wvgTMXcB4vLp6ibDCckxRGSjANPfeFrtu1n/1onX6aU=; Content-Type: multipart/mixed; boundary="=separator"; charset="utf-8" Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) To: xen-announce@lists.xen.org, xen-devel@lists.xen.org, xen-users@lists.xen.org, oss-security@lists.openwall.com From: Xen.org security team CC: Xen.org security team Message-Id: Date: Wed, 08 May 2024 22:19:58 +0000 Subject: [oss-security] Xen Security Advisory 457 v3 (CVE-2024-27393) - Linux/xen-netfront: Memory leak due to missing cleanup function --=separator Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Xen Security Advisory CVE-2024-27393 / XSA-457 version 3 Linux/xen-netfront: Memory leak due to missing cleanup function UPDATES IN VERSION 3 ==================== CVE assigned. ISSUE DESCRIPTION ================= In netfront, xennet_alloc_one_rx_buffer() failed to call the appropriate clean-up function, resulting in a memory leak. IMPACT ====== A malicious guest userspace process can exhaust memory resources within the guest kernel, potentially leading to a guest crash (Denial of Service). It is not known whether it can be triggered remotely. VULNERABLE SYSTEMS ================== Systems with guests running Linux 5.9 and later with Xen PV network devices are affected. MITIGATION ========== For HVM guests, using emulated network devices will avoid this issue. RESOLUTION ========== The following patch in Linux resolves the issue: https://git.kernel.org/torvalds/c/037965402a010898d34f4e35327d22c0a95cd51f A copy of which is attached. xsa457.patch Linux 5.9 $ sha256sum xsa457* 9d6ae3da27f1ff92f9f45c800822beecda603d6dea6726207cee6c768416114c xsa457.patch $ NOTE ON THE LACK OF EMBARGO =========================== The issue was reported initially on a public bug tracker and fixed in public before it was realized that there was a security aspect. -----BEGIN PGP SIGNATURE----- iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmY7+mgMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZIygH/2qlkovJs5zZy4dTpsygoSnSiv6L31r2IGmMnR/c qdgtfedzctQ/ibw0iaz/37w/d0F3lo/lg3iWnVgCcIfV384MvvoArFsOZ4v/RRXL b0XiNCb0k5xLpw9R86f7oG7cDw59JU+sXVjBH6GcVo86yL+HKaeli7/FZb9zkz/D VRushpxeA353u3FFdqHJcFlD68wA5nhM2JdjkPk1rrgPVc0sBLjHwrcFOrHHHuuq epYSYzWEf5HGbOf+zg6NY9B0uD4Vb9J3xa+xcYaHfPlQ1Jexw5GA7vBMO82qcR57 lRwAOav844fHw+lNxizfg8+4ayFpOCyGX2WEag6qjN92qJE= =mMwm -----END PGP SIGNATURE----- --=separator Content-Type: application/octet-stream; name="xsa457.patch" Content-Disposition: attachment; filename="xsa457.patch" Content-Transfer-Encoding: base64 RnJvbSAwMzc5NjU0MDJhMDEwODk4ZDM0ZjRlMzUzMjdkMjJjMGE5NWNkNTFm IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBKZXNwZXIgRGFuZ2Fh cmQgQnJvdWVyIDxoYXdrQGtlcm5lbC5vcmc+CkRhdGU6IFdlZCwgMjcgTWFy IDIwMjQgMTM6MTQ6NTYgKzAxMDAKU3ViamVjdDogeGVuLW5ldGZyb250OiBB ZGQgbWlzc2luZyBza2JfbWFya19mb3JfcmVjeWNsZQoKTm90aWNlIHRoYXQg c2tiX21hcmtfZm9yX3JlY3ljbGUoKSBpcyBpbnRyb2R1Y2VkIGxhdGVyIHRo YW4gZml4Z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