In the Linux kernel, the following vulnerability has been resolved:
nvme: host: fix double-free of struct nvmeidns in nsupdatenuse()
When nvmeidentifyns() fails, it frees the pointer to the struct nvmeidns before it returns. However, nsupdatenuse() calls kfree() for the pointer even when nvmeidentifyns() fails. This results in KASAN double-free, which was observed with blktests nvme/045 with proposed patches [1] on the kernel v6.8-rc7. Fix the double-free by skipping kfree() when nvmeidentifyns() fails.