Bug 12479
Summary: | squashfs: BUG in squashfs_read_data() on intentionally corrupted filesystems | ||
---|---|---|---|
Product: | File System | Reporter: | Sami Liedes (sami.liedes) |
Component: | squashfs | Assignee: | Phillip Lougher (phillip) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | phillip |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.29-rc2 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
Fix for the kernel oops reported
Fix v2 |
Description
Sami Liedes
2009-01-18 11:28:59 UTC
This appears to be the same bug reported in this thread http://marc.info/?l=linux-fsdevel&m=123212794425497&w=2 My analysis of the bug is here http://marc.info/?l=linux-fsdevel&m=123259245729023&w=2 I'll create a patch and attach it. Created attachment 20104 [details]
Fix for the kernel oops reported
Patch submitted to LKML and linux-fsdevel. Also available from Squashfs git tree at git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-linus.git
Created attachment 20151 [details]
Fix v2
Second version of patch following review...
The fix for this has just gone into mainline (to be 2.6.29-rc8). |