Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2005 18:20:16 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Maxim.Sobolev@portaone.com
Cc:        sam@errno.com, FreeBSD-current <freebsd-current@FreeBSD.ORG>, Mike Tancsa <mike@sentex.net>
Subject:   Re: VIA/ACE PadLock integration with crypto(9).
Message-ID:  <20050818162016.GC18375@garage.freebsd.pl>
In-Reply-To: <4304873F.1060008@portaone.com>
References:  <6.2.3.4.0.20050812130608.07aaf5f8@64.7.153.2> <20050812181802.GA27996@garage.freebsd.pl> <20050812182032.GB27996@garage.freebsd.pl> <6.2.3.4.0.20050816145557.03314eb8@64.7.153.2> <20050817143804.GH11066@garage.freebsd.pl> <6.2.3.4.0.20050817225907.06f81c50@64.7.153.2> <20050818071648.GA16021@garage.freebsd.pl> <6.2.3.4.0.20050818043546.05558420@64.7.153.2> <20050818115734.GB16933@garage.freebsd.pl> <4304873F.1060008@portaone.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--sHrvAb52M6C8blB9
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Aug 18, 2005 at 04:03:59PM +0300, Maxim Sobolev wrote:
+> > +> >Here is the patch:
+> > +> >        http://people.freebsd.org/~pjd/patches/cryptodev.c.patch
+> > +> >And this bug actually is a local DoS on machines which have HW cry=
pto
+> > +> >and crytodev.ko loaded.
+> > +>=20
+> > +>=20
+> > +> Thanks!  It fixes my RELENG_6 machine.  I guess this goes all the w=
ay back to RELENG_4 as well then no ?
+> >=20
+> > Most likely...
+>=20
+> It probably worth a security advisory.

It's only a local DoS on systems with crypto HW and /dev/crypto.
Note that /dev/crypto is not needed for fast_ipsec(4) with HW
acceleration, nor for geli(8).
Workaround is also very simple:

	# chmod 600 /dev/crypto

or:

	# kldunload cryptodev

and you can still do crypto work in software.

Administrators should not forget about jails as well, where /dev/crypto
is visible by default.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--sHrvAb52M6C8blB9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFDBLVAForvXbEpPzQRAqnWAJ90ZF/YsZgmhu8MOSVivCstXIlzKgCg5Jcf
MSY2M8CxdUMMmguYHDrJkGE=
=J4XZ
-----END PGP SIGNATURE-----

--sHrvAb52M6C8blB9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050818162016.GC18375>