#4184 BLOC First D: JFFS2 Dirent Anomaly

Zarro Boogs per Child bugtracker at laptop.org
Tue Oct 23 19:07:42 EDT 2007


#4184: JFFS2 Dirent Anomaly
--------------------------------+-------------------------------------------
  Reporter:  wmb at firmworks.com  |       Owner:  krstic                
      Type:  defect             |      Status:  new                   
  Priority:  blocker            |   Milestone:  First Deployment, V1.0
 Component:  kernel             |     Version:                        
Resolution:                     |    Keywords:                        
  Verified:  0                  |  
--------------------------------+-------------------------------------------

Comment(by wmb at firmworks.com):

 The current status:

 a) The bug no longer causes JFFS2 to go crazy with garbage collection
 failures, due to a JFFS2 patch that prevents it from creating a bogus
 dirent when passed a bad filename containing nulls.  (Need to confirm that
 the JFFS2 patch is in a released kernel.)

 b) joydev.ko is no longer being config-ed in the kernel, so this
 particular trigger should no longer exist.  (Need to confirm that this
 config change has made it into a release.)

 c) We know why the .ko files are getting link-broken - it is because
 modprobe is stupid.  We need to either change modprobe to open the files
 R/O when --force is not present, or use insmod instead, or compile-in
 several drivers instead of them being modules.

 d) The vserver patch above seems to prevent the multiple-link-breaking,
 but has another non-atomicity.  The patch needs to be reviewed by
 qualified kernel/filesystem hackers.  Ideally, we would like link-breaking
 to be atomic, but failing that, we might be able to convince ourselves
 that the window of vulnerability is acceptable.  In any case, the patch
 needs to be sanity-checked.

-- 
Ticket URL: <https://dev.laptop.org/ticket/4184#comment:22>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list