Comment 7 for bug 1313450

Revision history for this message
AC (acrunner8) wrote : Re: Unable to start vsftpd on Ubuntu 14.04 (Amazon/EC2) with default configuration

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:8000000000000965 pmd:4fda0067
[25101608.375047] page:ffffea0000000000 count:-24 mapcount:-24 mapping: (null) index:0x0
[25101608.375055] page flags: 0x14(referenced|dirty)
[25101608.375065] addr:00007f868625c000 vm_flags:08100071 anon_vma:ffff880028e087c0 mapping: (null) index:7f868625c
[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] [<ffffffff81715a64>] dump_stack+0x45/0x56
[25101608.375107] [<ffffffff81174183>] print_bad_pte+0x1a3/0x250
[25101608.375111] [<ffffffff81175b67>] unmap_page_range+0x717/0x7f0
[25101608.375114] [<ffffffff81175cc1>] unmap_single_vma+0x81/0xf0
[25101608.375117] [<ffffffff81176d39>] unmap_vmas+0x49/0x90
[25101608.375123] [<ffffffff8117feec>] exit_mmap+0x9c/0x170
[25101608.375128] [<ffffffff8106482c>] mmput+0x5c/0x120
[25101608.375133] [<ffffffff81069bbc>] do_exit+0x26c/0xa50
[25101608.375138] [<ffffffff8109dd84>] ? vtime_account_user+0x54/0x60
[25101608.375144] [<ffffffff8114d52f>] ? context_tracking_user_exit+0x4f/0xc0
[25101608.375148] [<ffffffff8106a41f>] do_group_exit+0x3f/0xa0
[25101608.375152] [<ffffffff8106a494>] SyS_exit_group+0x14/0x20
[25101608.375158] [<ffffffff8172663f>] tracesys+0xe1/0xe6
[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