hc
2025-02-14 bbb9540dc49f70f6b703d1c8d1b85fa5f602d86e
kernel/arch/x86/lib/usercopy.c
....@@ -18,7 +18,7 @@
1818 {
1919 unsigned long ret;
2020
21
- if (__range_not_ok(from, n, TASK_SIZE))
21
+ if (running_oob() || __range_not_ok(from, n, TASK_SIZE))
2222 return n;
2323
2424 if (!nmi_uaccess_okay())