CentOS Bug Tracker
CentOS Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007414CentOS-7vsftpdpublic2014-07-21 23:032015-04-04 20:05
Reporterw1nr 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version7.0-1406 
Target VersionFixed in Version7.1-1503 
Summary0007414: vsftpd crash in paravirtual guest
Descriptionvsftpd crashes when started in Centos 7 paravirtualized (Xen) guest as follows:

[7525208.478694] BUG: Bad page map in process vsftpd pte:8000000000000165 pmd:68d56067
[7525208.478708] page:ffffea0000000000 count:-1 mapcount:-1 mapping: (null) index:0x0
[7525208.478713] page flags: 0x10(dirty)
[7525208.478718] addr:00007f3af349b000 vm_flags:00100071 anon_vma:ffff88007adffb00 mapping: (null) index:7f3af349b
[7525208.478724] CPU: 1 PID: 2575 Comm: vsftpd Not tainted 3.10.0-123.4.2.el7.x86_64 #1
[7525208.478729] 00007f3af349b000 000000000ec80dfa ffff88006f453c40 ffffffff815e1ebb
[7525208.478735] ffff88006f453c88 ffffffff81167c58 80000048c3054165 00000007f3af349b
[7525208.478740] ffff880068d564d8 ffffea0000000000 00007f3af349b000 00007f3af349c000
[7525208.478746] Call Trace:
[7525208.478756] [<ffffffff815e1ebb>] dump_stack+0x19/0x1b
[7525208.478762] [<ffffffff81167c58>] print_bad_pte+0x1a8/0x240
[7525208.478767] [<ffffffff8116977e>] unmap_page_range+0x76e/0x860
[7525208.478773] [<ffffffff811698f1>] unmap_single_vma+0x81/0xf0
[7525208.478777] [<ffffffff8116a9b9>] unmap_vmas+0x49/0x90
[7525208.478782] [<ffffffff8117366c>] exit_mmap+0xac/0x1a0
[7525208.478789] [<ffffffff8105b187>] mmput+0x67/0xf0
[7525208.478793] [<ffffffff81063dac>] do_exit+0x28c/0xa60
[7525208.478799] [<ffffffff812576bb>] ? file_has_perm+0x6b/0xc0
[7525208.478804] [<ffffffff810645ff>] do_group_exit+0x3f/0xa0
[7525208.478808] [<ffffffff81064674>] SyS_exit_group+0x14/0x20
[7525208.478813] [<ffffffff815f2599>] system_call_fastpath+0x16/0x1b
[7525208.478817] Disabling lock debugging due to kernel taint
[7525208.478958] BUG: Bad rss-counter state mm:ffff88007aa06400 idx:0 val:-1
[7525208.478963] BUG: Bad rss-counter state mm:ffff88007aa06400 idx:1 val:1
Job for vsftpd.service failed. See 'systemctl status vsftpd.service' and 'journalctl -xn' for details.


Steps To ReproduceVirtual machine created with Virtualbox, rsynced to a linode.com paravirtual machine. Set up to run grub instead of grub 2.
Additional InformationBased on some other bugs filed on later fedora kernels, this looks to be a known issue? linode.com is running Xen but I do not have access to additional information regarding versions of the underlying hypervisor.
TagsNo tags attached.
abrt_hash
URL
Attached Filestxt file icon vsftpd-abrt.txt [^] (30,399 bytes) 2014-07-24 12:26 [Show Content]

- Relationships

-  Notes
(0020493)
w1nr (reporter)
2014-07-21 23:25

I have an sosreport but it is too big to upload.
(0020536)
w1nr (reporter)
2014-07-26 00:53

I believe that the commit log to fix this is at the end of this link

https://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.12.13 [^]

This describes the reversion patch for 3.13

https://lkml.org/lkml/2014/4/1/14 [^]

I have installed kernel-ml 3.15.6-1.el7.elrepo.x86_64 from elrepo.repo and the problem is fixed. I assume a fix needs to be incorporated into the base kernel.
(0020541)
wolfy (developer)
2014-07-26 16:12

If the problem is fixed in the mainline kernel, please file a bug at bugzilla.redhat.com ( select RHEL, 7,kernel ) and crosslink ( via the "add external bug tracker field ) to this bug here (external bug tracker=> CentOS, bugid#7414) and to the kernel.org patch that you have found. Once RH backports the patch into the RHEL kernel, it will propagate to CentOS as well
(0020543)
w1nr (reporter)
2014-07-27 22:09

RHEL bug is https://bugzilla.redhat.com/show_bug.cgi?id=1123596 [^]
(0020612)
w1nr (reporter)
2014-08-07 17:35

This bug is fixed in kernel 3.10.0-137.el7

Reference RHEL bug https://bugzilla.redhat.com/show_bug.cgi?id=1101274 [^]
(0020613)
toracat (developer)
2014-08-07 17:47

So, I presume the fix will be in RHEL 7.1.
(0022664)
tigalch (developer)
2015-04-04 20:05

Solved with the kernel-update of 7.1

- Issue History
Date Modified Username Field Change
2014-07-21 23:03 w1nr New Issue
2014-07-21 23:25 w1nr Note Added: 0020493
2014-07-24 12:26 w1nr File Added: vsftpd-abrt.txt
2014-07-26 00:53 w1nr Note Added: 0020536
2014-07-26 16:12 wolfy Note Added: 0020541
2014-07-27 22:09 w1nr Note Added: 0020543
2014-08-07 17:35 w1nr Note Added: 0020612
2014-08-07 17:47 toracat Note Added: 0020613
2015-04-04 20:05 tigalch Note Added: 0022664
2015-04-04 20:05 tigalch Status new => resolved
2015-04-04 20:05 tigalch Fixed in Version => 7.1-1503
2015-04-04 20:05 tigalch Resolution open => fixed


Copyright © 2000 - 2016 MantisBT Team
Powered by Mantis Bugtracker