lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025032710-CVE-2023-52996-7c1f@gregkh>
Date: Thu, 27 Mar 2025 17:43:43 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2023-52996: ipv4: prevent potential spectre v1 gadget in fib_metrics_match()

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ipv4: prevent potential spectre v1 gadget in fib_metrics_match()

if (!type)
        continue;
    if (type > RTAX_MAX)
        return false;
    ...
    fi_val = fi->fib_metrics->metrics[type - 1];

@type being used as an array index, we need to prevent
cpu speculation or risk leaking kernel memory content.

The Linux kernel CVE team has assigned CVE-2023-52996 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 4.14 with commit 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 and fixed in 5.4.231 with commit 8f0eb24f1a7a60ce635f0d757a46f1a37a4d467d
	Issue introduced in 4.14 with commit 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 and fixed in 5.10.166 with commit 7f9828fb1f688210e681268490576f0ca65c322a
	Issue introduced in 4.14 with commit 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 and fixed in 5.15.91 with commit ca3cf947760de050d558293002ad3e7f4b8745d2
	Issue introduced in 4.14 with commit 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 and fixed in 6.1.9 with commit f9753ebd61be2d957b5504cbd3fd719674f05b7a
	Issue introduced in 4.14 with commit 5f9ae3d9e7e4ad6db0491abc7c4ae5452dbeadd8 and fixed in 6.2 with commit 5e9398a26a92fc402d82ce1f97cc67d832527da0

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-2023-52996
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/ipv4/fib_semantics.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/8f0eb24f1a7a60ce635f0d757a46f1a37a4d467d
	https://git.kernel.org/stable/c/7f9828fb1f688210e681268490576f0ca65c322a
	https://git.kernel.org/stable/c/ca3cf947760de050d558293002ad3e7f4b8745d2
	https://git.kernel.org/stable/c/f9753ebd61be2d957b5504cbd3fd719674f05b7a
	https://git.kernel.org/stable/c/5e9398a26a92fc402d82ce1f97cc67d832527da0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ