All of lore.kernel.org
 help / color / mirror / Atom feed
* bio's bi_size bug also be founded at dm-stripe.c and dm-snap.c (resend in correct charset)
@ 2005-06-29 10:10 Zhao Qian
  2005-06-29 11:30 ` Kevin Corry
  2005-07-11 12:32 ` Device Mapper corruption Suleyman Kutlu
  0 siblings, 2 replies; 6+ messages in thread
From: Zhao Qian @ 2005-06-29 10:10 UTC (permalink / raw)
  To: dm-devel

As i had written here before, sometimes bio which dispatched to the dm's target, it's bi_size could exceed
region size in dm-mirror.c, i also found similar problem in dm-stripe.c and dm-snap.c , in such situation,
bio's bi_size could exceed strip target's chunk size and snap target's chunk size, but in current code, we
never care about this. so in strip target we could read/write bad position after stripe_map() function,
and cause same effect in dm-snap.c.
I think such bugs are very dangerous then kernel panic or cracsh becasue it may destroy your data 
in silence. we'd better to annonuce our linux users don't use thus dm-targets before we correct it.

Sincerely,
                Zhao Qian <zhaoqian@aaastor.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-11 12:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-29 10:10 bio's bi_size bug also be founded at dm-stripe.c and dm-snap.c (resend in correct charset) Zhao Qian
2005-06-29 11:30 ` Kevin Corry
2005-06-29 11:46   ` Kevin Corry
2005-06-29 14:42     ` Alasdair G Kergon
2005-06-30  2:02       ` Zhao Qian
2005-07-11 12:32 ` Device Mapper corruption Suleyman Kutlu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.