CVE-2024-41079

nvmet: always initialize cqe.result

State
Published
Severity
7.5 High
Published
Jul 29, 2024
Updated
Aug 5, 2026
Reserved
Jul 12, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a07b4970f464f13640e28e16dad6cfa33647cc99 to before c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29Affected
  • a07b4970f464f13640e28e16dad6cfa33647cc99 to before 30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2Affected
  • a07b4970f464f13640e28e16dad6cfa33647cc99 to before 10967873b80742261527a071954be8b54f0f8e4dAffected
  • a07b4970f464f13640e28e16dad6cfa33647cc99 to before 0990e8a863645496b9e3f91cfcfd63cd95c80319Affected
  • a07b4970f464f13640e28e16dad6cfa33647cc99 to before cd0c1b8e045a8d2785342b385cb2684d9b48e426Affected
LinuxLinux
  • 4.8Affected
  • before 4.8Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.101 through 6.1.*Not affected
  • 6.6.42 through 6.6.*Not affected
  • 6.9.11 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.