← Back to team overview

kernel-packages team mailing list archive

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

 

You have been subscribed to a public bug:

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

Expectation:
The access rights are set to 0644.

Details
=====
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*
depends:
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.

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Dimitri John Ledkov (xnox)
         Status: New


** Tags: architecture-s39064 bot-comment bugnameltc-139153 severity-high targetmilestone-inin---
-- 
wrong/missing permissions for device file /dev/prandom (prng.ko)
https://bugs.launchpad.net/bugs/1558275
You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.