GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2023-54299 (GCVE-0-2023-54299)

Vulnerability from cvelistv5 – Published: 2025-12-30 12:23 – Updated: 2026-05-11 19:59
VLAI
Title
usb: typec: bus: verify partner exists in typec_altmode_attention
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: typec: bus: verify partner exists in typec_altmode_attention Some usb hubs will negotiate DisplayPort Alt mode with the device but will then negotiate a data role swap after entering the alt mode. The data role swap causes the device to unregister all alt modes, however the usb hub will still send Attention messages even after failing to reregister the Alt Mode. type_altmode_attention currently does not verify whether or not a device's altmode partner exists, which results in a NULL pointer error when dereferencing the typec_altmode and typec_altmode_ops belonging to the altmode partner. Verify the presence of a device's altmode partner before sending the Attention message to the Alt Mode driver.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 , < 5f71716772b88cbe0e1788f6a38d7871aff2120b (git)
Affected: 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 , < 38e1f2ee82bacbbfded8f1c06794a443d038d054 (git)
Affected: 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 , < 0ad6bad31da692f8d7acacab07eabe7586239ae0 (git)
Affected: 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 , < 0d3b5fe47938e9c451466845304a2bd74e967a80 (git)
Affected: 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 , < d49547950bf7f3480d6ca05fe055978e5f0d9e5b (git)
Affected: 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 , < 1101867a1711c27d8bbe0e83136bec47f8c1ca2a (git)
Affected: 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 , < f23643306430f86e2f413ee2b986e0773e79da31 (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.19
Unaffected: 0 , < 4.19 (semver)
Unaffected: 5.4.257 , ≤ 5.4.* (semver)
Unaffected: 5.10.195 , ≤ 5.10.* (semver)
Unaffected: 5.15.132 , ≤ 5.15.* (semver)
Unaffected: 6.1.53 , ≤ 6.1.* (semver)
Unaffected: 6.4.16 , ≤ 6.4.* (semver)
Unaffected: 6.5.3 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/typec/bus.c",
            "drivers/usb/typec/tcpm/tcpm.c",
            "include/linux/usb/typec_altmode.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5f71716772b88cbe0e1788f6a38d7871aff2120b",
              "status": "affected",
              "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
              "versionType": "git"
            },
            {
              "lessThan": "38e1f2ee82bacbbfded8f1c06794a443d038d054",
              "status": "affected",
              "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
              "versionType": "git"
            },
            {
              "lessThan": "0ad6bad31da692f8d7acacab07eabe7586239ae0",
              "status": "affected",
              "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
              "versionType": "git"
            },
            {
              "lessThan": "0d3b5fe47938e9c451466845304a2bd74e967a80",
              "status": "affected",
              "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
              "versionType": "git"
            },
            {
              "lessThan": "d49547950bf7f3480d6ca05fe055978e5f0d9e5b",
              "status": "affected",
              "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
              "versionType": "git"
            },
            {
              "lessThan": "1101867a1711c27d8bbe0e83136bec47f8c1ca2a",
              "status": "affected",
              "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
              "versionType": "git"
            },
            {
              "lessThan": "f23643306430f86e2f413ee2b986e0773e79da31",
              "status": "affected",
              "version": "8a37d87d72f0c69f837229c04d2fcd7117ea57e7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/typec/bus.c",
            "drivers/usb/typec/tcpm/tcpm.c",
            "include/linux/usb/typec_altmode.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.19"
            },
            {
              "lessThan": "4.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.132",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.195",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.132",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.53",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.16",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.3",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: bus: verify partner exists in typec_altmode_attention\n\nSome usb hubs will negotiate DisplayPort Alt mode with the device\nbut will then negotiate a data role swap after entering the alt\nmode. The data role swap causes the device to unregister all alt\nmodes, however the usb hub will still send Attention messages\neven after failing to reregister the Alt Mode. type_altmode_attention\ncurrently does not verify whether or not a device\u0027s altmode partner\nexists, which results in a NULL pointer error when dereferencing\nthe typec_altmode and typec_altmode_ops belonging to the altmode\npartner.\n\nVerify the presence of a device\u0027s altmode partner before sending\nthe Attention message to the Alt Mode driver."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:59:16.752Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5f71716772b88cbe0e1788f6a38d7871aff2120b"
        },
        {
          "url": "https://git.kernel.org/stable/c/38e1f2ee82bacbbfded8f1c06794a443d038d054"
        },
        {
          "url": "https://git.kernel.org/stable/c/0ad6bad31da692f8d7acacab07eabe7586239ae0"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d3b5fe47938e9c451466845304a2bd74e967a80"
        },
        {
          "url": "https://git.kernel.org/stable/c/d49547950bf7f3480d6ca05fe055978e5f0d9e5b"
        },
        {
          "url": "https://git.kernel.org/stable/c/1101867a1711c27d8bbe0e83136bec47f8c1ca2a"
        },
        {
          "url": "https://git.kernel.org/stable/c/f23643306430f86e2f413ee2b986e0773e79da31"
        }
      ],
      "title": "usb: typec: bus: verify partner exists in typec_altmode_attention",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-54299",
    "datePublished": "2025-12-30T12:23:35.146Z",
    "dateReserved": "2025-12-30T12:06:44.528Z",
    "dateUpdated": "2026-05-11T19:59:16.752Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-54299",
      "date": "2026-09-14",
      "epss": "0.00202",
      "percentile": "0.10251"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-54299\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:19.010\",\"lastModified\":\"2026-06-17T06:47:10.947\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: typec: bus: verify partner exists in typec_altmode_attention\\n\\nSome usb hubs will negotiate DisplayPort Alt mode with the device\\nbut will then negotiate a data role swap after entering the alt\\nmode. The data role swap causes the device to unregister all alt\\nmodes, however the usb hub will still send Attention messages\\neven after failing to reregister the Alt Mode. type_altmode_attention\\ncurrently does not verify whether or not a device\u0027s altmode partner\\nexists, which results in a NULL pointer error when dereferencing\\nthe typec_altmode and typec_altmode_ops belonging to the altmode\\npartner.\\n\\nVerify the presence of a device\u0027s altmode partner before sending\\nthe Attention message to the Alt Mode driver.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\\n\\nusb: typec: bus: verificar que el socio existe en typec_altmode_attention\\n\\nAlgunos concentradores USB negociar\u00e1n el modo alternativo DisplayPort con el dispositivo, pero luego negociar\u00e1n un intercambio de rol de datos despu\u00e9s de entrar en el modo alternativo. El intercambio de rol de datos hace que el dispositivo anule el registro de todos los modos alternativos; sin embargo, el concentrador USB seguir\u00e1 enviando mensajes de Atenci\u00f3n incluso despu\u00e9s de no poder volver a registrar el Modo Alternativo. type_altmode_attention actualmente no verifica si existe o no el socio de modo alternativo de un dispositivo, lo que resulta en un error de puntero NULL al desreferenciar el typec_altmode y typec_altmode_ops pertenecientes al socio de modo alternativo.\\n\\nVerificar la presencia del socio de modo alternativo de un dispositivo antes de enviar el mensaje de Atenci\u00f3n al controlador del Modo Alternativo.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/usb/typec/bus.c\",\"drivers/usb/typec/tcpm/tcpm.c\",\"include/linux/usb/typec_altmode.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"8a37d87d72f0c69f837229c04d2fcd7117ea57e7\",\"lessThan\":\"5f71716772b88cbe0e1788f6a38d7871aff2120b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8a37d87d72f0c69f837229c04d2fcd7117ea57e7\",\"lessThan\":\"38e1f2ee82bacbbfded8f1c06794a443d038d054\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8a37d87d72f0c69f837229c04d2fcd7117ea57e7\",\"lessThan\":\"0ad6bad31da692f8d7acacab07eabe7586239ae0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8a37d87d72f0c69f837229c04d2fcd7117ea57e7\",\"lessThan\":\"0d3b5fe47938e9c451466845304a2bd74e967a80\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8a37d87d72f0c69f837229c04d2fcd7117ea57e7\",\"lessThan\":\"d49547950bf7f3480d6ca05fe055978e5f0d9e5b\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8a37d87d72f0c69f837229c04d2fcd7117ea57e7\",\"lessThan\":\"1101867a1711c27d8bbe0e83136bec47f8c1ca2a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"8a37d87d72f0c69f837229c04d2fcd7117ea57e7\",\"lessThan\":\"f23643306430f86e2f413ee2b986e0773e79da31\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/usb/typec/bus.c\",\"drivers/usb/typec/tcpm/tcpm.c\",\"include/linux/usb/typec_altmode.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.19\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.19\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.257\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.195\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.132\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.53\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.4.16\",\"lessThanOrEqual\":\"6.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.5.3\",\"lessThanOrEqual\":\"6.5.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0ad6bad31da692f8d7acacab07eabe7586239ae0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0d3b5fe47938e9c451466845304a2bd74e967a80\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1101867a1711c27d8bbe0e83136bec47f8c1ca2a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/38e1f2ee82bacbbfded8f1c06794a443d038d054\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5f71716772b88cbe0e1788f6a38d7871aff2120b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d49547950bf7f3480d6ca05fe055978e5f0d9e5b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f23643306430f86e2f413ee2b986e0773e79da31\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-29T23:42:47+00:00",
      "cve": "CVE-2023-54299",
      "id": "CVE-2023-54299",
      "initial_release_date": "2023-01-01T00:00:00+00:00",
      "product_status:fixed": "280",
      "product_status:known_affected": "98",
      "product_status:known_not_affected": "98",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: usb: typec: bus: verify partner exists in typec_altmode_attention",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-54299.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-11T02:18:12Z",
      "cve": "CVE-2023-54299",
      "id": "CVE-2023-54299",
      "initial_release_date": "2025-12-31T00:26:23Z",
      "product_status:known_affected": "518",
      "product_status:known_not_affected": "165",
      "product_status:recommended": "408",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2023-54299",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-54299.json",
      "version": "39"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…