Skip to content

cryptodev: sshd-session: Invalid session ID kernel message #96

Description

@StfJEAN

I'm using cryptodev-linux module v1.14 over the STM32MP15 SoC CRYPTO engine running Linux-rt 5.10.47 with HW STM32 crc/hash/cryp encrypt accelerators configured. While openssl gives good performances results, I'm not able to remotely connect to that Linux system via ssh, because the running sshd breaks the remote client pipe (I run openssh v9.8 sshd). Loading cryptodev-linux with cryptodev_verbosity=1 gives some hints about the connection attempt:

[ 208.335669] cryptodev: sshd-session[694] (fill_kcop_from_cop:754): invalid session ID=0xA9205EBA
[ 208.335711] cryptodev: sshd-session[694] (cryptodev_ioctl:979): Error copying from user
[ 208.338575] cryptodev: sshd-session[694] (fill_kcop_from_cop:754): invalid session ID=0x1A533C25
[ 208.338606] cryptodev: sshd-session[694] (cryptodev_ioctl:979): Error copying from user

Moreover:

  • lighttpd server seems having the same issue (producing the same "invalid session ID" messages)
  • cryptodev-linux v1.13 malfunctions (?) in the same way

Could you please help me in solving that issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions