opening /sys/devices/platform/tegra-i2c.4/i2c-4/4-006a/reg_status (as user) causes immediate reboot
Bug #1190225 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-grouper (Ubuntu) |
Fix Released
|
Undecided
|
Tim Gardner | ||
Saucy |
Fix Released
|
Undecided
|
Tim Gardner |
Bug Description
umockdev's test suite causes an immediate reboot on my Nexus 7. I tracked this down to opening /sys/devices/
It should be possible to read all files in sysfs without (such dramatic) side effects. If it's really not safe to access a file, then it should at least be made root:root 0400 or similar, to avoid that every user and process can crash the machine.
Related branches
Changed in linux-grouper (Ubuntu Saucy): | |
assignee: | nobody → Tim Gardner (timg-tpi) |
status: | New → In Progress |
tags: | added: saucy |
tags: | added: patch |
To post a comment you must log in.
This also seems to affect other devices, e. g. "cat /sys/devices/ tegradc. 0/nvdps" .