[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022609-CVE-2025-21789-9691@gregkh>
Date: Wed, 26 Feb 2025 18:17:45 -0800
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-21789: LoongArch: csum: Fix OoB access in IP checksum code for negative lengths
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
LoongArch: csum: Fix OoB access in IP checksum code for negative lengths
Commit 69e3a6aa6be2 ("LoongArch: Add checksum optimization for 64-bit
system") would cause an undefined shift and an out-of-bounds read.
Commit 8bd795fedb84 ("arm64: csum: Fix OoB access in IP checksum code
for negative lengths") fixes the same issue on ARM64.
The Linux kernel CVE team has assigned CVE-2025-21789 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.4 with commit 69e3a6aa6be21de6aaf38130fad97ecde34a193c and fixed in 6.6.79 with commit 964a8895704a22efc06a2a3276b624a5ae985a06
Issue introduced in 6.4 with commit 69e3a6aa6be21de6aaf38130fad97ecde34a193c and fixed in 6.12.16 with commit 9f15a8df542c0f08732a67d1a14ee7c22948fb97
Issue introduced in 6.4 with commit 69e3a6aa6be21de6aaf38130fad97ecde34a193c and fixed in 6.13.4 with commit d6508ffff32b44b6d0de06704034e4eef1c307a7
Issue introduced in 6.4 with commit 69e3a6aa6be21de6aaf38130fad97ecde34a193c and fixed in 6.14-rc3 with commit 6287f1a8c16138c2ec750953e35039634018c84a
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-2025-21789
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:
arch/loongarch/lib/csum.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/964a8895704a22efc06a2a3276b624a5ae985a06
https://git.kernel.org/stable/c/9f15a8df542c0f08732a67d1a14ee7c22948fb97
https://git.kernel.org/stable/c/d6508ffff32b44b6d0de06704034e4eef1c307a7
https://git.kernel.org/stable/c/6287f1a8c16138c2ec750953e35039634018c84a
Powered by blists - more mailing lists