Three kernel Oops/panic/BUG ksymoopses (kernel BUG at buffer.c:539)
(crossposted between linux-kernel and netfilter users because some traces do go into nf_* and I'm using the conntrack module)
Hello;
I had a very bizarre situation where four boxes in the same rack all simultaneously (within 30 minutes) hard-locked with Oops messages. The boxes don't even have the same function - two of them are MXs that face the Internet, and the other two are spamassassin spamd boxes that receive messages, put a tag header up top, and send them back to the MX for filtering. It was during a very (ridiculously) high-load situation where all four boxes were running at their limit for a few hours.
The kernel running on them was 2.4.23, patched from netfilter's patch-o-matic to include the ipt_connlimit module. Connlimit was active on the MXs, but not on the spamd boxes. .config-file is attached.
I captured four panic messages. The results of ksymoops on these are attached. The one with a 'kernel BUG at buffer.c:539!' was a spamd box, the other three are from MXs (RESULT-4 is from one of the MXs crashing after this incident). Sadly, the stack traces don't appear to necessarily have anything to do with each other.
The boxes have since had sparodic crashes, but not in unison like the first time.
The MXs have been backgraded to 2.4.22+connlimit patch. One of them has crashed since, I could not grab the output as it was rebooted via a remote power box.
Hardware:
MXs: Dell PE 1650, dual P3 1.13GHz, 1024MB RAM, aacraid scsi
controller with 15k rpm drives.
spamd: Dell PE 1750, dual P4 'Xeon' 2.4GHz, 1024MB RAM, Fusion MPT
scsi controller.
The MXs have been functioning for a year as either nameservers or MXs-that-don't-do-spamassassin for some time flawlessly. The spamd boxes are new.
Software:
All debian woody, linux 2.4.23 with ipt_connlimit as module (not loaded on the spamd machines). MXs run qmail and thrash the disk quite a bit. All filesystems reiserfs. SMP kernels, no ACPI or APM etc.
Is there a kernel problem here? If not, does anyone familiar with the chi of kernel stacktraces have any advice?
Thanks,
- Erik Bourget
Quoted 2 lines · Erik Bourget
I had a very bizarre situation where four boxes in the same rack all simultaneously (within 30 minutes) hard-locked with Oops messages. The boxes
An obvious idea - after reading an article about a break-in into Debian and others' boxes - sure you weren't cracked?
Guennadi
---
Guennadi Liakhovetski
Quoted 8 lines · Guennadi Liakhovetski
Quoted 3 lines · Erik Bourget
I had a very bizarre situation where four boxes in the same rack all simultaneously (within 30 minutes) hard-locked with Oops messages. The boxes
An obvious idea - after reading an article about a break-in into Debian and others' boxes - sure you weren't cracked?
Yeah, that was a concern and I'm relatively sure that's not the case because
*) chkrootkit says so (mod some hidden processes that are reported by a bug in
chkrootkit according to Google)
*) The crashy boxes were all installed with 2.4.23, not upgraded, so the big
Debian vulnerability didn't exist
*) The only open ports to the outside world are running SMTP and POP3 as
non-root no-shell accounts, and it's running qmail which seems simple and safe enough.
- Erik Bourget
Quoted 16 lines · Erik Bourget
Quoted 8 lines · Guennadi Liakhovetski
Quoted 3 lines · Erik Bourget
I had a very bizarre situation where four boxes in the same rack all simultaneously (within 30 minutes) hard-locked with Oops messages. The boxes
An obvious idea - after reading an article about a break-in into Debian and others' boxes - sure you weren't cracked?
Yeah, that was a concern and I'm relatively sure that's not the case because
*) chkrootkit says so (mod some hidden processes that are reported by a bug in
chkrootkit according to Google)
Quoted 6 lines
*) The crashy boxes were all installed with 2.4.23, not upgraded, so the big
Debian vulnerability didn't exist*) The only open ports to the outside world are running SMTP and POP3 as
non-root no-shell accounts, and it's running qmail which seems simple and safe enough.
Are you using ipchains ?
There is a known problem with 2.4.23 and ipchains compatibility.
Quoted 8 lines · Marcelo Tosatti
Quoted 3 lines · Erik Bourget
I had a very bizarre situation where four boxes in the same rack all simultaneously (within 30 minutes) hard-locked with Oops messages. The boxes
Are you using ipchains ?
There is a known problem with 2.4.23 and ipchains compatibility.
I'm not /using/ it, but it was compiled as a module (and is not loaded). Would this perhaps cause the problematic code to be compiled as a dependancy?
ipt related modules loaded:ipt_stateipt_REJECTipt_connlimit (latest patchomatic)ip_conntrackiptable_filteriptable_filterip_tables
Thanks,
- Erik Bourget
Quoted 2 lines · Erik Bourget
*) chkrootkit says so (mod some hidden processes that are reported by a bug in
chkrootkit according to Google)
The bug does not rely on chkrootkit, but on ps, the error occurs because ps lists some processes with the same PID 0 (in my case PID 3,4,5 and 6), top and related tools does display the correct PIDs, but chkrootkit, which uses ps is fooled into thinking the machine is infected by a lkm troyan.
I already sent a bug-report to the procps team.
- Enric Montero
Quoted 8 lines · Guennadi Liakhovetski
Quoted 3 lines · Erik Bourget
I had a very bizarre situation where four boxes in the same rack all simultaneously (within 30 minutes) hard-locked with Oops messages. The boxes
An obvious idea - after reading an article about a break-in into Debian and others' boxes - sure you weren't cracked?
Yeah, that was a concern and I'm relatively sure that's not the case because
*) chkrootkit says so (mod some hidden processes that are reported by a bug in
chkrootkit according to Google)
*) The crashy boxes were all installed with 2.4.23, not upgraded, so the big
Debian vulnerability didn't exist
*) The only open ports to the outside world are running SMTP and POP3 as
non-root no-shell accounts, and it's running qmail which seems simple and safe enough.
- Erik Bourget
Quoted 2 lines · Erik Bourget
I had a very bizarre situation where four boxes in the same rack all simultaneously (within 30 minutes) hard-locked with Oops messages. The boxes
An obvious idea - after reading an article about a break-in into Debian and others' boxes - sure you weren't cracked?
Guennadi
---
Guennadi Liakhovetski