Page MenuHomeFreeBSD

Don't leak a session and lock if a GMAC key has an invalid length.
ClosedPublic

Authored by jhb on Apr 4 2017, 4:33 PM.
Tags
None
Referenced Files
F134596092: D10273.id27070.diff
Mon, Nov 3, 12:26 PM
F134596074: D10273.id27040.diff
Mon, Nov 3, 12:26 PM
F134595931: D10273.id.diff
Mon, Nov 3, 12:25 PM
F134595651: D10273.diff
Mon, Nov 3, 12:23 PM
Unknown Object (File)
Sun, Nov 2, 11:13 AM
Unknown Object (File)
Mon, Oct 20, 6:35 PM
Unknown Object (File)
Mon, Oct 20, 6:35 PM
Unknown Object (File)
Mon, Oct 20, 6:35 PM
Subscribers

Details

Test Plan
  • Run a buggy gcm test that did not set the hash key only the cipher key (so the hash key length was 0). Observe panic on return to userland due to leaked lock.

Diff Detail

Event Timeline

delphij added a subscriber: delphij.

Looks good to me.

This revision is now accepted and ready to land.Apr 4 2017, 5:06 PM
This revision was automatically updated to reflect the committed changes.