{"api_version":"1","generated_at":"2026-10-21T20:29:17+00:00","cve":"CVE-2026-98761","urls":{"html":"https://cve.report/CVE-2026-98761","api":"https://cve.report/api/cve/CVE-2026-98761.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98761","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98761"},"summary":{"title":"usb: typec: tcpm: recover after failure to start the frs ams","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]","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:29","updated_at":"2026-10-21 13:21:44"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d6b0cce612636f79f2cf0652fce40a0cbff7f0ed","name":"https://git.kernel.org/stable/c/d6b0cce612636f79f2cf0652fce40a0cbff7f0ed","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b2ed8643face247e513fad12e193378ba67a61a1","name":"https://git.kernel.org/stable/c/b2ed8643face247e513fad12e193378ba67a61a1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ae8aae45a39fcf2c64813652fcb062eace220712","name":"https://git.kernel.org/stable/c/ae8aae45a39fcf2c64813652fcb062eace220712","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/184d842121e7d1fbc3a81895f36f72fa27444163","name":"https://git.kernel.org/stable/c/184d842121e7d1fbc3a81895f36f72fa27444163","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/90156585765b29304f07b0e4a1c56a969876fcfc","name":"https://git.kernel.org/stable/c/90156585765b29304f07b0e4a1c56a969876fcfc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98761","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98761","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0908c5aca31eb5e0c72d7a5dba422629b88e877d ae8aae45a39fcf2c64813652fcb062eace220712 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0908c5aca31eb5e0c72d7a5dba422629b88e877d 184d842121e7d1fbc3a81895f36f72fa27444163 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0908c5aca31eb5e0c72d7a5dba422629b88e877d b2ed8643face247e513fad12e193378ba67a61a1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0908c5aca31eb5e0c72d7a5dba422629b88e877d d6b0cce612636f79f2cf0652fce40a0cbff7f0ed git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 0908c5aca31eb5e0c72d7a5dba422629b88e877d 90156585765b29304f07b0e4a1c56a969876fcfc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.160 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.113 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.56 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.10 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/usb/typec/tcpm/tcpm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ae8aae45a39fcf2c64813652fcb062eace220712","status":"affected","version":"0908c5aca31eb5e0c72d7a5dba422629b88e877d","versionType":"git"},{"lessThan":"184d842121e7d1fbc3a81895f36f72fa27444163","status":"affected","version":"0908c5aca31eb5e0c72d7a5dba422629b88e877d","versionType":"git"},{"lessThan":"b2ed8643face247e513fad12e193378ba67a61a1","status":"affected","version":"0908c5aca31eb5e0c72d7a5dba422629b88e877d","versionType":"git"},{"lessThan":"d6b0cce612636f79f2cf0652fce40a0cbff7f0ed","status":"affected","version":"0908c5aca31eb5e0c72d7a5dba422629b88e877d","versionType":"git"},{"lessThan":"90156585765b29304f07b0e4a1c56a969876fcfc","status":"affected","version":"0908c5aca31eb5e0c72d7a5dba422629b88e877d","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/usb/typec/tcpm/tcpm.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.12"},{"lessThan":"5.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.160","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.113","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.56","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.160","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.113","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.56","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.10","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"5.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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]"}],"providerMetadata":{"dateUpdated":"2026-10-21T12:56:35.486Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ae8aae45a39fcf2c64813652fcb062eace220712"},{"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"}],"title":"usb: typec: tcpm: recover after failure to start the frs ams","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98761","datePublished":"2026-10-18T15:47:51.757Z","dateReserved":"2026-09-25T10:25:14.368Z","dateUpdated":"2026-10-21T12:56:35.486Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:29","lastModifiedDate":"2026-10-21 13:21:44","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98761","Ordinal":"1","Title":"usb: typec: tcpm: recover after failure to start the frs ams","CVE":"CVE-2026-98761","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98761","Ordinal":"1","NoteData":"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]","Type":"Description","Title":"usb: typec: tcpm: recover after failure to start the frs ams"}]}}}