I'm also having the exact same issue running vsftpd on Ubuntu 14.04 in an Amazon/EC2 instance. Adding seccomp_sandbox=NO does not fix the problem for me either.
Upgraded to vsftpd 3.0.2-1ubuntu2.14.04.1 that was just released on 2014-05-05 but this does not fix the issue.
here the message in dmesg after to 500 OOPS: munmap:
I'm also having the exact same issue running vsftpd on Ubuntu 14.04 in an Amazon/EC2 instance. Adding seccomp_sandbox=NO does not fix the problem for me either.
Upgraded to vsftpd 3.0.2-1ubuntu2. 14.04.1 that was just released on 2014-05-05 but this does not fix the issue.
here the message in dmesg after to 500 OOPS: munmap:
[25101608.375027] BUG: Bad page map in process vsftpd pte:80000000000 00965 pmd:4fda0067 000000 count:-24 mapcount:-24 mapping: (null) index:0x0 |dirty) 25c000 vm_flags:08100071 anon_vma: ffff880028e087c 0 mapping: (null) index:7f868625c a64>] dump_stack+ 0x45/0x56 183>] print_bad_ pte+0x1a3/ 0x250 b67>] unmap_page_ range+0x717/ 0x7f0 cc1>] unmap_single_ vma+0x81/ 0xf0 d39>] unmap_vmas+ 0x49/0x90 eec>] exit_mmap+ 0x9c/0x170 82c>] mmput+0x5c/0x120 bbc>] do_exit+0x26c/0xa50 d84>] ? vtime_account_ user+0x54/ 0x60 52f>] ? context_ tracking_ user_exit+ 0x4f/0xc0 41f>] do_group_ exit+0x3f/ 0xa0 494>] SyS_exit_ group+0x14/ 0x20 63f>] tracesys+0xe1/0xe6
[25101608.375047] page:ffffea0000
[25101608.375055] page flags: 0x14(referenced
[25101608.375065] addr:00007f8686
[25101608.375076] CPU: 0 PID: 4509 Comm: vsftpd Tainted: GF B 3.13.0-24-generic #46-Ubuntu
[25101608.375079] ffff880003674540 ffff88002a1e3c70 ffffffff81715a64 00007f868625c000
[25101608.375083] ffff88002a1e3cb8 ffffffff81174183 800000079e60d965 00000007f868625c
[25101608.375086] ffff88004fda02e0 ffffea0000000000 00007f868625c000 00007f868625d000
[25101608.375089] Call Trace:
[25101608.375100] [<ffffffff81715
[25101608.375107] [<ffffffff81174
[25101608.375111] [<ffffffff81175
[25101608.375114] [<ffffffff81175
[25101608.375117] [<ffffffff81176
[25101608.375123] [<ffffffff8117f
[25101608.375128] [<ffffffff81064
[25101608.375133] [<ffffffff81069
[25101608.375138] [<ffffffff8109d
[25101608.375144] [<ffffffff8114d
[25101608.375148] [<ffffffff8106a
[25101608.375152] [<ffffffff8106a
[25101608.375158] [<ffffffff81726
[25101608.375264] BUG: Bad rss-counter state mm:ffff88000352d180 idx:0 val:-1
[25101608.375274] BUG: Bad rss-counter state mm:ffff88000352d180 idx:1 val:1