What’s Vulnerable › Vulnerabilities

CVE-2024-53681: nvmet: Don't overflow subsysnqn

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-53681 or the next vulnerability affects your stack