# CVE-2024-41079: nvmet: always initialize cqe.result

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.93% (percentile 59, 2026-11-28)
- **Published:** 2024-07-29T15:04:16.733Z
- **Modified:** 2026-08-05T11:35:14.304Z

## Who should check

- Anyone running Linux \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< 30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< 10967873b80742261527a071954be8b54f0f8e4d; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< 0990e8a863645496b9e3f91cfcfd63cd95c80319; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< cd0c1b8e045a8d2785342b385cb2684d9b48e426
- Anyone running Linux 4.8

## 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 and fixed versions

- Linux: \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< 30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< 10967873b80742261527a071954be8b54f0f8e4d; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< 0990e8a863645496b9e3f91cfcfd63cd95c80319; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< cd0c1b8e045a8d2785342b385cb2684d9b48e426 (cvelist)
- Linux: 4.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-41079. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-41079.md
Affected: Linux >= a07b4970f464f13640e28e16dad6cfa33647cc99, < c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2; >= a07b4970f464f13640e28e16dad6cfa33647cc99, < 10967873b80742261527a071954be8b54f0f8e4d; >= a07b4970f464f13640e28e1…
Fixed in: Linux 30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2, Linux 10967873b80742261527a071954be8b54f0f8e4d, Linux 0990e8a863645496b9e3f91cfcfd63cd95c80319

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-41079 being exploited?

There is no confirmed exploitation: CVE-2024-41079 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.93% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-41079?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-41079?

Linux \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< 30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< 10967873b80742261527a071954be8b54f0f8e4d; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< 0990e8a863645496b9e3f91cfcfd63cd95c80319; \>= a07b4970f464f13640e28e16dad6cfa33647cc99, \< cd0c1b8e045a8d2785342b385cb2684d9b48e426; Linux 4.8.

### Is there a fix for CVE-2024-41079?

Yes. Fixed in Linux 30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2, Linux 10967873b80742261527a071954be8b54f0f8e4d, Linux 0990e8a863645496b9e3f91cfcfd63cd95c80319. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-41079?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2>
- patch: <https://git.kernel.org/stable/c/10967873b80742261527a071954be8b54f0f8e4d>
- patch: <https://git.kernel.org/stable/c/0990e8a863645496b9e3f91cfcfd63cd95c80319>
- patch: <https://git.kernel.org/stable/c/cd0c1b8e045a8d2785342b385cb2684d9b48e426>
- other: <https://git.kernel.org/stable/c/c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-41079>

HTML: <https://flawdb.com/CVE-2024-41079> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-41079>
