id = 871 title = "qemu-x86_64 don't support unshare(CLONE_NEWUSER)" state = "opened" created_at = "2022-02-14T10:04:43.103Z" closed_at = "n/a" labels = ["linux-user", "target: i386", "workflow::Triaged"] url = "https://gitlab.com/qemu-project/qemu/-/issues/871" host-os = "Ubuntu 20.04" host-arch = "x86" qemu-version = "qemu-x86_64 -version" guest-os = "n/a" guest-arch = "n/a" description = """Why qemu-x86_64 call unshare(CLONE_NEWUSER) fail? ``` fuzzing@ubuntu:~/Desktop/afl/AFLplusplus$ qemu-x86_64 /bin/unshare --user /bin/bash unshare: unshare failed: Invalid argument fuzzing@ubuntu:~/Desktop/afl/AFLplusplus$ /bin/unshare --user /bin/bash nobody@ubuntu:~/Desktop/afl/AFLplusplus$ ```""" reproduce = """1.execute `qemu-x86_64 /bin/unshare --user /bin/bash` ,it will fail
2.execute `/bin/unshare --user /bin/bash` ,it will ok How i fix that?""" additional = "n/a"