{"id":"CVE-2026-98761","title":"usb: typec: tcpm: recover after failure to start the frs ams","summary":"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…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 0908c5aca31eb5e0c72d7a5dba422629b88e877d < 184d842121e7d1fbc3a81895f36f72fa27444163","Linux >= 0908c5aca31eb5e0c72d7a5dba422629b88e877d < b2ed8643face247e513fad12e193378ba67a61a1","Linux >= 0908c5aca31eb5e0c72d7a5dba422629b88e877d < d6b0cce612636f79f2cf0652fce40a0cbff7f0ed","Linux >= 0908c5aca31eb5e0c72d7a5dba422629b88e877d < 90156585765b29304f07b0e4a1c56a969876fcfc","Linux 5.12"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T15:47:51.757Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98761","references":[{"url":"https://git.kernel.org/stable/c/184d842121e7d1fbc3a81895f36f72fa27444163"},{"url":"https://git.kernel.org/stable/c/b2ed8643face247e513fad12e193378ba67a61a1"},{"url":"https://git.kernel.org/stable/c/d6b0cce612636f79f2cf0652fce40a0cbff7f0ed"},{"url":"https://git.kernel.org/stable/c/90156585765b29304f07b0e4a1c56a969876fcfc"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T16:47:32.496Z","slug":"CVE-2026-98761","body":"## Overview\n\nIn 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]\n\n## Affected\n\n- `Linux >= 0908c5aca31eb5e0c72d7a5dba422629b88e877d < 184d842121e7d1fbc3a81895f36f72fa27444163`\n- `Linux >= 0908c5aca31eb5e0c72d7a5dba422629b88e877d < b2ed8643face247e513fad12e193378ba67a61a1`\n- `Linux >= 0908c5aca31eb5e0c72d7a5dba422629b88e877d < d6b0cce612636f79f2cf0652fce40a0cbff7f0ed`\n- `Linux >= 0908c5aca31eb5e0c72d7a5dba422629b88e877d < 90156585765b29304f07b0e4a1c56a969876fcfc`\n- `Linux 5.12`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}