CVE-2024-53681

Summary

In the Linux kernel, the following vulnerability has been resolved:

nvmet: Don't overflow subsysnqn

nvmet_root_discovery_nqn_store 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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux95409e277d8343810adf8700d29d4329828d452b < 86645d8d062af3fdcbdaa0a289b95de55bca827daffected
LinuxLinux95409e277d8343810adf8700d29d4329828d452b < 4db3d750ac7e894278ef1cb1c53cc7d883060496affected
LinuxLinux6.9affected
LinuxLinux0 < 6.9unaffected
LinuxLinux6.12.9 <= 6.12.*unaffected
LinuxLinux6.13 <= *unaffected

Weaknesses

References