fix cannot read kernel symbol in modules

Reported by Qingping.

Also add testcase in case corrupt it again in future.

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>