Project

General

Profile

Actions

Bug #3077

closed

FTP patches in revision 39802d4e cause kernel panics on FTP traffic

Added by Doktor Notor over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
Ermal Luçi
Category:
Operating System
Target version:
Start date:
07/07/2013
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:

Description

As discussed on a forum thread http://forum.pfsense.org/index.php/topic,64144.0.html the patches introduced in commit 39802d4e64f1fab7afa5bd14064712cb52679b59 causes Fatal trap 12: page fault while in kernel mode with FTP traffic. Please, revert the commit ASAP, this is a whole lot worse than the issue it was supposed to mitigate.

Sample crash below:

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x70
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc04c96c1
stack pointer = 0x28:0xe31e6c20
frame pointer = 0x28:0xe31e6c2c
code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 7 (pfpurge)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 1d1h13m36s
Cannot dump. Device not defined or unavailable.
Automatic reboot in 15 seconds - press a key on the console to abort

These are not limited to any particular HW, I reproduced with any of snapshots post July-1 which include this patch, and with 3 different boxes, two being x64, one Alix 2D13. Different FTP traffic patterns may cause this, though for me, simple using FTP to browse a site which has huge directory listing (such as ftp-archive.freebsd.org/pub/FreeBSD-Archive/ports/i386/packages-8.1-release/Latest) crashes the pfSense box almost reliably. :-( FTP works perfectly fine with snapshots before this commit.

Actions

Also available in: Atom PDF