← Back to CVE Explorer

CVE-2026-98761

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: recover after failure to start the frs ams Reset the port if the tcpm fails to start the FAST_ROLE_SWAP AMS by initiating error recovery on it. This helps in cases where some cables (incorrectly) signal an FRS to an FRS capable port during disconnection. The TCPC autonomously starts sourcing VBUS on detecting the FRS signal. However, the VBUS sourcing is left on when the FAST_ROLE_SWAP AMS fails to start (as tcpm_sink_tx_ok is 0 as CC is open due to the cable disconnect). This is because the code sets the state to INVALID_STATE without resetting the port state. Log snippet before changes: [ 101.401960] AMS FAST_ROLE_SWAP start [ 101.401971] Sink TX No Go [ 101.401982] sourcing vbus [ 101.401987] VBUS on [ 101.402159] VBUS on [ 109.257809] CC1: 0 -> 0, CC2: 5 -> 0 [state SNK_READY, polarity 1, disconnected] [ 111.267442] VBUS on After changes: [ 70.541211] AMS FAST_ROLE_SWAP start [ 70.541220] Sink TX No Go [ 70.541228] state change SNK_READY -> ERROR_RECOVERY [rev3 NONE_AMS] [ 70.541362] VBUS on [ 70.541365] sourcing vbus [ 70.541367] VBUS on [ 70.541374] state change ERROR_RECOVERY -> PORT_RESET [rev3 NONE_AMS] [ 70.541410] disable vbus discharge ret:0 [ 70.543028] Setting usb_comm capable false [ 70.544009] Setting voltage/current limit 0 mV 0 mA [ 70.544034] polarity 0 [ 70.544239] Requesting mux state 0, usb-role 0, orientation 0 [ 70.555550] cc:=0 [ 70.555595] pending state change PORT_RESET -> PORT_RESET_WAIT_OFF @ 100 ms [rev3 NONE_AMS] [ 70.555697] VBUS off [ 70.555702] VBUS VSAFE0V [ 70.555762] CC1: 5 -> 0, CC2: 0 -> 0 [state PORT_RESET, polarity 0, disconnected] [ 70.587794] VBUS off [ 70.587799] VBUS VSAFE0V [ 70.655672] state change PORT_RESET -> PORT_RESET_WAIT_OFF [delayed 100 ms] [ 70.655682] state change PORT_RESET_WAIT_OFF -> SNK_UNATTACHED [rev3 NONE_AMS] [ 70.655686] Start toggling [ 70.656274] CC1: 0 -> 0, CC2: 0 -> 0 [state TOGGLING, polarity 0, disconnected]

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:29.900000
Last modified
2026-10-30 13:21:25.487000
View original CVE JSON
{
  "id": "CVE-2026-98761",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-18T16:17:29.900",
  "lastModified": "2026-10-30T13:21:25.487",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: tcpm: recover after failure to start the frs ams\n\nReset the port if the tcpm fails to start the FAST_ROLE_SWAP AMS by\ninitiating error recovery on it.\n\nThis helps in cases where some cables (incorrectly) signal an FRS to\nan FRS capable port during disconnection. The TCPC autonomously starts\nsourcing VBUS on detecting the FRS signal. However, the VBUS sourcing is\nleft on when the FAST_ROLE_SWAP AMS fails to start (as tcpm_sink_tx_ok\nis 0 as CC is open due to the cable disconnect). This is because the\ncode sets the state to INVALID_STATE without resetting the port state.\n\nLog snippet before changes:\n[  101.401960] AMS FAST_ROLE_SWAP start\n[  101.401971] Sink TX No Go\n[  101.401982] sourcing vbus\n[  101.401987] VBUS on\n[  101.402159] VBUS on\n[  109.257809] CC1: 0 -> 0, CC2: 5 -> 0 [state SNK_READY, polarity 1, disconnected]\n[  111.267442] VBUS on\n\nAfter changes:\n[   70.541211] AMS FAST_ROLE_SWAP start\n[   70.541220] Sink TX No Go\n[   70.541228] state change SNK_READY -> ERROR_RECOVERY [rev3 NONE_AMS]\n[   70.541362] VBUS on\n[   70.541365] sourcing vbus\n[   70.541367] VBUS on\n[   70.541374] state change ERROR_RECOVERY -> PORT_RESET [rev3 NONE_AMS]\n[   70.541410] disable vbus discharge ret:0\n[   70.543028] Setting usb_comm capable false\n[   70.544009] Setting voltage/current limit 0 mV 0 mA\n[   70.544034] polarity 0\n[   70.544239] Requesting mux state 0, usb-role 0, orientation 0\n[   70.555550] cc:=0\n[   70.555595] pending state change PORT_RESET -> PORT_RESET_WAIT_OFF @ 100 ms [rev3 NONE_AMS]\n[   70.555697] VBUS off\n[   70.555702] VBUS VSAFE0V\n[   70.555762] CC1: 5 -> 0, CC2: 0 -> 0 [state PORT_RESET, polarity 0, disconnected]\n[   70.587794] VBUS off\n[   70.587799] VBUS VSAFE0V\n[   70.655672] state change PORT_RESET -> PORT_RESET_WAIT_OFF [delayed 100 ms]\n[   70.655682] state change PORT_RESET_WAIT_OFF -> SNK_UNATTACHED [rev3 NONE_AMS]\n[   70.655686] Start toggling\n[   70.656274] CC1: 0 -> 0, CC2: 0 -> 0 [state TOGGLING, polarity 0, disconnected]"
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/usb/typec/tcpm/tcpm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "0908c5aca31eb5e0c72d7a5dba422629b88e877d",
              "lessThan": "b321eaa21555889aa42c4b45627f544565dc82c1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0908c5aca31eb5e0c72d7a5dba422629b88e877d",
              "lessThan": "7a7d9df0b82fbb40e70394b67a06670b9516ff94",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0908c5aca31eb5e0c72d7a5dba422629b88e877d",
              "lessThan": "ae8aae45a39fcf2c64813652fcb062eace220712",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0908c5aca31eb5e0c72d7a5dba422629b88e877d",
              "lessThan": "184d842121e7d1fbc3a81895f36f72fa27444163",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0908c5aca31eb5e0c72d7a5dba422629b88e877d",
              "lessThan": "b2ed8643face247e513fad12e193378ba67a61a1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0908c5aca31eb5e0c72d7a5dba422629b88e877d",
              "lessThan": "d6b0cce612636f79f2cf0652fce40a0cbff7f0ed",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0908c5aca31eb5e0c72d7a5dba422629b88e877d",
              "lessThan": "90156585765b29304f07b0e4a1c56a969876fcfc",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/usb/typec/tcpm/tcpm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.12",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.12",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.224",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.113",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.56",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.10",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/184d842121e7d1fbc3a81895f36f72fa27444163",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/7a7d9df0b82fbb40e70394b67a06670b9516ff94",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/90156585765b29304f07b0e4a1c56a969876fcfc",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/ae8aae45a39fcf2c64813652fcb062eace220712",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b2ed8643face247e513fad12e193378ba67a61a1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b321eaa21555889aa42c4b45627f544565dc82c1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d6b0cce612636f79f2cf0652fce40a0cbff7f0ed",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}