squashfs hardening
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Paolo Pisati | ||
Xenial |
Fix Released
|
Medium
|
Paolo Pisati | ||
Bionic |
Fix Released
|
Medium
|
Paolo Pisati |
Bug Description
[Impact]
There are a number of recent squashfs hardening fixes in the upstream kernel. They don't have CVE number assigned but it would be good to backport the fixes to harden our kernel against malicious squashfs images. They would harden Ubuntu kernels against potentially malicious snaps.
The changes are:
* https:/
* https:/
* https:/
* https:/
* https:/
[Test Case]
Unfortunately, we don't have access to the reproducers and I'm unaware of any regression tests for the squashfs kernel driver. It is very important that we don't regress snap usage in Ubuntu. In previous squashfs/snap testing, we've noticed that large snaps, such as chromium and libreoffice, do a good job of exercising the squashfs code. It should be sufficient if we make sure those snaps continue to install and work correctly.
$ sudo snap install chromium
$ sudo snap install libreoffice
$ chromium
< ensure you can browse to various websites >
$ libreoffice
< ensure you can create, save, open documents >
[ Regression Potential ]
Fairly low. The patches are intended to catch corrupted and/or malicious squashfs images. They should not affect well formed squashfs images. These patches are already present in the Cosmic (and Disco) kernel with no known bug reports despite a considerable number of Cosmic users exercising these changes via snaps.
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Bionic: https:/ /lists. ubuntu. com/archives/ kernel- team/2019- February/ 098532. html /lists. ubuntu. com/archives/ kernel- team/2019- February/ 098538. html
Xenial: https:/