Public bug reported:

ocserv 1.1.3-1 included in Ubuntu 22.04 with the latest updates does not
work properly: when a VPN client tries to connect to the ocserv VPN
server, this error message appears in the log:

May 23 23:28:31 my.vpn.server ocserv[15825]: The futex facility returned an 
unexpected error code.
May 23 23:28:31 my.vpn.server kernel: traps: ocserv-worker[15825] general 
protection fault ip:7fb8f835e898 sp:7ffeaaa84850 error:0 in 
libc.so.6[7fb8f835e000+195000]

Expected result: the OpenConnect client is successfully connected to the
VPN.

It is possible to reproduce this bug since I see this error message
every time a client tries to connect to the VPN.

Uninstalling the ocserv jammy package and compiling the latest ocsrv
version 1.1.6 from source
(https://www.infradead.org/ocserv/download/ocserv-1.1.6.tar.xz) solves
this issue.

The ocserv changelog for version 1.1.6 says that "Added futex() to the
accepted list of seccomp. It is required by Fedora 36’s libc." Maybe it
is related to the futex error message seen in Ubuntu.

** Affects: ocserv (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  ocserv 1.1.3-1 included in Ubuntu 22.04 with the latest updates does not
  work properly: when a VPN client tries to connect to the ocserv VPN
  server, this error message appears in the log:
  
  May 23 23:28:31 my.vpn.server ocserv[15825]: The futex facility returned an 
unexpected error code.
  May 23 23:28:31 my.vpn.server kernel: traps: ocserv-worker[15825] general 
protection fault ip:7fb8f835e898 sp:7ffeaaa84850 error:0 in 
libc.so.6[7fb8f835e000+195000]
+ 
+ Expected result: the OpenConnect client is successfully connected to the
+ VPN.
  
  It is possible to reproduce this bug since I see this error message
  every time a client tries to connect to the VPN.
  
  Uninstalling the ocserv jammy package and compiling the latest ocsrv
  version 1.1.6 from source
  (https://www.infradead.org/ocserv/download/ocserv-1.1.6.tar.xz) solves
  this issue.
  
  The ocserv changelog for version 1.1.6 says that "Added futex() to the
  accepted list of seccomp. It is required by Fedora 36’s libc." Maybe it
  is related to the futex error message seen in Ubuntu.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1975550

Title:
  OpenConnect VPN (ocserv): general protection fault in ocserv-worker
  when a client tries to connect

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocserv/+bug/1975550/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to