linux panics when squashfs image created by older squashfs tools is accessed

Bug #820365 reported by Michal Suchanek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I tried to repack my Ubuntu live image with squashfs tools from Debian (squashfs-tools 1:4.0-8).

It caused a kernel panic when booting from the repacked image.

It is completely acceptable that the kernel cannot use old suqashfs images but then it should refuse to mount the image, not panic.

It is likely that mounting and accessing a squashfs image would crash a system booted normally from HDD so if I copied this squashfs filesystem to an USB flash and plugged it into an Ubuntu system with automounting enabled it would crash when an application would try to access the drive flash.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-22-generic 2.6.35-22.33
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
CurrentDmesg:

Date: Wed Aug 3 15:11:42 2011
Lsusb:
 Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
PciMultimedia:

ProcCmdLine: boot=casper initrd=redo-initrd vga=791 quiet splash toram timezone=Europe/Prague redo_share=//handyman/netghost/temp netboot=http nfsroot=http://195.113.15.10/casper/filesystem.squashfs toram -- BOOT_IMAGE=redo-vmlinuz
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs

Revision history for this message
Michal Suchanek (hramrach) wrote :
Revision history for this message
Marc Deslauriers (mdeslaur) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

security vulnerability: yes → no
visibility: private → public
Revision history for this message
Michal Suchanek (hramrach) wrote :

I tried putting such squashfs on a CD and while running find on /media/disk would bring the system down just inserting the CD would not with default Ubuntu installation.

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Michal Suchanek, thank you for taking the time to report this bug and trying to help make Ubuntu better. However, a Debian repacked Ubuntu live image is not provided by the official Ubuntu repositories. Because of this the Ubuntu project can not support or fix your particular bug. Please report this bug to the provider of the software package. Thanks!

If you are interested in learning more about software repositories and Ubuntu, check https://help.ubuntu.com/community/Repositories

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Michal Suchanek (hramrach) wrote :

well, the problem is not that repacked images do not work but that kernel panics when accessing such repacked image.

EIhter way, linux 2.6 is obsolete by now and hopefully future kernels do not have such bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.