PROBLEM: pptp client crashes 2.4 kernel

From: Alexey Lobanov
Date: Sun Dec 21 2003 - 09:20:45 EST


Hello.

To folks related to PPP and PPtP in Linux.

This is neither a question nor proper bugreport. Just a preliminary alert. No explicit
advice assumed. If the problem seems to be interesting, please request any additional
information via personal mail.

The essence of problem: Linux box with kernel 2.4.23 is crashed to kernel oops by PPtP
connection to Alcatel ADSL modem. Not instantly but "upon load", after few minutes to few
hours of real networking. Same box is rock stable for months with old 2.2.19 kernel.
Complete hardware replace and complete replace of all(?) the related user-space software
(pppd daemon, pptp-linux daemon) changes nothing. So, the problem seems to be related to
either ppp or virtual terminal driver in latest 2.4 kernel.

Details.

The very basic (without crypto) PPtP-over-Ethernet tunnel is used by some ADSL providers,
mostly in Europe. Client machine has 10.0.0.1 at Ethernet card, modem has something like
10.0.0.138. PPP connection is authorized via plain PAP and uses no any MS extensions (no
mppe, ms-chap-*, etc), no any compression.

The problem appeared while production router upgrade from 2.2 kernel to 2.4 kernel.
System works fine during some time (minutes to hours), then crashes with "Null pointer
dereference..." in different points: several times it was "swapper", then something else.
Downgrade to 2.2.19 kernel restores stability. Hardware problems are excluded: the
hardware was replaced completely during tests, including netcard model.

User-level software versions.

ppp daemon: either 2.4.1 from Debian 3.0r2 or self-compiled 2.4.2b3. No difference.

pptp-linux client daemon: either 1.1.0 from Debian 3.0r2 or self-compiled 1.3.1. No
difference.

Kernel patches: Openwall OW1 security patch.

Some raw ideas obtained from Internet search: (1) conflicts with ipchains netfilter; (2)
conflicts in mtu/mss size. No probes without ipchains.o were done.

Please do not ask me for any test in next weeks: this exotic pptp configuration works in
an unattended production box 750 km away from my normal location. Not the best guinea-
pig. However, tests will be possible in January, after our Christmas (which is 7 Jan).

Regards,
Alexey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/