diff -urN linux-4.19.246/kernel/umh.c linux-4.19.246-patched/kernel/umh.c
--- linux-4.19.246/kernel/umh.c	2022-06-06 07:24:22.000000000 +0100
+++ linux-4.19.246-patched/kernel/umh.c	2022-11-22 00:17:25.770904305 +0000
@@ -546,7 +546,8 @@
 		call_usermodehelper_freeinfo(sub_info);
 		return -EINVAL;
 	}
-	helper_lock();
+	if (!(current->flags & PF_FREEZER_SKIP))
+		helper_lock();
 	if (usermodehelper_disabled) {
 		retval = -EBUSY;
 		goto out;
@@ -589,7 +590,8 @@
 out:
 	call_usermodehelper_freeinfo(sub_info);
 unlock:
-	helper_unlock();
+	if (!(current->flags & PF_FREEZER_SKIP))
+		helper_unlock();
 	return retval;
 }
 EXPORT_SYMBOL(call_usermodehelper_exec);