Kernel produces empty lines in /proc/PID/status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iotop (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Tyler Hicks |
Bug Description
[Impact]
The CVE-2018-3639 for Xenial introduced a double newline sequence in the /proc/PID/status files. This breaks some userspace tools, such as iotop, that parse those files.
[Test Case]
Incorrect output in 4.4.0-127.
$ cat /proc/self/status
...
Seccomp: 0
Speculation_
...
Expected output:
$ cat /proc/self/status
...
Seccomp: 0
Speculation_
...
[Regression Potential]
None
[Original Report]
Hello,
after running updates today to linux-image-
In new view there is an empy line between Seccomp and Speculation_
####
Seccomp: 0
Speculation_
####
Speculation_
iotop is first application which is failing here, but iam afraid of more.
Thanks
affects: | dpkg (Ubuntu) → linux (Ubuntu) |
Changed in iotop (Ubuntu Xenial): | |
status: | Confirmed → Invalid |
Changed in iotop (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in linux (Ubuntu Xenial): | |
status: | Incomplete → In Progress |
assignee: | nobody → Tyler Hicks (tyhicks) |
Changed in linux (Ubuntu): | |
status: | Incomplete → Invalid |
description: | updated |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
tags: | added: cscc |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1772671
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.