CVE-2022-50818
publishedscsi: pm8001: Fix running_req for internal abort commands
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2cbbf489778eb9dde51392ec5f74ae2868e4b857 to < 4e750e0d8e486569fcb7f4ba6f6471673ce7d8a2 · 2cbbf489778eb9dde51392ec5f74ae2868e4b857 to < a62b9fc9775fbc8e666bb328f6e53c168054d6fe · 2cbbf489778eb9dde51392ec5f74ae2868e4b857 to < d8c22c4697c11ed28062afe3c2b377025be11a23 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 5.19.17 through 5.19.* (unaffected · semver) · 6.0.3 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
Show 61 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kbaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-64kb-develaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-baseppc64le | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-devels390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-develx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchs390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatchx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-devels390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-default-livepatch-develx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-develnoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-docsnoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_133-defaultppc64le | Advisory build | 1-150500.11.3.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_133-defaults390x | Advisory build | 1-150500.11.3.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-livepatch-5_14_21-150500_55_133-defaultx86_64 | Advisory build | 1-150500.11.3.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-builds390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-obs-buildx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-sourcenoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symss390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-symsx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | kernel-zfcpdumps390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-15-SP5 | reiserfs-kmp-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultaarch64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultppc64le | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaults390x | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-defaultx86_64 | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-baseaarch64 | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-default-basex86_64 | Advisory build | 5.14.21-150500.55.133.1.150500.6.65.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-devel-rtnoarch | Advisory build | 5.14.21-150500.13.118.1 | SUSE-SU-2026:0263-1 |
| SUSE / openSUSE | SLE-5 | kernel-macrosnoarch | Advisory build | 5.14.21-150500.55.133.1 | SUSE-SU-2026:0317-1 |
| SUSE / openSUSE | SLE-5 | kernel-rtx86_64 | Advisory build | 5.14.21-150500.13.118.1 | SUSE-SU-2026:0263-1 |
| SUSE / openSUSE | SLE-5 | kernel-source-rtnoarch | Advisory build | 5.14.21-150500.13.118.1 | SUSE-SU-2026:0263-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: pm8001: Fix running_req for internal abort commands Disabling the remote phy for a SATA disk causes a hang: root@(none)$ more /sys/class/sas_phy/phy-0:0:8/target_port_protocols sata root@(none)$ echo 0 > sys/class/sas_phy/phy-0:0:8/enable root@(none)$ [ 67.855950] sas: ex 500e004aaaaaaa1f phy08 change count has changed [ 67.920585] sd 0:0:2:0: [sdc] Synchronizing SCSI cache [ 67.925780] sd 0:0:2:0: [sdc] Synchronize Cache(10) failed: Result: hostbyte=0x04 driverbyte=DRIVER_OK [ 67.935094] sd 0:0:2:0: [sdc] Stopping disk [ 67.939305] sd 0:0:2:0: [sdc] Start/Stop Unit failed: Result: hostbyte=0x04 driverbyte=DRIVER_OK ... [ 123.998998] INFO: task kworker/u192:1:642 blocked for more than 30 seconds. [ 124.005960] Not tainted 6.0.0-rc1-205202-gf26f8f761e83 #218 [ 124.012049] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 124.019872] task:kworker/u192:1 state:D stack:0 pid: 642 ppid: 2 flags:0x00000008 [ 124.028223] Workqueue: 0000:04:00.0_event_q sas_port_event_worker [ 124.034319] Call trace: [ 124.036758] __switch_to+0x128/0x278 [ 124.040333] __schedule+0x434/0xa58 [ 124.043820] schedule+0x94/0x138 [ 124.047045] schedule_timeout+0x2fc/0x368 [ 124.051052] wait_for_completion+0xdc/0x200 [ 124.055234] __flush_workqueue+0x1a8/0x708 [ 124.059328] sas_porte_broadcast_rcvd+0xa8/0xc0 [ 124.063858] sas_port_event_worker+0x60/0x98 [ 124.068126] process_one_work+0x3f8/0x660 [ 124.072134] worker_thread+0x70/0x700 [ 124.075793] kthread+0x1a4/0x1b8 [ 124.079014] ret_from_fork+0x10/0x20 The issue is that the per-device running_req read in pm8001_dev_gone_notify() never goes to zero and we never make progress. This is caused by missing accounting for running_req for when an internal abort command completes. In commit 2cbbf489778e ("scsi: pm8001: Use libsas internal abort support") we started to send internal abort commands as a proper sas_task. In this when we deliver a sas_task to HW the per-device running_req is incremented in pm8001_queue_command(). However it is never decremented for internal abort commnds, so decrement in pm8001_mpi_task_abort_resp().
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2cbbf489778eb9dde51392ec5f74ae2868e4b857 to < 4e750e0d8e486569fcb7f4ba6f6471673ce7d8a2 (affected · git)2cbbf489778eb9dde51392ec5f74ae2868e4b857 to < a62b9fc9775fbc8e666bb328f6e53c168054d6fe (affected · git)2cbbf489778eb9dde51392ec5f74ae2868e4b857 to < d8c22c4697c11ed28062afe3c2b377025be11a23 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)5.19.17 through 5.19.* (unaffected · semver)6.0.3 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
scsi: pm8001: Fix running_req for internal abort commands
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 766247094f17c9617a2fde90d6a707d51c28fb75d1d798daa688f1646ac3b6bf
- Ingested
- 23 Sep 2026, 08:04:58 UTC
- Source record
- Official CVE record