CVE-2026-23384
JSON

5.5medium

RDMA/ionic: Fix kernel stack leak in ionic_create_cq()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/ionic: Fix kernel stack leak in ionic_create_cq() struct ionic_cq_resp resp { __u32 cqid[2]; // offset 0 - PARTIALLY SET (see below) __u8 udma_mask; // offset 8 - SET (resp.udma_mask = vcq->udma_mask) __u8 rsvd[7]; // offset 9 - NEVER SET <- LEAK }; rsvd[7]: 7 bytes of stack memory leaked unconditionally. cqid[2]: The loop at line 1256 iterates over udma_idx but skips indices where !(vcq->udma_mask & BIT(udma_idx)). The array has 2 entries but udma_count could be 1, meaning cqid[1] might never be written via ionic_create_cq_common(). If udma_mask only has bit 0 set, cqid[1] (4 bytes) is also leaked. So potentially 11 bytes leaked.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e8521822c733c6deab0f339843cd37cd62c12795 before a6f3e0fa8e862f220c26c2f27e5ddc42eb82ad3e, from e8521822c733c6deab0f339843cd37cd62c12795 before 547d0b07ad73915b323bc21f85c5d3252bebbbcf, from e8521822c733c6deab0f339843cd37cd62c12795 before faa72102b178c7ae6c6afea23879e7c84fc59b4e, 6.18
Not affected: before 6.18, from 6.18.17 up to 6.18.*, from 6.19.7 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.18.1 before 6.18.17, from 6.19 before 6.19.7, 6.18, 7.0NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: RDMA/ionic: Fix kernel stack leak in ionic_create_cq() struct ionic_cq_resp resp { __u32 cqid[2]; // offset 0 - PARTIALLY SET (see below) __u8 udma_mask; // offset 8 - SET (resp.udma_mask = vcq->udma_mask) __u8 rsvd[7]; // offset 9 - NEVER SET <- LEAK }; rsvd[7]: 7 bytes of stack memory leaked unconditionally. cqid[2]: The loop at line 1256 iterates over udma_idx but skips indices where !(vcq->udma_mask & BIT(udma_idx)). The array has 2 entries but udma_count could be 1, meaning cqid[1] might never be written via ionic_create_cq_common(). If udma_mask only has bit 0 set, cqid[1] (4 bytes) is also leaked. So potentially 11 bytes leaked.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: RDMA/ionic: Corrección de fuga de pila del kernel en ionic_create_cq() struct ionic_cq_resp resp { __u32 cqid[2]; // offset 0 - PARCIALMENTE ESTABLECIDO (ver abajo) __u8 udma_mask; // offset 8 - ESTABLECIDO (resp.udma_mask = vcq-&gt;udma_mask) __u8 rsvd[7]; // offset 9 - NUNCA ESTABLECIDO &lt;- FUGA }; rsvd[7]: 7 bytes de memoria de pila fugados incondicionalmente. cqid[2]: El bucle en la línea 1256 itera sobre udma_idx pero omite los índices donde !(vcq-&gt;udma_mask &amp; BIT(udma_idx)). El array tiene 2 entradas pero udma_count podría ser 1, lo que significa que cqid[1] podría nunca ser escrito a través de ionic_create_cq_common(). Si udma_mask solo tiene el bit 0 establecido, cqid[1] (4 bytes) también se fuga. Así que potencialmente 11 bytes fugados.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-23384 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-23384 changed 2026-06-17Public domain