nvmet-rdma: reject short connection requests (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.20 % · percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet-rdma: reject short connection requests nvmet_rdma_parse_cm_connect_req() treats RDMA-CM private data as a struct nvme_rdma_cm_req but accepts any nonzero private_data_len. The iWARP path allocates exactly the peer-provided length, so a six-byte MPA request reaches the parser and the hsqsize load reads two bytes past the allocation. Require the complete request structure before reading any of its fields. The decoded KASAN report is: BUG: KASAN: slab-out-of-bounds in nvmet_rdma_cm_handler (drivers/nvme/target/rdma.c:1427 drivers/nvme/target/rdma.c:1475 drivers/nvme/target/rdma.c:1614 drivers/nvme/target/rdma.c:1814) Read of size 2 at addr ff1100010459d366 by task kworker/u16:1/41 Workqueue: iw_cm_wq cm_work_handler Call Trace: <TASK> dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120) print_report (mm/kasan/report.c:378 mm/kasan/report.c:482) kasan_report (mm/kasan/report.c:595) nvmet_rdma_cm_handler (drivers/nvme/target/rdma.c:1427 drivers/nvme/target/rdma.c:1475 drivers/nvme/target/rdma.c:1614 drivers/nvme/target/rdma.c:1814) cma_cm_event_handler (drivers/infiniband/core/cma.c:2181) iw_conn_req_handler (drivers/infiniband/core/cma.c:2640) cm_work_handler (drivers/infiniband/core/cm.c:2502 drivers/infiniband/core/cm.c:3858) process_one_work (kernel/workqueue.c:3396) worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) </TASK> Allocated by task 12: __kasan_kmalloc (mm/kasan/common.c:398 mm/kasan/common.c:415) __kmalloc_node_track_caller_noprof (mm/slub.c:5414 mm/slub.c:5545) kmemdup_noprof (mm/util.c:138) cm_event_handler (drivers/infiniband/core/iwcm.c:194 drivers/infiniband/core/iwcm.c:1076) siw_cm_upcall (drivers/infiniband/sw/siw/siw_cm.c:408) siw_proc_mpareq (drivers/infiniband/sw/siw/siw_cm.c:750) siw_cm_work_handler (drivers/infiniband/sw/siw/siw_cm.c:1086) The buggy address is located 0 bytes to the right of allocated 6-byte region [ff1100010459d360, ff1100010459d366)
References
- https://git.kernel.org/stable/c/9adc20cd6765da78276428a189e7c21ec7f522e5
- https://git.kernel.org/stable/c/7a38c6f7b5681fccb5f6975943be8f7c83222eba
- https://git.kernel.org/stable/c/a646fb4f3404b228b725f0891c7c3800e0efad38
- https://git.kernel.org/stable/c/2409f47284ff77eed3fa4211149ff160607ba96d
- https://git.kernel.org/stable/c/22d0eb8d7aa4e45d22491d7cc1327010f19c86b9
- https://git.kernel.org/stable/c/36c3af0e94b6c385c4934c028cbca27e138ae1ee
- https://git.kernel.org/stable/c/c17d443d1e984a0c0840692c6435cdc455936160
- https://git.kernel.org/stable/c/635e760169a87abf03874cd4636cd91b580cb427
European references
- ENISA EUVD · EUVD-2026-126208
- GCVE · GCVE-0-2026-99302
CERT-FR advisories
- CERTFR-2026-AVI-1677 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b < 9adc20cd6765da78276428a189e7c21ec7f522e5 affected : ≥ 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b < 7a38c6f7b5681fccb5f6975943be8f7c83222eba affected : ≥ 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b < a646fb4f3404b228b725f0891c7c3800e0efad38 affected : ≥ 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b < 2409f47284ff77eed3fa4211149ff160607ba96d affected : ≥ 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b < 22d0eb8d7aa4e45d22491d7cc1327010f19c86b9 affected : ≥ 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b < 36c3af0e94b6c385c4934c028cbca27e138ae1ee affected : ≥ 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b < c17d443d1e984a0c0840692c6435cdc455936160 affected : ≥ 8f000cac6e7a6edca7ab93bafc7ed28b27c1545b < 635e760169a87abf03874cd4636cd91b580cb427 Other versions : unaffected |
| Linux · Linux | affected : 4.8 unaffected : ≥ 0 < 4.8 unaffected : ≥ 5.10.275 ≤ 5.10.* unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.117 ≤ 6.12.* unaffected : ≥ 6.18.63 ≤ 6.18.* unaffected : ≥ 7.3.4 ≤ 7.3.* unaffected : ≥ 7.4-rc1 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |