diff options
author | majianpeng <majianpeng@gmail.com> | 2012-11-08 01:56:27 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-11-20 00:27:17 +0100 |
commit | 35f9ac2dcec8f79d7059ce174fd7b7ee3290d620 (patch) | |
tree | 0192c0d2874221bf8672e278c86fd0239cb32b08 /drivers/md/dm-linear.c | |
parent | md: Reassigned the parameters if read_seqretry returned true in func md_is_ba... (diff) | |
download | linux-35f9ac2dcec8f79d7059ce174fd7b7ee3290d620.tar.xz linux-35f9ac2dcec8f79d7059ce174fd7b7ee3290d620.zip |
md: Avoid write invalid address if read_seqretry returned true.
If read_seqretry returned true and bbp was changed, it will write
invalid address which can cause some serious problem.
This bug was introduced by commit v3.0-rc7-130-g2699b67.
So fix is suitable for 3.0.y thru 3.6.y.
Reported-by: zhuwenfeng@kedacom.com
Tested-by: zhuwenfeng@kedacom.com
Cc: stable@vger.kernel.org
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/dm-linear.c')
0 files changed, 0 insertions, 0 deletions