blob: 7e83958359bdeae4e8cf2097e136b18a7699f393 [file] [log] [blame]
From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: <linux-cve-announce@vger.kernel.org>
Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org>
Subject: CVE-2024-53043: mctp i2c: handle NULL header address
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mctp i2c: handle NULL header address
daddr can be NULL if there is no neighbour table entry present,
in that case the tx packet should be dropped.
saddr will usually be set by MCTP core, but check for NULL in case a
packet is transmitted by a different protocol.
The Linux kernel CVE team has assigned CVE-2024-53043 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.18 with commit f5b8abf9fc3dacd7529d363e26fe8230935d65f8 and fixed in 6.1.116 with commit 4707893315802a0917231b94cb20cbe50ccbfe03
Issue introduced in 5.18 with commit f5b8abf9fc3dacd7529d363e26fe8230935d65f8 and fixed in 6.6.60 with commit 8e886e44397ba89f6e8da8471386112b4f5b67b7
Issue introduced in 5.18 with commit f5b8abf9fc3dacd7529d363e26fe8230935d65f8 and fixed in 6.11.7 with commit 8c222adadc1612e4f097688875962a28e3f5ab44
Issue introduced in 5.18 with commit f5b8abf9fc3dacd7529d363e26fe8230935d65f8 and fixed in 6.12 with commit 01e215975fd80af81b5b79f009d49ddd35976c13
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-53043
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:
drivers/net/mctp/mctp-i2c.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/4707893315802a0917231b94cb20cbe50ccbfe03
https://git.kernel.org/stable/c/8e886e44397ba89f6e8da8471386112b4f5b67b7
https://git.kernel.org/stable/c/8c222adadc1612e4f097688875962a28e3f5ab44
https://git.kernel.org/stable/c/01e215975fd80af81b5b79f009d49ddd35976c13