Kent Overstreet
692aa7a54b
bcachefs: Fix sb_field_downgrade validation
...
- bch2_sb_downgrade_validate() wasn't checking for a downgrade entry
extending past the end of the superblock section
- for_each_downgrade_entry() is used in to_text() and needs to work on
malformed input; it also was missing a check for a field extending
past the end of the section
Reported-by: syzbot+e49ccab73449180bc9be@syzkaller.appspotmail.com
Fixes: 84f1638795da ("bcachefs: bch_sb_field_downgrade")
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-05-09 16:23:36 -04:00
..
2024-05-08 17:29:18 -04:00
2024-01-21 13:27:10 -05:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:24 -04:00
2024-05-08 17:29:23 -04:00
2024-05-08 17:29:24 -04:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-03-13 21:22:24 -04:00
2024-05-08 17:29:24 -04:00
2024-01-01 11:47:41 -05:00
2024-05-08 17:29:24 -04:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 14:56:09 -04:00
2024-05-08 14:56:09 -04:00
2024-03-13 21:22:26 -04:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:34 -04:00
2024-05-09 16:23:34 -04:00
2024-05-09 16:23:34 -04:00
2024-05-08 17:29:20 -04:00
2024-05-08 17:29:23 -04:00
2024-05-08 17:29:21 -04:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:34 -04:00
2024-05-08 17:29:22 -04:00
2024-05-08 17:29:21 -04:00
2024-05-08 17:29:17 -04:00
2024-05-08 17:29:17 -04:00
2024-05-08 17:29:20 -04:00
2024-05-08 17:29:22 -04:00
2024-01-01 11:47:41 -05:00
2024-05-08 17:29:19 -04:00
2024-05-08 17:29:19 -04:00
2024-04-28 21:34:29 -04:00
2024-04-28 21:34:29 -04:00
2024-04-03 14:44:18 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:24 -04:00
2024-05-09 16:23:34 -04:00
2024-05-08 17:29:19 -04:00
2024-05-08 17:29:22 -04:00
2024-05-08 17:29:19 -04:00
2024-01-01 11:47:41 -05:00
2024-05-08 17:29:18 -04:00
2024-01-05 23:24:19 -05:00
2024-01-21 06:01:45 -05:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:23 -04:00
2024-05-08 17:29:22 -04:00
2024-05-09 16:23:36 -04:00
2024-04-13 22:48:17 -04:00
2024-01-21 13:27:09 -05:00
2024-03-13 18:39:12 -04:00
2024-04-13 22:48:17 -04:00
2024-01-01 11:46:52 -05:00
2024-01-01 11:47:43 -05:00
2024-05-08 17:29:24 -04:00
2023-11-25 21:48:42 -05:00
2024-05-09 16:23:36 -04:00
2024-01-21 13:27:10 -05:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-01-21 13:27:11 -05:00
2024-01-01 11:47:38 -05:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-03-13 21:22:25 -04:00
2024-05-06 10:58:17 -04:00
2024-05-08 17:29:18 -04:00
2024-03-31 20:36:11 -04:00
2024-05-08 17:29:18 -04:00
2024-01-21 13:27:11 -05:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:18 -04:00
2024-04-08 22:56:37 -04:00
2024-03-13 18:39:12 -04:00
2024-05-08 17:29:21 -04:00
2024-05-08 17:29:20 -04:00
2024-05-08 17:29:18 -04:00
2024-05-08 17:29:18 -04:00
2024-03-13 21:22:26 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:21 -04:00
2023-11-05 13:12:18 -05:00
2024-05-08 17:29:21 -04:00
2024-01-01 11:47:36 -05:00
2024-05-08 17:29:21 -04:00
2024-03-13 21:22:25 -04:00
2024-01-21 13:27:10 -05:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:18 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:24 -04:00
2024-05-09 16:23:36 -04:00
2023-11-24 00:29:58 -05:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:22 -04:00
2024-01-01 11:47:41 -05:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:20 -04:00
2024-05-08 17:29:22 -04:00
2024-05-08 17:29:22 -04:00
2024-05-08 17:29:22 -04:00
2024-01-01 11:47:44 -05:00
2024-01-01 11:47:43 -05:00
2024-01-01 11:47:43 -05:00
2024-01-21 13:27:11 -05:00
2024-05-08 17:29:18 -04:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-04-03 14:44:18 -04:00
2024-04-02 14:45:08 -04:00
2024-03-13 21:37:58 -04:00
2024-03-13 21:37:58 -04:00
2024-05-08 17:29:18 -04:00
2024-05-08 17:29:23 -04:00
2024-01-01 11:47:39 -05:00
2024-05-08 17:29:19 -04:00
2024-04-13 22:48:17 -04:00
2024-05-08 17:29:22 -04:00
2024-05-08 17:29:17 -04:00
2024-05-08 17:29:17 -04:00
2024-01-21 13:27:10 -05:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:19 -04:00
2024-04-03 14:46:51 -04:00
2024-05-08 17:29:20 -04:00
2024-03-31 20:36:12 -04:00
2024-05-08 17:29:22 -04:00
2024-04-03 14:46:51 -04:00
2024-01-21 13:27:11 -05:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-01-01 11:47:39 -05:00
2024-05-09 16:23:36 -04:00
2024-01-01 11:47:38 -05:00
2024-05-09 16:23:36 -04:00
2024-01-21 13:27:10 -05:00
2024-05-09 16:23:36 -04:00
2024-01-21 13:27:10 -05:00
2024-05-09 16:23:36 -04:00
2024-01-05 23:24:20 -05:00
2024-05-08 17:29:20 -04:00
2024-05-09 16:23:36 -04:00
2024-01-01 11:47:07 -05:00
2024-05-08 17:29:19 -04:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-01-01 11:47:38 -05:00
2024-01-01 11:47:40 -05:00
2024-01-21 13:27:10 -05:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:18 -04:00
2024-03-13 21:22:24 -04:00
2024-03-31 20:36:11 -04:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:19 -04:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00
2024-05-08 17:29:23 -04:00
2024-01-01 11:47:38 -05:00
2024-05-08 17:29:22 -04:00
2024-05-08 17:29:18 -04:00
2024-03-13 18:39:13 -04:00
2024-04-16 19:11:49 -04:00
2024-04-16 19:11:49 -04:00
2024-03-13 21:38:01 -04:00
2024-03-13 21:38:03 -04:00
2024-05-08 17:29:24 -04:00
2024-05-08 17:29:17 -04:00
2024-04-06 13:50:26 -04:00
2024-01-01 11:47:42 -05:00
2024-01-21 13:27:10 -05:00
2024-05-09 16:23:36 -04:00
2024-05-09 16:23:36 -04:00