← Back to team overview

kernel-packages team mailing list archive

[Bug 1558275] Re: wrong/missing permissions for device file /dev/prandom (prng.ko)


For example, KVM for IBM z Systems 1.1.0 (Z) is also affected, and the
device has following permissions:

# ls -latr /dev/prandom 
crw------- 1 root root 10, 57 Mar 17 13:41 /dev/prandom

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  wrong/missing permissions for device file /dev/prandom (prng.ko)

Status in linux package in Ubuntu:
Status in s390-tools package in Ubuntu:
Status in systemd package in Ubuntu:

Bug description:
  The access rights for /dev/prandom are set to 0600. The prandom file
  is created upon loading the prng module.

  The access rights are set to 0644.

  root@s83lp22:~# modinfo prng
  filename:       /lib/modules/4.4.0-13-generic/kernel/arch/s390/crypto/prng.ko
  description:    s390 PRNG interface
  author:         IBM Corporation
  license:        GPL
  srcversion:     B48774F4AEBAE6DB4983C98
  alias:          cpu:type:*:feature:*0003*
  intree:         Y
  vermagic:       4.4.0-13-generic SMP mod_unload modversions
  parm:           mode:int
  parm:           prng_mode:PRNG mode: 0 - auto, 1 - TDES, 2 - SHA512
  parm:           chunksize:int
  parm:           prng_chunk_size:PRNG read chunk size in bytes
  parm:           reseed_limit:int
  parm:           prng_reseed_limit:PRNG reseed limit
  Contact Information = Christian.Rund@xxxxxxxxxx 
  ---uname output---
  Linux s83lp22 4.4.0-13-generic #29-Ubuntu SMP Fri Mar 11 19:30:41 UTC 2016 s390x s390x s390x GNU/Linux
  Machine Type = Manufacturer:   IBM Type: 2964 Model:      702      N96 
  ---Steps to Reproduce---
   1) modprobe prng
  2) ls -l /dev/prandom

  This is a s390x issue.

To manage notifications about this bug go to: