nvmet: always initialize cqe.result (Linux Linux)

CVE-2024-41079
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.64 % · percentile 51 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a07b4970f464f13640e28e16dad6cfa33647cc99 < c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29 ; affected a07b4970f464f13640e28e16dad6cfa33647cc99 < 30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2 ; affected a07b4970f464f13640e28e16dad6cfa33647cc99 < 10967873b80742261527a071954be8b54f0f8e4d ; affected a07b4970f464f13640e28e16dad6cfa33647cc99 < 0990e8a863645496b9e3f91cfcfd63cd95c80319 ; affected a07b4970f464f13640e28e16dad6cfa33647cc99 < cd0c1b8e045a8d2785342b385cb2684d9b48e426
Linux · Linuxaffected 4.8 ; unaffected 0 < 4.8 ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.101 ≤ 6.1.* ; unaffected 6.6.42 ≤ 6.6.* ; unaffected 6.9.11 ≤ 6.9.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD