CVE-2026-89482
Kritisch 9,8In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: do not accept C2HData based on blk_rq_payload_bytes() alone Commit 25e5cb780e62 ("...
- CVSS
- 9,8 (v3.1)
- Angriffswahrscheinlichkeit (EPSS)
- 0,71 % (höher als 54,9 % aller Lücken)
- Veröffentlicht
- 11.09.2026
- Zuletzt geändert
- 19.10.2026
Beschreibung
In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: do not accept C2HData based on blk_rq_payload_bytes() alone Commit 25e5cb780e62 ("nvme-tcp: fix possible crash in write_zeroes processing") established that blk_rq_payload_bytes() must not be read without first checking blk_rq_nr_phys_segments(), and recorded the result in nvme_tcp_setup_cmd_pdu() as req->data_len. The receive side was left as it was. The two differ for REQ_OP_WRITE_ZEROES, which has no physical segments but a non-zero blk_rq_bytes(), so setup leaves req->iter untouched while the receive gate lets a C2HData through and nvme_tcp_recv_data() copies into whatever the previous command on that tag left there. The driver-private area is zeroed only when the tag set is allocated. Reproduced with a test target that leaves a residual iterator on a tag and then sends a C2HData for a WRITE_ZEROES command on the same tag: BUG: KASAN: wild-memory-access in _copy_to_iter+0x642/0x1330 Write of size 512 at addr ffe728c2175dfa81 by task kworker/0:1H/103 CPU: 0 UID: 0 PID: 103 Comm: kworker/0:1H Not tainted 7.2.0-rc5-NVMETCP-gf5098b6bae76 #1 PREEMPT(lazy) Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: nvme_tcp_wq nvme_tcp_io_work Call Trace: <TASK> dump_stack_lvl+0x53/0x70 kasan_report+0xce/0x100 ? _copy_to_iter+0x642/0x1330 kasan_check_range+0x105/0x1b0 __asan_memcpy+0x3c/0x60 _copy_to_iter+0x642/0x1330 ? __pfx_sock_has_perm+0x10/0x10 ? worker_thread+0x45b/0xd10 ? __pfx__copy_to_iter+0x10/0x10 ? _raw_spin_lock_bh+0x83/0xe0 ? __pfx__raw_spin_lock_bh+0x10/0x10 __skb_datagram_iter+0xf3/0x820 ? __pfx_simple_copy_to_iter+0x10/0x10 ? __asan_memcpy+0x3c/0x60 ? skb_copy_bits+0x58d/0x830 skb_copy_datagram_iter+0x37/0x120 nvme_tcp_recv_skb+0xa07/0x4320 ? __pfx_nvme_tcp_recv_skb+0x10/0x10 __tcp_read_sock+0x1ab/0x810 ? __pfx_nvme_tcp_recv_skb+0x10/0x10 ? __pfx_lock_sock_nested+0x10/0x10 ? __pfx___tcp_read_sock+0x10/0x10 nvme_tcp_try_recv+0x152/0x1e0 ? __pfx_nvme_tcp_try_recv+0x10/0x10 ? __pfx_mutex_unlock+0x10/0x10 nvme_tcp_io_work+0x1e4/0x6c0 ? __schedule+0x181a/0x49f0 ? __pfx_nvme_tcp_io_work+0x10/0x10 process_one_work+0x633/0x1030 Keep the blk_rq_payload_bytes() test and add req->data_len to it. The old test is what rejects a C2HData naming a tag that is no longer in flight, because blk_update_request() zeroes rq->__data_len on completion; req->data_len and req->curr_bio are driver-private and survive completion, so they cannot stand in for it. Setup initialises the iterator only when both req->curr_bio and req->data_len are set, so the gate now tests the same two.
Betroffene Pakete
| Paket | Betroffen | Behoben in |
|---|---|---|
| Debian:12 linux | alle Versionen vor 6.1.190-1 | 6.1.190-1 |
| Debian:12 linux-6.12 | alle Versionen vor 6.12.111-1~deb12u1 | 6.12.111-1~deb12u1 |
| Debian:13 linux | alle Versionen vor 6.12.111-1 | 6.12.111-1 |
| Ubuntu:22.04:LTS linux | alle Versionen vor 5.15.0-202.212 | 5.15.0-202.212 |
| Ubuntu:22.04:LTS linux-aws | alle Versionen vor 5.15.0-1119.126 | 5.15.0-1119.126 |
| Ubuntu:22.04:LTS linux-aws-5.19 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-aws-6.2 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-aws-6.5 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-aws-6.8 | alle Versionen vor 6.8.0-1069.74~22.04.1 | 6.8.0-1069.74~22.04.1 |
| Ubuntu:22.04:LTS linux-azure | alle Versionen vor 5.15.0-1125.134 | 5.15.0-1125.134 |
| Ubuntu:22.04:LTS linux-azure-5.19 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-azure-6.2 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-azure-6.5 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-azure-6.8 | alle Versionen vor 6.8.0-1073.82~22.04.1 | 6.8.0-1073.82~22.04.1 |
| Ubuntu:22.04:LTS linux-gcp | alle Versionen vor 5.15.0-1120.130 | 5.15.0-1120.130 |
| Ubuntu:22.04:LTS linux-gcp-5.19 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-gcp-6.2 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-gcp-6.5 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-gcp-6.8 | alle Versionen vor 6.8.0-1073.81~22.04.1 | 6.8.0-1073.81~22.04.1 |
| Ubuntu:22.04:LTS linux-hwe-5.19 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-hwe-6.2 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-hwe-6.5 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-hwe-6.8 | alle Versionen vor 6.8.0-149.149~22.04.1 | 6.8.0-149.149~22.04.1 |
| Ubuntu:22.04:LTS linux-ibm | alle Versionen vor 5.15.0-1113.117 | 5.15.0-1113.117 |
| Ubuntu:22.04:LTS linux-ibm-6.8 | alle Versionen vor 6.8.0-1069.70~22.04.1 | 6.8.0-1069.70~22.04.1 |
| Ubuntu:22.04:LTS linux-kvm | alle Versionen vor 5.15.0-1111.116 | 5.15.0-1111.116 |
| Ubuntu:22.04:LTS linux-lowlatency | alle Versionen vor 5.15.0-197.207 | 5.15.0-197.207 |
| Ubuntu:22.04:LTS linux-lowlatency-hwe-5.19 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-lowlatency-hwe-6.2 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-lowlatency-hwe-6.5 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-lowlatency-hwe-6.8 | alle Versionen vor 6.8.0-149.149.1~22.04.1 | 6.8.0-149.149.1~22.04.1 |
| Ubuntu:22.04:LTS linux-oracle | alle Versionen vor 5.15.0-1116.122 | 5.15.0-1116.122 |
| Ubuntu:22.04:LTS linux-oracle-6.5 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:22.04:LTS linux-oracle-6.8 | alle Versionen vor 6.8.0-1067.71~22.04.1 | 6.8.0-1067.71~22.04.1 |
| Ubuntu:24.04:LTS linux | alle Versionen vor 6.8.0-149.149 | 6.8.0-149.149 |
| Ubuntu:24.04:LTS linux-aws | alle Versionen vor 6.8.0-1069.74 | 6.8.0-1069.74 |
| Ubuntu:24.04:LTS linux-aws-6.14 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-aws-6.17 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-aws-7.0 | alle Versionen vor 7.0.0-1017.18~24.04.1 | 7.0.0-1017.18~24.04.1 |
| Ubuntu:24.04:LTS linux-azure | alle Versionen vor 6.8.0-1073.82 | 6.8.0-1073.82 |
| Ubuntu:24.04:LTS linux-azure-6.11 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-azure-6.14 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-azure-6.17 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-azure-7.0 | alle Versionen vor 7.0.0-1020.21~24.04.2 | 7.0.0-1020.21~24.04.2 |
| Ubuntu:24.04:LTS linux-gcp | alle Versionen vor 6.8.0-1073.81 | 6.8.0-1073.81 |
| Ubuntu:24.04:LTS linux-gcp-6.11 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-gcp-6.14 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-gcp-6.17 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-gcp-7.0 | alle Versionen vor 7.0.0-1017.19~24.04.1 | 7.0.0-1017.19~24.04.1 |
| Ubuntu:24.04:LTS linux-hwe-6.11 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-hwe-6.14 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-hwe-6.17 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-hwe-7.0 | alle Versionen vor 7.0.0-42.42~24.04.1 | 7.0.0-42.42~24.04.1 |
| Ubuntu:24.04:LTS linux-ibm | alle Versionen vor 6.8.0-1069.70 | 6.8.0-1069.70 |
| Ubuntu:24.04:LTS linux-lowlatency | alle Versionen vor 6.8.0-149.149.1 | 6.8.0-149.149.1 |
| Ubuntu:24.04:LTS linux-lowlatency-hwe-6.11 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-oracle | alle Versionen vor 6.8.0-1067.71 | 6.8.0-1067.71 |
| Ubuntu:24.04:LTS linux-oracle-6.14 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-oracle-6.17 | alle Versionen, noch kein Fix | noch kein Fix |
| Ubuntu:24.04:LTS linux-oracle-7.0 | alle Versionen vor 7.0.0-1016.18~24.04.1 | 7.0.0-1016.18~24.04.1 |
| Ubuntu:24.04:LTS linux-vmware | alle Versionen vor 6.8.0-1010.10 | 6.8.0-1010.10 |
Quellen
Weitere Kennungen
UBUNTU-CVE-2026-89482 · DEBIAN-CVE-2026-89482
Sind Ihre Projekte betroffen?
Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.