default or selected kernelversion does not have config value CONFIG_DEBUG_SET_MODULE_RONX.
Result is shown for kernelversion 6.5.1

Set loadable kernel module data as NX and text as RO

configname: CONFIG_DEBUG_SET_MODULE_RONX

Linux Kernel Configuration
└─>Kernel hacking
└─>Set loadable kernel module data as NX and text as RO
In linux kernel since version 2.6.38 (release Date: 2011-03-14)  
This option helps catch unintended modifications to loadable
kernel module's text and read-only data. It also prevents execution
of module data. Such protection may interfere with run-time code
patching and dynamic kernel tracing - and they might also protect
against certain classes of kernel exploits.
If in doubt, say "N".

depends
CONFIG_MODULES