In the Linux kernel, the following vulnerability has been resolved:
objtool, nvmet: Fix out-of-bounds stack access in nvmetctrlstate_show()
The cstsstatenames[] array only has six sparse entries, but the iteration code in nvmetctrlstate_show() iterates seven, resulting in a potential out-of-bounds stack read. Fix that.
Fixes the following warning with an UBSAN kernel:
vmlinux.o: warning: objtool: .text.nvmetctrlstate_show: unexpected end of section