nvme-tcp: fix NULL pointer dereferences in nvmet_tcp_build_pdu_iovec
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 14 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-476.
Summary
In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: fix NULL pointer dereferences in nvmet_tcp_build_pdu_iovec Commit efa56305908b ("nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length") added ttag bounds checking and data_offset validation in nvmet_tcp_handle_h2c_data_pdu(), but it did not validate whether the command's data structures (cmd->req.sg and cmd->iov) have been properly initialized before processing H2C_DATA PDUs. The nvmet_tcp_build_pdu_iovec() function dereferences these pointers without NULL checks. This can be triggered by sending H2C_DATA PDU immediately after the ICREQ/ICRESP handshake, before sending a CONNECT command or NVMe write command. Attack vectors that trigger NULL pointer dereferences: 1. H2C_DATA PDU sent before CONNECT → both pointers NULL 2. H2C_DATA PDU for READ command → cmd->req.sg allocated, cmd->iov NULL 3. H2C_DATA PDU for uninitialized command slot → both pointers NULL The fix validates both cmd->req.sg and cmd->iov before calling nvmet_tcp_build_pdu_iovec(). Both checks are required because: - Uninitialized commands: both NULL - READ commands: cmd->req.sg allocated, cmd->iov NULL - WRITE commands: both allocated
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- 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 | 5.10.209 to before 5.10.249; 5.15.148 to before 5.15.199; 6.1.75 to before 6.1.162; 6.6.14 to before 6.6.122; 5.4.268 to before 5.5; 6.7.2 to before 6.8 | 5.10.249, 5.15.199, 6.1.162, 6.6.122, 5.5, 6.8 | Patch available | CNA |
| Linux | Linux | 6.8 and later | 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.67, 6.18.7, 6.19 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.209 to before 5.10.249; 5.15.148 to before 5.15.199; 6.1.75 to before 6.1.162; 6.6.14 to before 6.6.122; 5.4.268 to before 5.5; 6.7.2 to before 6.8 Fixed in 5.10.249, 5.15.199, 6.1.162, 6.6.122, 5.5, 6.8 Patch available CNA
- Linux VendorLinux Affected 6.8 and later Fixed in 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.67, 6.18.7, 6.19 Patch available CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.4.268 to before 5.5; 5.10.209 to before 5.10.249; 5.15.148 to before 5.15.199; 6.1.75 to before 6.1.162; 6.6.14 to before 6.6.122; 6.7.2 to before 6.12.67; 6.13 to before 6.18.7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:* | 6.19 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:* | 6.19 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:* | 6.19 rc3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:* | 6.19 rc4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:* | 6.19 rc5 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.4.268 to before 5.5; 5.10.209 to before 5.10.249; 5.15.148 to before 5.15.199; 6.1.75 to before 6.1.162; 6.6.14 to before 6.6.122; 6.7.2 to before 6.12.67; 6.13 to before 6.18.7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:rc1:*:*:*:*:*:* Versions 6.19 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:rc2:*:*:*:*:*:* Versions 6.19 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:rc3:*:*:*:*:*:* Versions 6.19 rc3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:rc4:*:*:*:*:*:* Versions 6.19 rc4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.19:rc5:*:*:*:*:*:* Versions 6.19 rc5 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.249, 5.15.199, 6.1.162, 6.6.122, 5.5, 6.8
- Fix · CNA Linux (Linux) Fixed in 5.10.249, 5.15.199, 6.1.162, 6.6.122, 6.12.67, 6.18.7, 6.19
Red Hat 4 advisories
- RHSA-2026:2722 Released 2026-02-16 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-611.34.1.el9_7, kernel-64k-debug-devel-matched-5.14.0-611.34.1.el9_7, kernel-64k-devel-5.14.0-611.34.1.el9_7 +12
- Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-611.34.1.el9_7, kernel-64k-5.14.0-611.34.1.el9_7, kernel-64k-core-5.14.0-611.34.1.el9_7 +28
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-611.34.1.el9_7, libperf-5.14.0-611.34.1.el9_7
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-611.34.1.el9_7, kernel-rt-64k-5.14.0-611.34.1.el9_7, kernel-rt-64k-core-5.14.0-611.34.1.el9_7 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-611.34.1.el9_7, kernel-rt-core-5.14.0-611.34.1.el9_7, kernel-rt-debug-5.14.0-611.34.1.el9_7 +9
- RHSA-2026:2721 Released 2026-02-16 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-124.38.1.el10_1, kernel-64k-debug-devel-matched-6.12.0-124.38.1.el10_1, kernel-64k-devel-6.12.0-124.38.1.el10_1 +12
- Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-124.38.1.el10_1, kernel-64k-6.12.0-124.38.1.el10_1, kernel-64k-core-6.12.0-124.38.1.el10_1 +29
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-124.38.1.el10_1, libperf-6.12.0-124.38.1.el10_1
- Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-124.38.1.el10_1, kernel-rt-64k-6.12.0-124.38.1.el10_1, kernel-rt-64k-core-6.12.0-124.38.1.el10_1 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-124.38.1.el10_1, kernel-rt-core-6.12.0-124.38.1.el10_1, kernel-rt-debug-6.12.0-124.38.1.el10_1 +9
- RHSA-2026:2378 Released 2026-02-10 · Red Hat rating Moderatekernel-rt security update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.104.1.rt7.445.el8_10, kernel-rt-core-4.18.0-553.104.1.rt7.445.el8_10, kernel-rt-debug-4.18.0-553.104.1.rt7.445.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.104.1.rt7.445.el8_10, kernel-rt-core-4.18.0-553.104.1.rt7.445.el8_10, kernel-rt-debug-4.18.0-553.104.1.rt7.445.el8_10 +7
Show 1 more Red Hat advisories
- RHSA-2026:2264 Released 2026-02-09 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.104.1.el8_10, kernel-4.18.0-553.104.1.el8_10, kernel-abi-stablelists-4.18.0-553.104.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.104.1.el8_10
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:2721 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:2722 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:2721 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2026:2264 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:2722 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2026:2264 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:2721 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:2722 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2026:2378 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2026:2378 |
| Red Hat Enterprise Linux Real Time (v. 10) | Fixed | RHSA-2026:2721 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2026:2722 |
| Red Hat Enterprise Linux Real Time for NFV (v. 10) | Fixed | RHSA-2026:2721 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2026:2722 |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22998
- 2026-10-03 Alias added: GHSA-xjx5-8v38-q6gh
- 2026-10-19 Weakness changed · CISA ADP
References
Patch 7
- https://git.kernel.org/stable/c/baabe43a0edefac8cd7b981ff87f967f6034dafe
- https://git.kernel.org/stable/c/76abc83a9d25593c2b7613c549413079c14a4686
- https://git.kernel.org/stable/c/7d75570002929d20e40110d6b03e46202c9d1bc7
- https://git.kernel.org/stable/c/fdecd3b6aac10d5a18d0dc500fe57f8648b66cd4
- https://git.kernel.org/stable/c/3def5243150716be86599c2a1767c29c68838b6d
- https://git.kernel.org/stable/c/374b095e265fa27465f34780e0eb162ff1bef913
- https://git.kernel.org/stable/c/32b63acd78f577b332d976aa06b56e70d054cbba
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-2026-22998 · CVE Program
- CVE-2026-22998 · NVD
- FIRST EPSS
- GHSA-xjx5-8v38-q6gh · GitHub Advisory Database · CC BY 4.0
- CVE-2026-22998 · 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