Re: cryptsetup seg fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



That bug has been known for a long time:
http://bugs.gentoo.org/show_bug.cgi?id=163803
Maybe a better solution is to do this:
http://bugs.gentoo.org/show_bug.cgi?id=163803#c19
(works on our hardened server)

> I disabled the performance test in pbkdf.c and things started to work
> again.
> 
> /Andreas
> 
> Andreas Westin wrote:
> > Hi,
> > 
> > I'm trying to create a new luks partition and am getting a seg fault
> > when using, cryptsetup -y --cipher aes-xts-benbi --key-size 512
> > luksFormat /dev/sda4
> > 
> > strace gives me this:
> > gettimeofday({1232131553, 138098}, NULL) = 0
> > gettimeofday({1232131553, 138143}, NULL) = 0
> > read(4, "WE\r\23\0108\237\235\373z\266G\206I1\264"..., 16) = 16
> > gettid()                                = 23103
> > rt_sigaction(SIGVTALRM, {0x40c060, [VTALRM], SA_RESTORER|SA_RESTART,
> > 0xf0000000fc0c748}, {SIG_DFL, [], 0}, 8) = 0
> > setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={1, 0}},
> > NULL) = 0 --- SIGVTALRM (Virtual timer expired) @ 0 (0) ---
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > +++ killed by SIGSEGV +++
> > 
> > The box is gentoo hardened amd64 (gcc-4.3.2 + glibc 2.9) with 2.6.28
> > grsecurity patched. It only happens with luksFormat, opening and
> > closing existing luks partitions works fine.
> > 
> > Any ideas ?
> > Andreas
> > 
> 
> 

---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux