FS#38598 - vsftpd fails to start with "Bad page map" kernel error

Attached to Project: Community Packages
Opened by Howard Guo (howardg) - Tuesday, 21 January 2014, 11:50 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 21 January 2014, 12:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

My up-to-date Arch Linux installation on Amazon EC2 has vsftpd installed. It worked for a while until a recent kernel upgrade - sorry I cannot remember the exact version number.

Now when I attempt to start vsftpd from systemctl, the following errors appear in syslog:

Jan 21 11:38:40 ip-172-31-12-16 systemd[1]: Starting vsftpd daemon...
Jan 21 11:38:40 ip-172-31-12-16 systemd[1]: Started vsftpd daemon.
Jan 21 11:38:40 ip-172-31-12-16 systemd[1]: vsftpd.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Jan 21 11:38:40 ip-172-31-12-16 systemd[1]: Unit vsftpd.service entered failed state.
Sep 27 10:18:58 ip-172-31-12-16 kernel: BUG: Bad page map in process vsftpd pte:8000000000000165 pmd:0f58a067
Sep 27 10:18:58 ip-172-31-12-16 kernel: page:ffffea0000000000 count:-2 mapcount:-2 mapping: (null) index:0x0
Sep 27 10:18:58 ip-172-31-12-16 kernel: page flags: 0x14(referenced|dirty)
Sep 27 10:18:58 ip-172-31-12-16 kernel: addr:00007fa98af23000 vm_flags:00100071 anon_vma:ffff88000f52ad00 mapping: (null) index:7fa98af23
Sep 27 10:18:58 ip-172-31-12-16 kernel: CPU: 0 PID: 634 Comm: vsftpd Tainted: G B 3.12.8-1-ec2 #1
Sep 27 10:18:58 ip-172-31-12-16 kernel: ffff88000f583508 ffff88000f5d3ca0 ffffffff814c77bb 00007fa98af23000
Sep 27 10:18:58 ip-172-31-12-16 kernel: ffff88000f5d3ce8 ffffffff8116788e 0000000000000000 0000000000000000
Sep 27 10:18:58 ip-172-31-12-16 kernel: ffff88000f58a918 ffffea0000000000 00007fa98af24000 ffff88000f5d3e10
Sep 27 10:18:58 ip-172-31-12-16 kernel: Call Trace:
Sep 27 10:18:58 ip-172-31-12-16 kernel: [<ffffffff814c77bb>] dump_stack+0x45/0x56
Sep 27 10:18:58 ip-172-31-12-16 kernel: [<ffffffff8116788e>] print_bad_pte+0x22e/0x250
Sep 27 10:18:58 ip-172-31-12-16 kernel: [<ffffffff811690b3>] unmap_single_vma+0x583/0x890
Sep 27 10:18:58 ip-172-31-12-16 kernel: [<ffffffff8116a445>] unmap_vmas+0x65/0x90
Sep 27 10:18:58 ip-172-31-12-16 kernel: [<ffffffff811737d5>] exit_mmap+0xc5/0x170
Sep 27 10:18:58 ip-172-31-12-16 kernel: [<ffffffff8105d295>] mmput+0x65/0x100
Sep 27 10:18:58 ip-172-31-12-16 kernel: [<ffffffff81062983>] do_exit+0x393/0x9e0
Sep 27 10:18:58 ip-172-31-12-16 kernel: [<ffffffff810630dc>] do_group_exit+0xcc/0x140
Sep 27 10:18:58 ip-172-31-12-16 kernel: [<ffffffff81063164>] SyS_exit_group+0x14/0x20
Sep 27 10:18:58 ip-172-31-12-16 kernel: [<ffffffff814d61ad>] system_call_fastpath+0x1a/0x1f
Sep 27 10:18:58 ip-172-31-12-16 kernel: BUG: Bad rss-counter state mm:ffff88000f5cd080 idx:0 val:-1
Sep 27 10:18:58 ip-172-31-12-16 kernel: BUG: Bad rss-counter state mm:ffff88000f5cd080 idx:1 val:1

Kernel version:

Linux 3.12.8-1-ec2 #1 SMP Mon Jan 20 09:58:48 UTC 2014 x86_64

Vsftpd version:

3.0.2-2
This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 21 January 2014, 12:16 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#38596 

Loading...