Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 09:07:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 227605] [OCF] encrypt_multi/decrypt_multi process too many data
Message-ID:  <bug-227605-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227605

            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@FreeBSD.org
          Reporter: valentin.vergez@stormshield.eu
 Attachment #192613 text/plain
         mime type:

Created attachment 192613
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D192613&action=
=3Dedit
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.

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



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