bmhook_get_argv_object_from_user_arg_ptr() requests allocation that exceeds MAX_ORDER
Issue
The following warnings appear in the kernel log:
WARNING: CPU: 0 PID: 1234 at mm/page_alloc.c:3189 __alloc_pages_slowpath+0x6f/0x724
…
__kmalloc+0x211/0x230
bmhook_get_argv_object_from_user_arg_ptr.isra.31+0x6c/0x260 [bmhook]
Environment
- Red Hat Enterprise Linux 7
bmhook
kernel module loaded
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.