]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: cryptographic MACs on superblock are not (yet?) supported
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 28 Nov 2024 22:57:55 +0000 (17:57 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:20 +0000 (01:36 -0500)
commitf7f196170dcd7c629126ee9d37be5dbdb6d4f941
tree813edd6ce30168c80792365fbe9617b1e2a3236f
parent4746ee182a76bbe4dd847180b0c8b575756b0d0d
bcachefs: cryptographic MACs on superblock are not (yet?) supported

We should add support for cryptographic macs on the superblock - and it
won't be hard, but it'll need an incompatible feature bit (and we have a
new incompatible feature versioning scheme coming).

For now, just add a guard to avoid a dull ptr deref in gen_poly_key().

Reported-by: syzbot+dd3d9835055dacb66f35@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super-io.c