cvs commit: src/sys/opencrypto cryptodev.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Aug 19 20:45:42 GMT 2005


pjd         2005-08-19 20:45:42 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    sys/opencrypto       cryptodev.c 
  Log:
  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 sentex.net>
  Tested by:      Mike Tancsa <mike at sentex.net>
  Security:       Local DoS on systems with crypto HW and with /dev/crypto available
  
  Revision  Changes    Path
  1.4.2.5   +4 -2      src/sys/opencrypto/cryptodev.c


More information about the cvs-src mailing list