cvs commit: src/sys/opencrypto cryptodev.c

Pawel Jakub Dawidek pjd at FreeBSD.org
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 
  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>
  Security:       Local DoS on systems with crypto HW and with /dev/crypto available
  Approved by:    re (kensmith)
  
  Revision  Changes    Path
  1.25.2.1  +4 -2      src/sys/opencrypto/cryptodev.c


More information about the cvs-src mailing list