usb: typec: ucsi: glink: fix off-by-one in connector_status (Linux Linux)

CVE-2024-53149
MEDIUM 4.6

At a glance

Source
NVD
EPSS
EPSS 0.32 % · percentile 25 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.6CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected fd662c37a1087a2631cd2544138650b153e65f90 < 8a2273e5c1beb285729aa001422967b4711c53fe ; affected 76716fd5bf09725c2c6825264147f16c21e56853 < 9a5a8b5bd72169aa7a8ec800ef57be2f2cb4d9b2 ; affected 76716fd5bf09725c2c6825264147f16c21e56853 < 6ba6f7f29e0dff47a2799e60dcd1b5c29cd811a5 ; affected 76716fd5bf09725c2c6825264147f16c21e56853 < 4a22918810980897393fa1776ea3877e4baf8cca
Linux · Linuxaffected 6.10 ; unaffected 0 < 6.10 ; unaffected 6.11.11 ≤ 6.11.* ; unaffected 6.12.2 ≤ 6.12.* ; unaffected 6.13 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD