linux/fs/bcachefs
Kent Overstreet 840c2fbcc5 bcachefs: Fix assertion pop in bch2_ptr_swab()
This runs on extents that haven't yet been validated, so we don't want
to assert that we have a valid entry type.

Reported-by: syzbot+4f29c3f12f864d8a8d17@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-11-12 03:46:57 -05:00
..
acl.c
acl.h
alloc_background_format.h bcachefs: Kill alloc_v4.fragmentation_lru 2024-10-04 20:25:32 -04:00
alloc_background.c bcachefs: Don't use commit_do() unnecessarily 2024-10-18 00:49:48 -04:00
alloc_background.h bcachefs: fix shift oob in alloc_lru_idx_fragmentation 2024-10-24 17:41:43 -04:00
alloc_foreground.c bcachefs: Fix deadlock on -ENOSPC w.r.t. partial open buckets 2024-10-29 06:34:10 -04:00
alloc_foreground.h
alloc_types.h
backpointers.c bcachefs: Allow for unknown key types in backpointers fsck 2024-11-11 00:37:19 -05:00
backpointers.h
bbpos_types.h
bbpos.h
bcachefs_format.h bcachefs: bcachefs_metadata_version_inode_has_child_snapshots 2024-10-09 16:42:51 -04:00
bcachefs_ioctl.h
bcachefs.h bcachefs: Fix deadlock on -ENOSPC w.r.t. partial open buckets 2024-10-29 06:34:10 -04:00
bkey_buf.h
bkey_cmp.h
bkey_methods.c bcachefs: rename version -> bversion 2024-09-27 21:46:35 -04:00
bkey_methods.h bcachefs: rename version -> bversion 2024-09-27 21:46:35 -04:00
bkey_sort.c
bkey_sort.h
bkey_types.h
bkey.c bcachefs: Ancient versions with bad bkey_formats are no longer supported 2024-11-07 16:48:20 -05:00
bkey.h bcachefs: Check for accounting keys with bversion=0 2024-09-27 21:46:35 -04:00
bset.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
bset.h
btree_cache.c bcachefs: btree_cache.freeable list fixes 2024-11-07 16:48:21 -05:00
btree_cache.h bcachefs: btree_cache.freeable list fixes 2024-11-07 16:48:21 -05:00
btree_gc_types.h
btree_gc.c bcachefs: Fix assertion pop in topology repair 2024-11-11 00:37:18 -05:00
btree_gc.h
btree_io.c bcachefs: Fix validate_bset() repair path 2024-11-08 14:07:11 -05:00
btree_io.h
btree_iter.c bcachefs: Fix NULL ptr dereference in btree_node_iter_and_journal_peek 2024-10-29 06:34:11 -04:00
btree_iter.h bcachefs: Don't use commit_do() unnecessarily 2024-10-18 00:49:48 -04:00
btree_journal_iter.c
btree_journal_iter.h
btree_key_cache_types.h
btree_key_cache.c
btree_key_cache.h
btree_locking.c
btree_locking.h
btree_node_scan_types.h
btree_node_scan.c bcachefs: Fix null ptr deref in bucket_gen_get() 2024-11-07 16:48:17 -05:00
btree_node_scan.h
btree_trans_commit.c bcachefs: Fix trans_commit disk accounting revert 2024-10-02 21:37:42 -04:00
btree_types.h
btree_update_interior.c bcachefs: Fix assertion pop in topology repair 2024-11-11 00:37:18 -05:00
btree_update_interior.h
btree_update.c bcachefs: Don't use commit_do() unnecessarily 2024-10-18 00:49:48 -04:00
btree_update.h bcachefs: Don't use commit_do() unnecessarily 2024-10-18 00:49:48 -04:00
btree_write_buffer_types.h
btree_write_buffer.c bcachefs: bch2_btree_write_buffer_flush_going_ro() 2024-11-07 23:31:11 -05:00
btree_write_buffer.h bcachefs: bch2_btree_write_buffer_flush_going_ro() 2024-11-07 23:31:11 -05:00
buckets_types.h
buckets_waiting_for_journal_types.h
buckets_waiting_for_journal.c
buckets_waiting_for_journal.h
buckets.c bcachefs: bch2_folio_reservation_get_partial() is now better behaved 2024-10-18 00:49:48 -04:00
buckets.h bcachefs: Fix null ptr deref in bucket_gen_get() 2024-11-07 16:48:17 -05:00
chardev.c bcachefs: Run in-kernel offline fsck without ratelimit errors 2024-10-18 00:49:48 -04:00
chardev.h
checksum.c
checksum.h
clock_types.h
clock.c
clock.h
compress.c
compress.h
darray.c bcachefs: Workaround for kvmalloc() not supporting > INT_MAX allocations 2024-10-20 16:50:14 -04:00
darray.h
data_update.c bcachefs: Don't keep tons of cached pointers around 2024-10-29 06:34:10 -04:00
data_update.h bcachefs: Don't keep tons of cached pointers around 2024-10-29 06:34:10 -04:00
debug.c
debug.h
dirent_format.h
dirent.c bcachefs: fsck: Improve hash_check_key() 2024-10-18 00:49:48 -04:00
dirent.h bcachefs: fsck: Improve hash_check_key() 2024-10-18 00:49:48 -04:00
disk_accounting_format.h
disk_accounting_types.h bcachefs: rename version -> bversion 2024-09-27 21:46:35 -04:00
disk_accounting.c bcachefs: Don't use commit_do() unnecessarily 2024-10-18 00:49:48 -04:00
disk_accounting.h bcachefs: rename version -> bversion 2024-09-27 21:46:35 -04:00
disk_groups_format.h
disk_groups_types.h
disk_groups.c
disk_groups.h
ec_format.h
ec_types.h
ec.c bcachefs: fix possible null-ptr-deref in __bch2_ec_stripe_head_get() 2024-10-29 06:34:10 -04:00
ec.h
errcode.c
errcode.h bcachefs: add check NULL return of bio_kmalloc in journal_read_bucket 2024-11-07 16:48:21 -05:00
error.c bcachefs: Fix __bch2_fsck_err() warning 2024-10-20 16:50:14 -04:00
error.h bcachefs: bkey errors are only AUTOFIX during read 2024-10-04 20:25:31 -04:00
extent_update.c
extent_update.h
extents_format.h
extents_types.h
extents.c bcachefs: Fix assertion pop in bch2_ptr_swab() 2024-11-12 03:46:57 -05:00
extents.h bcachefs: Don't keep tons of cached pointers around 2024-10-29 06:34:10 -04:00
eytzinger.c
eytzinger.h
fifo.h
fs-common.c
fs-common.h
fs-io-buffered.c bcachefs: Fix data corruption on -ENOSPC in buffered write path 2024-10-18 00:49:48 -04:00
fs-io-buffered.h
fs-io-direct.c bcachefs: fix uaf in bch2_dio_write_done() 2024-10-13 17:55:33 -04:00
fs-io-direct.h
fs-io-pagecache.c bcachefs: bch2_folio_reservation_get_partial() is now better behaved 2024-10-18 00:49:48 -04:00
fs-io-pagecache.h
fs-io.c bcachefs: Fix unhandled transaction restart in fallocate 2024-10-29 06:34:10 -04:00
fs-io.h
fs-ioctl.c
fs-ioctl.h
fs.c bcachefs fixes for 6.12-rc5 2024-10-24 12:38:59 -07:00
fs.h bcachefs: bch2_inode_or_descendents_is_open() 2024-10-09 16:42:53 -04:00
fsck.c bcachefs: fsck: Improve hash_check_key() 2024-10-18 00:49:48 -04:00
fsck.h bcachefs: Split out check_unreachable_inodes() pass 2024-10-06 03:03:45 -04:00
inode_format.h bcachefs: INODE_STR_HASH() for bch_inode_unpacked 2024-10-18 00:49:48 -04:00
inode.c bcachefs fixes for 6.12-rc5 2024-10-24 12:38:59 -07:00
inode.h bcachefs: INODE_STR_HASH() for bch_inode_unpacked 2024-10-18 00:49:48 -04:00
io_misc.c bcachefs: fix restart handling in __bch2_resume_logged_op_finsert() 2024-10-18 00:49:48 -04:00
io_misc.h
io_read.c bcachefs: Fix UAF in __promote_alloc() error path 2024-11-07 16:48:21 -05:00
io_read.h
io_write_types.h
io_write.c bcachefs: Fix null ptr deref in bucket_gen_get() 2024-11-07 16:48:17 -05:00
io_write.h
journal_io.c bcachefs: Fix journal_entry_dev_usage_to_text() overrun 2024-11-12 03:46:57 -05:00
journal_io.h
journal_reclaim.c
journal_reclaim.h
journal_sb.c
journal_sb.h
journal_seq_blacklist_format.h
journal_seq_blacklist.c
journal_seq_blacklist.h
journal_types.h
journal.c bcachefs: Don't use wait_event_interruptible() in recovery 2024-10-20 16:50:14 -04:00
journal.h bcachefs: Don't use wait_event_interruptible() in recovery 2024-10-20 16:50:14 -04:00
Kconfig
keylist_types.h
keylist.c
keylist.h
logged_ops_format.h
logged_ops.c bcachefs: Rework logged op error handling 2024-10-04 20:25:32 -04:00
logged_ops.h bcachefs: Rework logged op error handling 2024-10-04 20:25:32 -04:00
lru_format.h
lru.c bcachefs: Kill alloc_v4.fragmentation_lru 2024-10-04 20:25:32 -04:00
lru.h
Makefile
mean_and_variance_test.c
mean_and_variance.c
mean_and_variance.h
migrate.c
migrate.h
move_types.h
move.c bcachefs: Don't keep tons of cached pointers around 2024-10-29 06:34:10 -04:00
move.h
movinggc.c bcachefs: Kill alloc_v4.fragmentation_lru 2024-10-04 20:25:32 -04:00
movinggc.h
nocow_locking_types.h
nocow_locking.c
nocow_locking.h
opts.c bcachefs: Change OPT_STR max to be 1 less than the size of choices array 2024-11-07 16:48:21 -05:00
opts.h bcachefs: Add hash seed, type to inode_to_text() 2024-10-18 00:49:48 -04:00
printbuf.c
printbuf.h
quota_format.h
quota_types.h
quota.c bcachefs: Don't use commit_do() unnecessarily 2024-10-18 00:49:48 -04:00
quota.h
rcu_pending.c
rcu_pending.h
rebalance_types.h
rebalance.c bcachefs: Don't use commit_do() unnecessarily 2024-10-18 00:49:48 -04:00
rebalance.h
recovery_passes_types.h bcachefs: Fix hidden btree errors when reading roots 2024-11-08 14:07:12 -05:00
recovery_passes.c bcachefs: Fix hidden btree errors when reading roots 2024-11-08 14:07:12 -05:00
recovery_passes.h
recovery.c bcachefs: Ensure BCH_FS_may_go_rw is set before exiting recovery 2024-11-07 16:48:21 -05:00
recovery.h
reflink_format.h
reflink.c bcachefs: rename version -> bversion 2024-09-27 21:46:35 -04:00
reflink.h
replicas_format.h
replicas_types.h
replicas.c bcachefs: Fix bch2_have_enough_devs() for BCH_SB_MEMBER_INVALID 2024-10-11 22:20:51 -04:00
replicas.h bcachefs: Fix unlocked access to c->disk_sb.sb in bch2_replicas_entry_validate() 2024-09-27 21:46:35 -04:00
sb-clean.c bcachefs: fix the memory leak in exception case 2024-09-27 21:46:34 -04:00
sb-clean.h
sb-counters_format.h
sb-counters.c
sb-counters.h
sb-downgrade_format.h
sb-downgrade.c bcachefs: fix null-ptr-deref in have_stripes() 2024-10-25 13:17:06 -04:00
sb-downgrade.h
sb-errors_format.h bcachefs: Fix missing validation for bch_backpointer.level 2024-11-08 00:05:53 -05:00
sb-errors_types.h
sb-errors.c bcachefs: Fix BCH_SB_ERRS() so we can reorder 2024-09-27 21:46:35 -04:00
sb-errors.h bcachefs: Fix BCH_SB_ERRS() so we can reorder 2024-09-27 21:46:35 -04:00
sb-members_format.h bcachefs: Fix bch_member.btree_bitmap_shift validation 2024-11-07 23:31:11 -05:00
sb-members_types.h
sb-members.c bcachefs: Fix bch_member.btree_bitmap_shift validation 2024-11-07 23:31:11 -05:00
sb-members.h
seqmutex.h
siphash.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
siphash.h
six.c bcachefs fixes for 6.11-rc1 2024-09-29 09:17:44 -07:00
six.h
snapshot_format.h
snapshot.c bcachefs: Improve check_snapshot_exists() 2024-10-12 05:02:48 -04:00
snapshot.h bcachefs: Kill bch2_propagate_key_to_snapshot_leaves() 2024-10-09 16:42:53 -04:00
str_hash.h bcachefs: bch2_hash_set_or_get_in_snapshot() 2024-10-18 00:49:48 -04:00
subvolume_format.h
subvolume_types.h
subvolume.c bcachefs: Don't use commit_do() unnecessarily 2024-10-18 00:49:48 -04:00
subvolume.h bcachefs: Add warn param to subvol_get_snapshot, peek_inode 2024-10-04 20:25:32 -04:00
super_types.h
super-io.c bcachefs: Fix invalid shift in validate_sb_layout() 2024-10-24 17:41:43 -04:00
super-io.h
super.c bcachefs: bch2_btree_write_buffer_flush_going_ro() 2024-11-07 23:31:11 -05:00
super.h
sysfs.c
sysfs.h
tests.c bcachefs: check the invalid parameter for perf test 2024-11-07 16:48:21 -05:00
tests.h
thread_with_file_types.h
thread_with_file.c
thread_with_file.h
time_stats.c
time_stats.h
trace.c
trace.h
two_state_shared_lock.c
two_state_shared_lock.h
util.c bcachefs: Fix bad shift in bch2_read_flag_list() 2024-10-01 17:20:24 -04:00
util.h
varint.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
varint.h
vstructs.h
xattr_format.h
xattr.c bcachefs: Don't use commit_do() unnecessarily 2024-10-18 00:49:48 -04:00
xattr.h