CVE-2024-41079
JSON

7.5high

nvmet: always initialize cqe.result

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.64% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: nvmet: always initialize cqe.result The spec doesn't mandate that the first two double words (aka results) for the command queue entry need to be set to 0 when they are not used (not specified). Though, the target implemention returns 0 for TCP and FC but not for RDMA. Let's make RDMA behave the same and thus explicitly initializing the result field. This prevents leaking any data from the stack.

Affected

Product or packageVersionsReported by
Linux Linuxfrom a07b4970f464f13640e28e16dad6cfa33647cc99 before c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29, from a07b4970f464f13640e28e16dad6cfa33647cc99 before 30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2, from a07b4970f464f13640e28e16dad6cfa33647cc99 before 10967873b80742261527a071954be8b54f0f8e4d, from a07b4970f464f13640e28e16dad6cfa33647cc99 before 0990e8a863645496b9e3f91cfcfd63cd95c80319, from a07b4970f464f13640e28e16dad6cfa33647cc99 before cd0c1b8e045a8d2785342b385cb2684d9b48e426, 4.8
Not affected: before 4.8, from 5.15.209 up to 5.15.*, from 6.1.101 up to 6.1.*, from 6.6.42 up to 6.6.*, from 6.9.11 up to 6.9.*, from 6.10 up to *
CVE List
linux linux_kernelbefore 6.1.101, from 6.2 before 6.6.42, from 6.7 before 6.9.11, 6.10NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: nvmet: always initialize cqe.result The spec doesn't mandate that the first two double words (aka results) for the command queue entry need to be set to 0 when they are not used (not specified). Though, the target implemention returns 0 for TCP and FC but not for RDMA. Let's make RDMA behave the same and thus explicitly initializing the result field. This prevents leaking any data from the stack.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nvmet: inicializar siempre cqe.result La especificación no exige que las dos primeras palabras dobles (también conocidas como resultados) para la entrada de la cola de comandos deban establecerse en 0 cuando no lo están usado (no especificado). Sin embargo, la implementación de destino devuelve 0 para TCP y FC, pero no para RDMA. Hagamos que RDMA se comporte igual y así inicialicemos explícitamente el campo de resultado. Esto evita la fuga de datos de la pila.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-41079 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-41079 changed 2026-08-04Public domain