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 682FA1F8EEC for ; Mon, 21 Oct 2024 20:13:16 +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=1729541596; cv=none; b=nQWhk62lf5ujnFMbbUET2ib4HtI2o1tDzTJTYrXQHoWhNJ/BvyuxbEG/NBKfs87BhdJuj/LMtRYnPlW6uOZ6sP89UJZ1bJUN0GMejcaL66jPY5ihbLB2PWKfGduR2F8b5a0gniBjWw+wxywApFsMsnGcImAF499TRwzs2nA9ydU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729541596; c=relaxed/simple; bh=3qMpzUVELjrgLAjnoDUqZZ0w7JRkNGWTHvYAvor9+2A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ks9AWxvQWtPjp1KzsM5oStSXuzZyWL5NG3APBX+ZpOgx/yhipxokQAf5bBC/sje+8owXLSW/4eVGId2QzndALF9lCb3Lp6h16M/ZCBJYs5+F7GR0y/AdKXQ1Kfk9LgRiARCOAOMnGFWshpNLZtG1SL7HUnC9klRyA5qlj1SwzSs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hvZUWT7j; 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="hvZUWT7j" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDE86C4CEC3; Mon, 21 Oct 2024 20:13:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729541596; bh=3qMpzUVELjrgLAjnoDUqZZ0w7JRkNGWTHvYAvor9+2A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hvZUWT7jEYAVIPgnG9T2hRb7B4ebOlkjsHCKl8JEb0nLMJ3TeMoyl8WGLkOdGXruL te3Ezi9Wp5Po9U2IwAqtGoqeSvTcO/z2PJJkLW0z4jy2fc2G9dtMYj4lLO5ZYIZsSr 4w3YkeNsvRMKl18FvACoY46RnZIEZs0LIEAO1M9g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49015: net: hsr: Fix potential use-after-free Date: Mon, 21 Oct 2024 22:06:47 +0200 Message-ID: <2024102153-CVE-2022-49015-1fd0@gregkh> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2791; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3qMpzUVELjrgLAjnoDUqZZ0w7JRkNGWTHvYAvor9+2A=; b=owGbwMvMwCRo6H6F97bub03G02pJDOliWxSbfgbZfpojtEzP1Ew+2JPn2tOTjjndudwJ15Mu+ 8ll1Tl1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESM9Rjmp4sdNqk9Molrvgj3 v209tqbZWgGWDAvmhMgZGdne9Zf3l7xdKp7hYT6hLAUA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: net: hsr: Fix potential use-after-free The skb is delivered to netif_rx() which may free it, after calling this, dereferencing skb may trigger use-after-free. The Linux kernel CVE team has assigned CVE-2022-49015 to this issue. Affected and fixed versions =========================== Issue introduced in 3.13 with commit f421436a591d and fixed in 4.9.335 with commit 8393ce504080 Issue introduced in 3.13 with commit f421436a591d and fixed in 4.14.301 with commit 4b351609af4f Issue introduced in 3.13 with commit f421436a591d and fixed in 4.19.268 with commit b35d899854d5 Issue introduced in 3.13 with commit f421436a591d and fixed in 5.4.226 with commit 53a62c5efe91 Issue introduced in 3.13 with commit f421436a591d and fixed in 5.10.158 with commit 7ca81a161e40 Issue introduced in 3.13 with commit f421436a591d and fixed in 5.15.82 with commit dca370e575d9 Issue introduced in 3.13 with commit f421436a591d and fixed in 6.0.12 with commit f3add2b8cf62 Issue introduced in 3.13 with commit f421436a591d and fixed in 6.1 with commit 7e177d32442b 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-2022-49015 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/hsr/hsr_forward.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/8393ce5040803666bfa26a3a7bf41e44fab0ace9 https://git.kernel.org/stable/c/4b351609af4fdbc23f79ab2b12748f4403ea9af4 https://git.kernel.org/stable/c/b35d899854d5d5d58eb7d7e7c0f61afc60d3a9e9 https://git.kernel.org/stable/c/53a62c5efe91665f7a41fad0f888a96f94dc59eb https://git.kernel.org/stable/c/7ca81a161e406834a1fdc405fc83a572bd14b8d9 https://git.kernel.org/stable/c/dca370e575d9b6c983f5015e8dc035e23e219ee6 https://git.kernel.org/stable/c/f3add2b8cf620966de3ebfa07679ca12d33ec26f https://git.kernel.org/stable/c/7e177d32442b7ed08a9fa61b61724abc548cb248