OT: Bitdefender issues

Hywel Burris hywel at BURRIS.ORG.UK
Sat Nov 13 11:13:16 GMT 2004


Hi All,

I am using Fedora Core 2 on my home system, bitdefender recently stopped
working. I haven't had much time to look at this so just disabled
bitdefender. I have now had a little time and found the problem

Bitdefender was erroring with:-
[root at mail kernel]#  bdc -all   /
BDC/Linux-Console v7.0 (build 2490) (i386) (Dec 10 2003 16:11:35)
Copyright (C) 1996-2003 SOFTWIN SRL. All rights reserved.

Segmentation fault


After running this through strace it fails with :-
open("/proc/11956/maps", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0400, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xf6fde000
read(3, "00111000-0011e000 r-xp 00000000 "..., 1024) = 1024
close(3)                                = 0
munmap(0xf6fde000, 4096)                = 0
time(NULL)                              = 1100343494
mkdir("/tmp/tmp3d13cc0b", 0700)         = 0
lstat64("/opt/bdc/Plugins", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/opt/bdc/Plugins/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
getdents64(3, /* 88 entries */, 4096)   = 2800
lstat64("/opt/bdc/Plugins/jpeg.xmd", {st_mode=S_IFREG|0644, st_size=850,
...}) = 0
open("/opt/bdc/Plugins/jpeg.xmd", O_RDONLY) = 4
lseek(4, 0, SEEK_CUR)                   = 0
lseek(4, 0, SEEK_END)                   = 850
lseek(4, 0, SEEK_CUR)                   = 850
lseek(4, 0, SEEK_SET)                   = 0
read(4, "\300\1\300\336", 4)            = 4
lseek(4, 0, SEEK_SET)                   = 0
read(4, "\300\1\300\336\1\0\0\0{\4\0\0Y\0\0\0;\4\0\0\4\0\0\0\324"..., 68) =
68
read(4, "x\332\335TAk\23A\24\236M\266\232\246\t)\322JQ\204\5\247"..., 850) =
782
close(4)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


After doing some googling I found the answer on a german site (babelfish
thank you :))

The problem is to do with a kernel security feature called exec-shield to
solve the above problem you need to turn it off with the following command

echo 0 > /proc/sys/kernel/exec-shield

There is some more background info at
http://people.redhat.com/mingo/exec-shield/ANNOUNCE-exec-shield

Here come my questions :)
Has anybody else had this problem with bitdefender & FC2? (I think it
happened after upgrading to kernel-2.6.8-1.521)

Does anyone know what issues there maybe with running without exec-shield
running or if there maybe another way around this?

Thanks

Hywel





------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

    [ Part 2, Application/X-PKCS7-SIGNATURE  4.1KB. ]
    [ Unable to print this part. ]




More information about the MailScanner mailing list