{"id":"CVE-2026-74754","aliases":["CVE-2026-74754"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: core: pair EH runtime PM get and put","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-08-26T14:37:00.766Z","modified":"2026-10-30T13:20:06.040Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ae0751ffc77e7f21629970fdab5528c573e637f8","fixed":"9aca00c74730f4bc12d0717d33db637a16ccdfea","status":"affected"},{"type":"git","introduced":"ae0751ffc77e7f21629970fdab5528c573e637f8","fixed":"1ec5f6aa38ea990af37c49af7a4bb3db00da7f9d","status":"affected"},{"type":"git","introduced":"ae0751ffc77e7f21629970fdab5528c573e637f8","fixed":"0038a2a75a15d163f428c93103c6d02d4d231a7a","status":"affected"},{"type":"git","introduced":"ae0751ffc77e7f21629970fdab5528c573e637f8","fixed":"fdc93f4a801077efbf1b87570ade8d8f325de62f","status":"affected"},{"type":"git","introduced":"ae0751ffc77e7f21629970fdab5528c573e637f8","fixed":"e83eed1bea142c8fe852fd53156845b88252ecd8","status":"affected"},{"type":"git","introduced":"ae0751ffc77e7f21629970fdab5528c573e637f8","fixed":"872f486259ae0bc6b73ca4735a15d013241f73e9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.3","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.10","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9aca00c74730f4bc12d0717d33db637a16ccdfea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ec5f6aa38ea990af37c49af7a4bb3db00da7f9d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0038a2a75a15d163f428c93103c6d02d4d231a7a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fdc93f4a801077efbf1b87570ade8d8f325de62f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e83eed1bea142c8fe852fd53156845b88252ecd8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/872f486259ae0bc6b73ca4735a15d013241f73e9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74754","url":"https://www.cve.org/CVERecord?id=CVE-2026-74754","licence":"CVE Terms of Use","modified":"2026-10-30T12:30:32.806Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74754","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74754","licence":"Public domain","modified":"2026-10-30T13:20:06.040Z"}],"updatedAt":"2026-11-25T22:59:35.380Z","epss":{"score":0.00206,"percentile":0.11299,"date":"2026-12-01T12:00:22.000Z"}}