nvme-tcp: fix UAF when detecting digest errors
Published May 3, 2024
9.8
CRITICALCVSS 3.1
EPSS 0.70%
Description
We should also bail from the io_work loop when we set rd_enabled to true, so we don't attempt to read data from the socket when the TCP stream is already out-of-sync or corrupted.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 5.0StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.0
- Version 5.10.143StatusunaffectedConstraints<=5.10.*
- Version 5.15.68StatusunaffectedConstraints<=5.15.*
- Version 5.19.9StatusunaffectedConstraints<=5.19.*
- Version 5.4.213StatusunaffectedConstraints<=5.4.*
- Version 6.0StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| ||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 5.0 · < 5.4.213
- ≥ 5.5 · < 5.10.143
- ≥ 5.11 · < 5.15.68
- ≥ 5.16 · < 5.19.9
No data.
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
kernel-0:4.18.0-372.124.1.el8_6
Fixed · RHSA-2024:6998
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
kernel-0:4.18.0-372.124.1.el8_6
Fixed · RHSA-2024:6998
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
kernel-0:4.18.0-372.124.1.el8_6
Fixed · RHSA-2024:6998
Red Hat Enterprise Linux 8.8 Extended Update Support
kernel-0:4.18.0-477.81.1.el8_8
Fixed · RHSA-2024:10262
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Affected
Red Hat Enterprise Linux 8
kernel-rt
Affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | kernel-0:4.18.0-372.124.1.el8_6 | Fixed | RHSA-2024:6998 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | kernel-0:4.18.0-372.124.1.el8_6 | Fixed | RHSA-2024:6998 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | kernel-0:4.18.0-372.124.1.el8_6 | Fixed | RHSA-2024:6998 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | kernel-0:4.18.0-477.81.1.el8_8 | Fixed | RHSA-2024:10262 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This vulnerability is only for systems where NVME over TCP being used.
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (11)
- https://access.redhat.com/security/cve/CVE-2022-48686 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2278931 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-53565 Advisory
- https://git.kernel.org/stable/c/13c80a6c112467bab5e44d090767930555fc17a5 Patch
- https://git.kernel.org/stable/c/160f3549a907a50e51a8518678ba2dcf2541abea Patch
- https://git.kernel.org/stable/c/19816a0214684f70b49b25075ff8c402fdd611d3 Patch
- https://git.kernel.org/stable/c/5914fa32ef1b7766fea933f9eed94ac5c00aa7ff Patch
- https://git.kernel.org/stable/c/c3eb461aa56e6fa94fb80442ba2586bd223a8886 Patch
- https://lore.kernel.org/linux-cve-announce/2024050342-CVE-2022-48686-5e8e@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-48686
- https://www.cve.org/CVERecord?id=CVE-2022-48686
Change history (0)
No recorded changes yet.