Segfault when using docker and overlay2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysstat (Debian) |
Fix Released
|
Unknown
|
|||
sysstat (Ubuntu) |
Fix Released
|
Medium
|
Dariusz Gadomski | ||
Xenial |
Fix Released
|
Medium
|
Dariusz Gadomski | ||
Zesty |
Fix Released
|
Medium
|
Dariusz Gadomski | ||
Artful |
Fix Released
|
Medium
|
Dariusz Gadomski |
Bug Description
[Impact]
* With long entries in mtab tools utilizing the get_filesystem_nr and read_filesystem functions cause a segfault due to a fact that they don't
check strchr result for being null.
[Test Case]
* Have a long entry in /etc/mtab, e.g.
overlay /var/lib/
7e0ee5d9e54f87e
ar/lib/
overlay2/
YEXD2FH65FTMK76
OWQ6CPJFY:
/lib/docker/
erlay2/
EFS5EZGRTC4DPHU
MXYX5CD:
ib/docker/
lay2/l/
4AIZD2AROU3TVK3
OLGHU:/
/docker/
y2/l/TQKUV4LEG4
EKJ4DTN4GMEGTDI
IZA,upperdir=
cdc037e0ee5d9e5
lay2/f23d2377a6
f/work 0 0
(the above is from the upstream bug description).
* Run
sadc -F -L -S DISK 1 1 /var/log/sysstat
* Note a segfault in the log/console.
[Regression Potential]
* The fix is present upstream, so the behaviour will be consistent with the upstream version.
* I don't see any potential regression manifestation, as this is a simple bugfix fixing ignoring function return values.
[Other Info]
Original bug description:
This is the same bug as https:/
Would it be possible to get this patch added?
Changed in sysstat (Debian): | |
status: | Unknown → Fix Released |
Changed in sysstat (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in sysstat (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in sysstat (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in sysstat (Ubuntu Zesty): | |
importance: | Undecided → Medium |
Changed in sysstat (Ubuntu Artful): | |
importance: | Undecided → Medium |
Changed in sysstat (Ubuntu Xenial): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in sysstat (Ubuntu Zesty): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
Changed in sysstat (Ubuntu Artful): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
tags: | added: sts |
tags: | added: sts-sponsor-slashd |
description: | updated |
Changed in sysstat (Ubuntu): | |
assignee: | nobody → Dariusz Gadomski (dgadomski) |
importance: | High → Medium |
status: | Fix Released → In Progress |
tags: | removed: sts-sponsor-slashd |
tags: | added: sts-sponsor-slashd-done |
SRU proposal for Artful.