On Sun, 2 Jul 2023 at 20:23, Guenter Roeck linux@roeck-us.net wrote:
I can reproduce the problem in qemu. However, I do not see a warning after applying your patch.
Funky, funky.
I'm assuming it's the
page = get_arg_page(bprm, pos, 1); if (!page) { ret = -E2BIG; goto out; }
in copy_strings() that causes this. Or possibly, the version in copy_string_kernel().
Does *this* get that "pr_warn()" printout (and a stack trace once, just for good measure)?
Linus