Commit 5ac437f
committed
dm-flakey: Fix memory corruption in optional corrupt_bio_byte feature
JIRA: https://issues.redhat.com/browse/RHEL-84777
Upstream Status: kernel/git/torvalds/linux.git
commit 57e9417
Author: Kent Overstreet <kent.overstreet@linux.dev>
Date: Sat Mar 8 10:50:08 2025 -0500
dm-flakey: Fix memory corruption in optional corrupt_bio_byte feature
Fix memory corruption due to incorrect parameter being passed to bio_init
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org # v6.5+
Fixes: 1d9a943 ("dm flakey: clone pages on write bio before corrupting them")
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>1 parent 180aff9 commit 5ac437f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| |||
0 commit comments