{"id":"CVE-2026-74754","published":"2026-08-26T14:37:00Z","modified":"2026-10-30T12:30:32Z","title":"scsi: core: pair EH runtime PM get and put","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: core: pair EH runtime PM get and put\n\nshost->eh_noresume is currently consulted twice in one error handling\niteration: once before scsi_autopm_get_host() and once again before\nscsi_autopm_put_host().\n\nThat is racy when a PM-triggered error path flips shost->eh_noresume\nwhile the SCSI EH thread is still running.\n\nThe problem flow looks like this:\nPM path\n  ufshcd_set_dev_pwr_mode()\n    shost->eh_noresume = 1\n    ufshcd_execute_start_stop  <-- trigger EH\n    ...\n    shost->eh_noresume = 0\n\nEH path\n  scsi_error_handler()\n    if (!shost->eh_noresume)\n      scsi_autopm_get_host()  <-- skipped\n    ...\n    if (!shost->eh_noresume)\n       scsi_autopm_put_host()  <-- executed later\n\nIn that case one EH iteration can skip autoresume on entry and still\ndrop a runtime PM reference on exit. That leaves an unmatched runtime PM\nput and can trigger a runtime PM usage count underflow.\n\nFix this by making eh_noresume a regular bool so it can be accessed with\nREAD_ONCE() and WRITE_ONCE(). Snapshot it once per EH iteration and use\nthat snapshot for both runtime PM get and put decisions.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00206,"percentile":0.10739,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9aca00c74730f4bc12d0717d33db637a16ccdfea","tags":[]},{"url":"https://git.kernel.org/stable/c/1ec5f6aa38ea990af37c49af7a4bb3db00da7f9d","tags":[]},{"url":"https://git.kernel.org/stable/c/0038a2a75a15d163f428c93103c6d02d4d231a7a","tags":[]},{"url":"https://git.kernel.org/stable/c/fdc93f4a801077efbf1b87570ade8d8f325de62f","tags":[]},{"url":"https://git.kernel.org/stable/c/e83eed1bea142c8fe852fd53156845b88252ecd8","tags":[]},{"url":"https://git.kernel.org/stable/c/872f486259ae0bc6b73ca4735a15d013241f73e9","tags":[]}],"priority":{"score":2.1,"factors":[{"name":"EPSS percentile","points":2.15}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ae0751ffc77e7f21629970fdab5528c573e637f8, < 9aca00c74730f4bc12d0717d33db637a16ccdfea",">= ae0751ffc77e7f21629970fdab5528c573e637f8, < 1ec5f6aa38ea990af37c49af7a4bb3db00da7f9d",">= ae0751ffc77e7f21629970fdab5528c573e637f8, < 0038a2a75a15d163f428c93103c6d02d4d231a7a",">= ae0751ffc77e7f21629970fdab5528c573e637f8, < fdc93f4a801077efbf1b87570ade8d8f325de62f",">= ae0751ffc77e7f21629970fdab5528c573e637f8, < e83eed1bea142c8fe852fd53156845b88252ecd8",">= ae0751ffc77e7f21629970fdab5528c573e637f8, < 872f486259ae0bc6b73ca4735a15d013241f73e9"]},{"vendor":"Linux","product":"Linux","versions":["3.3"]}],"euvd":{"id":"EUVD-2026-66584","exploited":false,"provenance":"source"}}