Displaying 2 results from an estimated 2 matches for "crypto_destroy_sess".
2024 Oct 08
1
sshd fails when using cryptodev-linux to compute hmac
..._cleanup entering
debug1: session_pty_cleanup2: session 0 release /dev/pts/0
debug1: audit_event: unhandled event 12
Looking at the ioctl logging from cryptodev-linux, I can see that a session ID is being closed (CIOCFSESSION) before an attempt is made to copy from it (CIOCCPHASH). As you can see, crypto_destroy_session was called before a crypto_copy_hash_state for the same SID (0x9198779A):
....
2024-10-08T18:52:23.314088+00:00 debug kernel: [ 1206.105427] cryptodev: sshd-session[2108] (cryptodev_ioctl:960): Got CIOCFSESSION
2024-10-08T18:52:23.314104+00:00 debug kernel: [ 1206.105473] cryptodev: sshd-sessio...
2024 Oct 08
1
sshd fails when using cryptodev-linux to compute hmac
...t; debug1: session_pty_cleanup2: session 0 release /dev/pts/0
> debug1: audit_event: unhandled event 12
>
> Looking at the ioctl logging from cryptodev-linux, I can see that a session ID is being closed (CIOCFSESSION) before an attempt is made to copy from it (CIOCCPHASH). As you can see, crypto_destroy_session was called before a crypto_copy_hash_state for the same SID (0x9198779A):
>
> ....
> 2024-10-08T18:52:23.314088+00:00 debug kernel: [ 1206.105427] cryptodev: sshd-session[2108] (cryptodev_ioctl:960): Got CIOCFSESSION
> 2024-10-08T18:52:23.314104+00:00 debug kernel: [ 1206.105473] cr...