diff options
author | 2024-05-05 22:33:05 -0400 | |
---|---|---|
committer | 2024-05-06 10:58:17 -0400 | |
commit | 2bb9600d5d4735953c47dd1ee99382c68dd04caa (patch) | |
tree | 185e6bf1d4141830cf0a3f24da40f027af617c3e /net/unix/af_unix.c | |
parent | bcachefs: Add missing validation for superblock section clean (diff) | |
download | wireguard-linux-2bb9600d5d4735953c47dd1ee99382c68dd04caa.tar.xz wireguard-linux-2bb9600d5d4735953c47dd1ee99382c68dd04caa.zip |
bcachefs: Guard against unknown k.k->type in __bkey_invalid()
For forwards compatibility we have to allow unknown key types, and only
run the checks that make sense against them.
Fix a missing guard on k.k->type being known.
Reported-by: syzbot+ae4dc916da3ce51f284f@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions