diff options
author | majianpeng <majianpeng@gmail.com> | 2012-11-08 08:56:27 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 11:47:06 -0800 |
commit | 8c98fbaa55508732bb5a9f46b3c6cf60daa8e526 (patch) | |
tree | 7ff077f3f6fbb1db0766c721bf867f069aa8e558 /drivers/uio/uio.c | |
parent | 45bc5c6913e04f1346bfe3401d2f52ad2164b3b2 (diff) |
md: Avoid write invalid address if read_seqretry returned true.
commit 35f9ac2dcec8f79d7059ce174fd7b7ee3290d620 upstream.
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
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/uio/uio.c')
0 files changed, 0 insertions, 0 deletions