[PATCH 5.15 410/511] kconfig: fix possible buffer overflow