[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024081743-CVE-2024-42281-780b@gregkh>
Date: Sat, 17 Aug 2024 11:09:46 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-42281: bpf: Fix a segment issue when downgrading gso_size
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
bpf: Fix a segment issue when downgrading gso_size
Linearize the skb when downgrading gso_size because it may trigger a
BUG_ON() later when the skb is segmented as described in [1,2].
The Linux kernel CVE team has assigned CVE-2024-42281 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.13 with commit 2be7e212d541 and fixed in 6.1.103 with commit 11ec79f5c7f7
Issue introduced in 4.13 with commit 2be7e212d541 and fixed in 6.6.44 with commit c3496314c53e
Issue introduced in 4.13 with commit 2be7e212d541 and fixed in 6.10.3 with commit ec4eea14d75f
Issue introduced in 4.13 with commit 2be7e212d541 and fixed in 6.11-rc1 with commit fa5ef655615a
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-2024-42281
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/core/filter.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/11ec79f5c7f74261874744039bc1551023edd6b2
https://git.kernel.org/stable/c/c3496314c53e7e82ddb544c825defc3e8c0e45cf
https://git.kernel.org/stable/c/ec4eea14d75f7b0491194dd413f540dd19b8c733
https://git.kernel.org/stable/c/fa5ef655615a01533035c6139248c5b33aa27028
Powered by blists - more mailing lists