[Bug 227605] [OCF] encrypt_multi/decrypt_multi process too many data

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 18 09:07:58 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227605

            Bug ID: 227605
           Summary: [OCF] encrypt_multi/decrypt_multi process too many
                    data
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: valentin.vergez at stormshield.eu
 Attachment #192613 text/plain
         mime type:

Created attachment 192613
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=192613&action=edit
Fix proposal

Hello,

encrypt_multi and decrypt_multi seems to process too many data when the
underlying buffer is larger than the data to process.

Steps to reproduce: use encrypt_multi/decrypt_multi into an IPSEC context (for
ciphering ESP). Decryption will erase the authentication data contained at the
end of the mbuf.

I attached a patch with the fixup I used.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list