diff options
author | 2024-06-25 17:39:56 -0700 | |
---|---|---|
committer | 2024-06-25 20:51:14 -0400 | |
commit | 64cd7de998f393e73981e2aa4ee13e4e887f01ea (patch) | |
tree | 1552c78f0e8f48e3851db9440f6818160888a996 /scripts/generate_rust_analyzer.py | |
parent | bcachefs: Discard, invalidate workers are now per device (diff) | |
download | linux-rng-64cd7de998f393e73981e2aa4ee13e4e887f01ea.tar.xz linux-rng-64cd7de998f393e73981e2aa4ee13e4e887f01ea.zip |
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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions