[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024122427-CVE-2024-53149-8fe0@gregkh>
Date: Tue, 24 Dec 2024 12:29:29 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-53149: usb: typec: ucsi: glink: fix off-by-one in connector_status
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: ucsi: glink: fix off-by-one in connector_status
UCSI connector's indices start from 1 up to 3, PMIC_GLINK_MAX_PORTS.
Correct the condition in the pmic_glink_ucsi_connector_status()
callback, fixing Type-C orientation reporting for the third USB-C
connector.
The Linux kernel CVE team has assigned CVE-2024-53149 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.10 with commit 76716fd5bf09725c2c6825264147f16c21e56853 and fixed in 6.11.11 with commit 9a5a8b5bd72169aa7a8ec800ef57be2f2cb4d9b2
Issue introduced in 6.10 with commit 76716fd5bf09725c2c6825264147f16c21e56853 and fixed in 6.12.2 with commit 6ba6f7f29e0dff47a2799e60dcd1b5c29cd811a5
Issue introduced in 6.10 with commit 76716fd5bf09725c2c6825264147f16c21e56853 and fixed in 6.13-rc1 with commit 4a22918810980897393fa1776ea3877e4baf8cca
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-53149
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/usb/typec/ucsi/ucsi_glink.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/9a5a8b5bd72169aa7a8ec800ef57be2f2cb4d9b2
https://git.kernel.org/stable/c/6ba6f7f29e0dff47a2799e60dcd1b5c29cd811a5
https://git.kernel.org/stable/c/4a22918810980897393fa1776ea3877e4baf8cca
Powered by blists - more mailing lists