CVE-2026-22998 Details
Description
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
A vulnerability in the Linux kernel's NVMe over TCP implementation can lead to NULL pointer dereferences, causing a kernel panic. This issue arises in the 'nvmet_tcp_build_pdu_iovec' function, which dereferences command data structure pointers without proper NULL checks. The vulnerability can be exploited by sending H2C_DATA PDUs immediately after the ICREQ/ICRESP handshake, but before a CONNECT or NVMe write command is issued. The lack of validation for the command's data structures allows for exploitation in various scenarios, such as uninitialized command slots or during READ operations, where only certain pointers are allocated.
The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version where this issue has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/32b63acd78f577b332d976aa06b56e70d054cbba | kernel.org | Patch |
| https://git.kernel.org/stable/c/374b095e265fa27465f34780e0eb162ff1bef913 | kernel.org | Patch |
| https://git.kernel.org/stable/c/3def5243150716be86599c2a1767c29c68838b6d | kernel.org | Patch |
| https://git.kernel.org/stable/c/76abc83a9d25593c2b7613c549413079c14a4686 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7d75570002929d20e40110d6b03e46202c9d1bc7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/baabe43a0edefac8cd7b981ff87f967f6034dafe | kernel.org | Patch |
| https://git.kernel.org/stable/c/fdecd3b6aac10d5a18d0dc500fe57f8648b66cd4 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.4.268, < 5.5 >= 5.10.209, < 5.10.249 >= 5.15.148, < 5.15.199 >= 6.1.75, < 6.1.162 >= 6.6.14, < 6.6.122 >= 6.7.2, < 6.12.67 >= 6.13, < 6.18.7 6.19 rc1 6.19 rc2 6.19 rc3 6.19 rc4 6.19 rc5 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | kernel.org |
| Oct 19, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 27, 2026 | CVE Modified | kernel.org |
| Mar 18, 2026 | Reanalysis | [email protected] |
| Feb 26, 2026 | Initial Analysis | [email protected] |
| Feb 6, 2026 | CVE Modified | kernel.org |
| Jan 30, 2026 | CVE Modified | kernel.org |
| Jan 25, 2026 | New CVE Received | kernel.org |