CVE-2024-47695: RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rtrs-clt: Reset cid to connum - 1 to stay in bounds
In the function initconns(), after the createcon() and createcm() for loop if something fails. In the cleanup for loop after the destroy tag, we access out of bound memory because cid is set to cltpath->s.connum.
This commits resets the cid to cltpath->s.connum - 1, to stay in bounds in the cleanup loop later.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- 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-47695?
CVE-2024-47695 is classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2024-47695?
To fix CVE-2024-47695, update to the patched version of the Linux kernel, specifically versions 6.1.123-1, 6.1.128-1, 6.12.12-1, or later.
What versions of the Linux kernel are affected by CVE-2024-47695?
CVE-2024-47695 affects Linux kernel versions from 5.8 to 6.11.2, including several specific subversions within that range.
Is CVE-2024-47695 remotely exploitable?
CVE-2024-47695 is considered to have potential remote exploitation vectors, especially in environments utilizing RDMA.
What components within the Linux kernel are affected by CVE-2024-47695?
CVE-2024-47695 specifically affects the RDMA/rtrs-clt component of the Linux kernel.