{"cve":"CVE-2026-98761","nvd":{"published":"2026-10-18T16:17:29.900","modified":"2026-10-21T13:21:44.220","status":"Received","description":"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]","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["https://git.kernel.org/stable/c/184d842121e7d1fbc3a81895f36f72fa27444163","https://git.kernel.org/stable/c/90156585765b29304f07b0e4a1c56a969876fcfc","https://git.kernel.org/stable/c/ae8aae45a39fcf2c64813652fcb062eace220712","https://git.kernel.org/stable/c/b2ed8643face247e513fad12e193378ba67a61a1","https://git.kernel.org/stable/c/d6b0cce612636f79f2cf0652fce40a0cbff7f0ed"],"products":[],"source":"nvd","synced_at":"2026-10-22T16:41:11.231219466+00:00"},"epss":{"cve":"CVE-2026-98761","score":0.00168,"percentile":0.05976,"date":"2026-10-25"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}