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

Write protect kernel read-only data structures

configname: CONFIG_DEBUG_RODATA

Linux Kernel Configuration
└─>Kernel hacking
└─>Write protect kernel read-only data structures
In linux kernel since version 2.6.16 (release Date: 2006-03-19)  
Mark the kernel read-only data as write-protected in the pagetables,
in order to catch accidental (and incorrect) writes to such const
data. This is recommended so that we can catch kernel bugs sooner.
If in doubt, say "Y".