CVE-2024-41079: nvmet: always initialize cqe.result
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.1.101 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.6.42 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.9.11 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.10 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-41079?
CVE-2024-41079 has a medium severity rating due to its potential to affect data integrity.
How do I fix CVE-2024-41079?
To fix CVE-2024-41079, update the Linux kernel to versions 6.1.101, 6.6.42, 6.9.11, or 6.10 for Red Hat systems, or upgrade to specified Debian versions.
Which Linux kernel versions are affected by CVE-2024-41079?
CVE-2024-41079 affects various Linux kernel versions prior to the specified remedial versions in both Red Hat and Debian distributions.
What is the impact of CVE-2024-41079 on systems?
The impact of CVE-2024-41079 could lead to improper initialization which may result in unpredictable command behavior.
Is CVE-2024-41079 relevant to all Linux distributions?
CVE-2024-41079 is particularly relevant to Red Hat and Debian based Linux distributions, impacting specific kernel versions.