CVE-2023-6121: Kernel: nvme: info leak due to out-of-bounds read in nvmet_ctrl_find_get
An out-of-bounds read issue was found in the NVMe-oF/TCP subsystem in the Linux kernel. A remote attacker could send a crafted TCP packet triggering a heap-based buffer overflow that results in kmalloc data to be printed (and potentially leaked) to the kernel ring buffer (dmesg).
Upstream refs: https://lore.kernel.org/linux-nvme/b58a2dc6-cc8f-4d19-9efe-e1d5b4505efc@nvidia.com/T/ https://lore.kernel.org/linux-nvme/CAK5usQvxAyC3LJ4OnqerS1P0JpbfFr9uRZmq6Jb4QhaB7AQCoQ@mail.gmail.com/T/
Other sources
An out-of-bounds read vulnerability was found in the NVMe-oF/TCP subsystem in the Linux kernel. This issue may allow a remote attacker to send a crafted TCP packet, triggering a heap-based buffer overflow that results in kmalloc data being printed and potentially leaked to the kernel ring buffer (dmesg).
— Launchpad
Linux Kernel could allow a remote authenticated attacker to obtain sensitive information, caused by an out-of-bounds read flaw in the NVMe-oF/TCP subsystem. By sending a specially crafted TCP packet, an attacker could exploit this vulnerability to obtain kmalloc data information, and use this information to launch further attacks against the affected system.
— IBM
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2023-6121?
CVE-2023-6121 is an out-of-bounds read vulnerability in the NVMe-oF/TCP subsystem in the Linux kernel.
How does CVE-2023-6121 affect the system?
CVE-2023-6121 allows a remote attacker to send a crafted TCP packet, triggering a heap-based buffer overflow that could potentially lead to data leakage.
What is the severity of CVE-2023-6121?
CVE-2023-6121 has a severity rating of medium with a CVSS score of 4.3.
How can I fix CVE-2023-6121?
To fix CVE-2023-6121, users are advised to apply the appropriate security patches provided by their respective Linux distributions or vendor.
Where can I find more information about CVE-2023-6121?
More information about CVE-2023-6121 can be found at the following references: [Red Hat Security Advisory](https://access.redhat.com/security/cve/CVE-2023-6121) and [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=2250043).