sadrobot

← Vissza a havi listához · Linux →

CVE-2026-99858 Linux · Linux

9.8 Kritikus

MI-összefoglaló

A Linux kernel nvmet-rdma célkódjában a nvmet_rdma_map_sgl_inline() eltolásellenőrzése túlcsordulhat, ami határon túli írást okoz. Távoli RDMA fél hitelesítés nélkül, már a Connect kapszulával kiválthatja, várhatóan a cél összeomlását (távoli DoS) okozva. Kritikus (CVSS 9.8), mielőbbi frissítés javasolt.

Hivatalos leírás

In the Linux kernel, the following vulnerability has been resolved: nvmet-rdma: fix out-of-bounds write in nvmet_rdma_map_sgl_inline() nvmet_rdma_map_sgl_inline() bounds the host-supplied in-capsule SGL offset with "off + len > inline_data_size", evaluated in 64-bit arithmetic. off is taken straight from the host SGL descriptor (le64_to_cpu(sgl->addr)) and len is promoted to 64-bit, so the sum wraps: an off within len of 2^64 makes it small and the check passes. off is then used as page_idx = off / PAGE_SIZE to index the fixed-size rsp->cmd->inline_sg[] array (NVMET_RDMA_MAX_INLINE_SGE entries), so a crafted offset yields an out-of-bounds scatterlist index that is written through in nvmet_rdma_use_inline_sg(). The mapping runs while handling a received capsule, before the command executes, so a remote RDMA peer can reach it (the Connect capsule is a write and takes this path on a queue that has no controller yet). The host controls only the low bits of the resulting displacement, so the expected impact is an out-of-bounds write that faults the target (remote denial of service). This wrap was reported, with a KASAN reproduction, on linux-nvme in May, and the check below was suggested in that thread. The fix that was applied, 48c0162f647b, reworked how the offset is mapped but kept the original check, and its page index turns a wrapped offset into an out-of-bounds index into inline_sg[]. Reject the offset before it can wrap. Found independently by static analysis with AI assistance, not reproduced at runtime.

Megjelent
2026-11-30 14:20 UTC
Módosítva
2026-12-01 06:17 UTC
CVSS
9.8 Kritikus CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
ENISA EUVD
EUVD-2026-138346
Kategória
Operációs rendszer

CVSS-vektor

Támadási útvonal
hálózatról
Bonyolultság
alacsony
Szükséges jogosultság
nem kell
Felhasználói közreműködés
nem kell
Hatókör
változatlan
Bizalmasság
magas
Sértetlenség
magas
Rendelkezésre állás
magas

Hivatkozások