cvs commit: src/sys/opencrypto cryptodev.c

Pawel Jakub Dawidek pjd at
Fri Aug 19 12:04:28 GMT 2005

pjd         2005-08-19 12:04:20 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/opencrypto       cryptodev.c 
  MFC:    sys/opencrypto/cryptodev.c      1.26
  Fix bogus check. It was possible to panic the kernel by giving 0 length.
  This is actually a local DoS, as every user can use /dev/crypto if there
  is crypto hardware in the system and cryptodev.ko is loaded (or compiled
  into the kernel).
  Reported by:    Mike Tancsa <mike at>
  Security:       Local DoS on systems with crypto HW and with /dev/crypto available
  Approved by:    re (kensmith)
  Revision  Changes    Path  +4 -2      src/sys/opencrypto/cryptodev.c

More information about the cvs-src mailing list