Public bug reported:
While stress testing a machine with a lot of low memory pressure and
processes fork/exiting very rapidly I found that smemstat reads empty
/proc/$pid/status files and hence cannot get a process UID. This leads
to no umame being found for a new mem_info item and later on the
deference of m->uname->name segfaults on a null pointer deference
because m->uname is NULL.
** Affects: smemstat (Ubuntu)
Importance: High
Assignee: Colin Ian King (colin-king)
Status: In Progress
** Changed in: smemstat (Ubuntu)
Importance: Undecided => High
** Changed in: smemstat (Ubuntu)
Assignee: (unassigned) => Colin Ian King (colin-king)
** Changed in: smemstat (Ubuntu)
Status: New => In Progress
** Description changed:
While stress testing a machine with a lot of low memory pressure and
processes fork/exiting very rapidly I found that smemstat reads empty
/proc/$pid/status files and hence cannot get a process UID. This leads
- to no umame being fond for a new mem_info item and later on the
+ to no umame being found for a new mem_info item and later on the
deference of m->uname->name segfaults on a null pointer deference
because m->uname is NULL.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1473245
Title:
on low memory smemstat can't read UIDs resulting in a NULL uname and a
segfault
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/smemstat/+bug/1473245/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs