We should not return the userspace cmdline for io_worker threads. Signed-off-by: Stefan Metzmacher <metze@xxxxxxxxx> --- fs/proc/base.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/proc/base.c b/fs/proc/base.c index 3851bfcdba56..6e04278de582 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -344,6 +344,9 @@ static ssize_t get_task_cmdline(struct task_struct *tsk, char __user *buf, struct mm_struct *mm; ssize_t ret; + if (tsk->flags & PF_IO_WORKER) + return 0; + mm = get_task_mm(tsk); if (!mm) return 0; -- 2.25.1