parted crashes with invalid pointer on resizepart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
parted (Ubuntu) |
Fix Released
|
Medium
|
Eric Desrochers | ||
Xenial |
Won't Fix
|
Medium
|
Unassigned | ||
Bionic |
Won't Fix
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Eric Desrochers | ||
Groovy |
Fix Released
|
Medium
|
Eric Desrochers | ||
Hirsute |
Fix Released
|
Medium
|
Eric Desrochers |
Bug Description
[Impact]
Parted is crashing (core dumping) during resize operation, while changing the end position of a partition.
[Test Case]
root@ubuntu-
Warning: Partition /dev/sda1 is being used. Are you sure you want to continue?
Yes/No? yes
End? [42.9GB]?
free(): invalid pointer
Aborted (core dumped)
[Where problems could occur]
As per resize documentation:
"Note that this does not modify any filesystem present in the partition."
"When growing a partition you will want to grow the filesystem afterwards"
FS-wise the resize operation won't try to take action on the FS itself. It would need to be done by the admin as a separate step.
If any problem arise, it will be limited to the resize functionality of parted. In this case, the impact would be ~ similar to the actual parted state (before this SRU), and one won't be able to resize as requested.
[Other Info]
https:/
# Upstream repo:
git describe --tags ca845ae
v3.3-5-gca845ae
# Ubuntu
$ rmadison parted
parted | 3.2-15ubuntu0.1 | xenial-updates
parted | 3.2-20ubuntu0.2 | bionic-updates
parted | 3.3-4 | focal
parted | 3.3-4 | groovy
parted | 3.3-4 | hirsute
[Original Description]
parted crashes with invalid pointer on resizepart on focal
root@ubuntu-
Warning: Partition /dev/sda1 is being used. Are you sure you want to continue?
Yes/No? yes
End? [42.9GB]?
free(): invalid pointer
Aborted (core dumped)
Discussion: https://<email address hidden>
Fix: https:/
description: | updated |
description: | updated |
summary: |
- parted crashes with invalid pointer on resizepart + parted crashes with invalid pointer on resizepart on focal\ |
summary: |
- parted crashes with invalid pointer on resizepart on focal\ + parted crashes with invalid pointer on resizepart on focal |
tags: | added: seg sts |
Changed in parted (Ubuntu): | |
assignee: | nobody → Eric Desrochers (slashd) |
status: | New → In Progress |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in parted (Ubuntu Groovy): | |
status: | New → In Progress |
Changed in parted (Ubuntu Focal): | |
status: | New → In Progress |
Changed in parted (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in parted (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in parted (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in parted (Ubuntu Focal): | |
importance: | Undecided → Medium |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in parted (Ubuntu Groovy): | |
importance: | Undecided → Medium |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in parted (Ubuntu Hirsute): | |
importance: | Undecided → Medium |
Changed in parted (Ubuntu Xenial): | |
importance: | Undecided → Medium |
assignee: | nobody → Eric Desrochers (slashd) |
Changed in parted (Ubuntu Bionic): | |
assignee: | nobody → Eric Desrochers (slashd) |
summary: |
- parted crashes with invalid pointer on resizepart on focal + parted crashes with invalid pointer on resizepart |
Changed in parted (Ubuntu Bionic): | |
assignee: | Eric Desrochers (slashd) → nobody |
Changed in parted (Ubuntu Xenial): | |
assignee: | Eric Desrochers (slashd) → nobody |
[sts-sponsors]
Uploaded in active development release (hirsute).
I'll go ahead with the SRU once the package is foundin hirsute-releases.
- Eric