On Thu, 19 Oct 2023 22:49:13 +0200 Daniel Borkmann wrote: > + if (ifmp && tbp[IFLA_IFNAME]) { > + nla_strscpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); > + name_assign_type = NET_NAME_USER; > + } else { > + snprintf(ifname, IFNAMSIZ, "nk%%d"); strscpy()? > + nkl = kzalloc(sizeof(*nkl), GFP_USER); GFP_KERNEL_ACCOUNT is prolly what you want, no?