[Bug 1659716] Re: Please pickup the Valgrind fix for RDARAND and " Illegal opcode"

Balint Reczey balint.reczey at canonical.com
Thu Nov 28 15:23:05 UTC 2019


** Changed in: valgrind (Ubuntu)
       Status: New => Fix Released

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

Title:
  Please pickup the Valgrind fix for RDARAND and " Illegal opcode"

Status in valgrind package in Ubuntu:
  Fix Released
Status in valgrind package in Debian:
  Fix Released

Bug description:
  Please pickup the Valgrind fix for RDARAND and " Illegal opcode".

  Valgrind report:

    * https://bugs.kde.org/show_bug.cgi?id=353370

  Debian report:

    * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823610

  ====================

  Working with the Crypto++ library:

  $ valgrind ./cryptest.exe v
  ...

  vex amd64->IR: unhandled instruction bytes: 0x48 0xF 0xC7 0xF0 0x48 0x89 0x45 0x0
  vex amd64->IR:   REX=1 REX.W=1 REX.R=0 REX.X=0 REX.B=0
  vex amd64->IR:   VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=0F
  vex amd64->IR:   PFX.66=0 PFX.F2=0 PFX.F3=0
  ==16081== valgrind: Unrecognised instruction at address 0x5c4902.
  ==16081==    at 0x5C4902: _rdrand64_step (immintrin.h:186)
  ==16081==    by 0x5C4902: ALL_RRI_GenerateBlock (rdrand.cpp:179)
  ==16081==    by 0x5C4902: CryptoPP::RDRAND::GenerateBlock(unsigned char*, unsigned long) (rdrand.cpp:295)
  ==16081==    by 0x505161: CryptoPP::RandomNumberGenerator::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long) (cryptlib.cpp:350)
  ...

  ====================

  $ uname -a
  Linux qotom 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 16.04.1 LTS
  Release:        16.04
  Codename:       xenial

  ====================

  $ which valgrind
  /usr/bin/valgrind

  $ valgrind --version
  valgrind-3.11.0

  $ apt-cache show valgrind
  Package: valgrind
  Priority: optional
  Section: devel
  Installed-Size: 65186
  Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
  Original-Maintainer: Alessandro Ghedini <ghedo at debian.org>
  Architecture: amd64
  Version: 1:3.11.0-1ubuntu4.1
  Replaces: valgrind-dev
  Depends: libc6 (>= 2.14), libc6-dbg
  Recommends: gdb
  Suggests: valgrind-dbg, kcachegrind, alleyoop, valkyrie (>> 1.3.0)
  Breaks: valgrind-dev
  Filename: pool/main/v/valgrind/valgrind_3.11.0-1ubuntu4.1_amd64.deb
  Size: 10967398
  MD5sum: ee114c22adfd029443d62674a594f60a
  SHA1: 8733fdc869aac7ccf044107377a15fead15a5269
  SHA256: f559d5f438ee0f7490008901e7e774644d46456e083ef150ebd1c7e7ec2ff53f
  ...

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



More information about the foundations-bugs mailing list