Unable to exec pod getting error exit code 126

Hi Team,

We have kuebernetes cluster of 4 nodes in production. We are not able to exec into pod by kubectl exec command getting error: “OCI runtime exec failed: exec failed: unable to start container process: open /dev/pts/0: operation not permitted: unknown command terminated with exit code 126”. After restart node or docker service or restart pod we are able to exec into pods. After few days later same issue coming.

Command: kubect exec -it – bash

Cluster information:

Kubernetes version: 1.23.8
Installation method: kubeadm
Host OS: ubuntu 22.04
kernel version: 5.15.0-46-generic
CNI and version: 0.3.1
CRI and version: 20.10.17

Please anyone help. Thanks in advance.

Regards,
Anupam