CVE-2024-41079

published 29 Jul 2024 · updated 7 Aug 2026

nvmet: always initialize cqe.result

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 0990e8a863645496b9e3f91cfcfd63cd95c80319, Kernel 10967873b80742261527a071954be8b54f0f8e4d, Kernel 30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.8, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <0990e8a863645496b9e3f91cfcfd63cd95c80319, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <10967873b80742261527a071954be8b54f0f8e4d, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29, >=a07b4970f464f13640e28e16dad6cfa33647cc99 <cd0c1b8e045a8d2785342b385cb2684d9b48e4260990e8a863645496b9e3f91cfcfd63cd95c80319, 10967873b80742261527a071954be8b54f0f8e4d, 30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2, c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29, cd0c1b8e045a8d2785342b385cb2684d9b48e426

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-41079 severity on Zeptric[![CVE-2024-41079](https://zeptric.io/badge/cve/CVE-2024-41079.svg)](https://zeptric.io/cve/CVE-2024-41079)