linux/fs/bcachefs
Pei Li 64cd7de998 bcachefs: Fix kmalloc bug in __snapshot_t_mut
When allocating too huge a snapshot table, we should fail gracefully
in __snapshot_t_mut() instead of fail in kmalloc().

Reported-by: syzbot+770e99b65e26fa023ab1@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=770e99b65e26fa023ab1
Tested-by: syzbot+770e99b65e26fa023ab1@syzkaller.appspotmail.com
Signed-off-by: Pei Li <peili.dev@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-06-25 20:51:14 -04:00
..
2024-05-08 17:29:23 -04:00
2024-03-13 21:22:26 -04:00
2024-06-19 18:27:23 -04:00
2024-06-19 18:27:23 -04:00
2024-03-13 18:39:12 -04:00
2024-01-01 11:46:52 -05:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:11 -05:00
2024-06-20 09:13:09 -04:00
2024-06-20 09:13:09 -04:00
2024-01-21 13:27:11 -05:00
2024-04-08 22:56:37 -04:00
2024-03-13 18:39:12 -04:00
2024-01-21 13:27:10 -05:00
2024-06-05 10:44:08 -04:00
2024-06-20 09:13:09 -04:00
2024-05-22 19:54:03 -04:00
2024-05-08 17:29:17 -04:00
2024-01-21 13:27:10 -05:00
2024-01-21 13:27:11 -05:00
2024-05-08 17:29:19 -04:00
2024-06-23 00:57:21 -04:00
2024-01-01 11:47:40 -05:00
2024-01-21 13:27:10 -05:00
2024-05-08 17:29:19 -04:00
2024-01-21 13:27:10 -05:00