You have been subscribed to a public bug:

The following ubuntu xenial version segfaults any program trying to read
its own vsyscall memory segment. The affected ubuntu version:

Vagrant box: ubuntu/xenial64 (v20180112.0.0)
Kernel: 4.4.0-109-generic

Executing the following program segfaults:

// gcc -g -O0 <file>
int main() {
  // You use gdb to pause the program and 
  // check through /proc/<pid>/maps that this 
  // memory addrs is mapped to [vsyscall]
  return *(int*)(0xffffffffff600000);
}

The following two versions work fine:

Vagrant box: ubuntu/bionic64 (v20180115.1.0)
Kernel: 4.13.0-25-generic

Vagrant box: ubuntu/xenial64 (v20171028.0.0)
Kernel: 4.4.0-97-generic

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

-- 
Ubuntu 16.04.3 LTS with kerne 4.4.0-109-generic, segfaults vsyscalls
https://bugs.launchpad.net/bugs/1744122
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to linux in Ubuntu.

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to