[PATCH v3.18-rc3] param: fix crash on bad kernel arguments