scsi: iscsi: Fix conn use after free during resets
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi: Fix conn use after free during resets If we haven't done a unbind target call we can race where iscsi_conn_teardown wakes up the EH thread and then frees the conn while those threads are still accessing the conn ehwait. We can only do one TMF per session so this just moves the TMF fields from the conn to the session. We can then rely on the iscsi_session_teardown->iscsi_remove_session->__iscsi_unbind_session call to remove the target and it's devices, and know after that point there is no device or scsi-ml callout trying to access the session.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.2.72 to before 3.3; 3.4.111 to before 3.5; 3.18.22 to before 3.19; 4.1.7 to before 4.2 | 3.3, 3.5, 3.19, 4.2 | Patch available | CNA |
| Linux | Linux | 4.2 and later | 4.19.198, 5.4.134, 5.10.52, 5.12.19, 5.13.4, 5.14 | Patch available | CNA |
- Linux VendorLinux Affected 3.2.72 to before 3.3; 3.4.111 to before 3.5; 3.18.22 to before 3.19; 4.1.7 to before 4.2 Fixed in 3.3, 3.5, 3.19, 4.2 Patch available CNA
- Linux VendorLinux Affected 4.2 and later Fixed in 4.19.198, 5.4.134, 5.10.52, 5.12.19, 5.13.4, 5.14 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | before 4.19.198; 4.20 to before 5.4.134; 5.5 to before 5.10.52; 5.11 to before 5.12.19; 5.13 to before 5.13.4 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions before 4.19.198; 4.20 to before 5.4.134; 5.5 to before 5.10.52; 5.11 to before 5.12.19; 5.13 to before 5.13.4 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 3.3, 3.5, 3.19, 4.2
- Fix · CNA Linux (Linux) Fixed in 4.19.198, 5.4.134, 5.10.52, 5.12.19, 5.13.4, 5.14
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
Not affected: 2 products
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-47328
- 2026-10-03 Alias added: GHSA-3whv-3wrh-jjqq
References
Patch 6
- https://git.kernel.org/stable/c/bf20d85a88384574fabb3d53ad62a8af57e7ab11
- https://git.kernel.org/stable/c/d04958a348e560938410e04a12fb99da9c7e6a00
- https://git.kernel.org/stable/c/89812e7957ab0746eab66ed6fc49d52bb4dca250
- https://git.kernel.org/stable/c/f0a031f7c55ffd944fead1ddaf2aa94df9a158c1
- https://git.kernel.org/stable/c/fa9542b35ceb4202e8f8d65f440529a63524dca9
- https://git.kernel.org/stable/c/ec29d0ac29be366450a7faffbcf8cba3a6a3b506
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2021-47328 · CVE Program
- CVE-2021-47328 · NVD
- FIRST EPSS
- GHSA-3whv-3wrh-jjqq · GitHub Advisory Database · CC BY 4.0
- CVE-2021-47328 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences