CVE-2024-53681: nvmet: Don't overflow subsysnqn
In the Linux kernel, the following vulnerability has been resolved:
nvmet: Don't overflow subsysnqn
nvmetrootdiscoverynqnstore treats the subsysnqn string like a fixed size buffer, even though it is dynamically allocated to the size of the string.
Create a new string with kstrndup instead of using the old buffer.
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
Event History
Frequently Asked Questions
What is the severity of CVE-2024-53681?
CVE-2024-53681 has been classified as a medium severity vulnerability.
How do I fix CVE-2024-53681?
To fix CVE-2024-53681, update to the latest stable version of the Linux kernel where the vulnerability has been patched.
What does CVE-2024-53681 affect?
CVE-2024-53681 affects the Linux kernel, specifically the nvmet subsystem.
What is the main issue with CVE-2024-53681?
The main issue with CVE-2024-53681 is a potential buffer overflow in nvmet_root_discovery_nqn_store due to mishandling of the subsysnqn string.
Who is affected by CVE-2024-53681?
Users and systems utilizing the vulnerable versions of the Linux kernel with the nvmet subsystem are affected by CVE-2024-53681.