linux-stable/fs/btrfs
David Sterba 03938619a1 btrfs: send: handle path ref underflow in header iterate_inode_ref()
[ Upstream commit 3c6ee34c6f ]

Change BUG_ON to proper error handling if building the path buffer
fails. The pointers are not printed so we don't accidentally leak kernel
addresses.

Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-13 13:10:02 +02:00
..
tests btrfs: migrate extent_buffer::pages[] to folio 2023-12-15 23:01:04 +01:00
Kconfig
Makefile
accessors.c btrfs: migrate get_eb_page_index() and get_eb_offset_in_page() to folios 2023-12-15 23:03:58 +01:00
accessors.h btrfs: migrate extent_buffer::pages[] to folio 2023-12-15 23:01:04 +01:00
acl.c
acl.h
async-thread.c
async-thread.h
backref.c
backref.h
bio.c btrfs: migrate btrfs_repair_io_failure() to folio interfaces 2023-12-15 23:03:58 +01:00
bio.h btrfs: migrate btrfs_repair_io_failure() to folio interfaces 2023-12-15 23:03:58 +01:00
block-group.c btrfs: zoned: don't skip block groups with 100% zone unusable 2024-04-03 15:32:38 +02:00
block-group.h btrfs: add and use helper to check if block group is used 2024-02-09 20:29:14 +01:00
block-rsv.c btrfs: fix data race at btrfs_use_block_rsv() when accessing block reserve 2024-02-22 12:15:12 +01:00
block-rsv.h btrfs: fix data race at btrfs_use_block_rsv() when accessing block reserve 2024-02-22 12:15:12 +01:00
btrfs_inode.h btrfs: fix mismatching parameter names for btrfs_get_extent() 2023-12-15 22:59:30 +01:00
compression.c btrfs: add helper to get fs_info from struct inode pointer 2024-04-03 15:32:30 +02:00
compression.h Revert "btrfs: zstd: fix and simplify the inline extent decompression" 2024-01-22 15:39:01 -08:00
ctree.c btrfs: migrate get_eb_page_index() and get_eb_offset_in_page() to folios 2023-12-15 23:03:58 +01:00
ctree.h btrfs: switch btrfs_root::delayed_nodes_tree to xarray from radix-tree 2023-12-15 23:01:03 +01:00
defrag.c btrfs: add helper to get fs_info from struct inode pointer 2024-04-03 15:32:30 +02:00
defrag.h
delalloc-space.c btrfs: don't reserve space for checksums when writing to nocow files 2024-02-13 18:36:35 +01:00
delalloc-space.h
delayed-inode.c btrfs: switch btrfs_root::delayed_nodes_tree to xarray from radix-tree 2023-12-15 23:01:03 +01:00
delayed-inode.h
delayed-ref.c
delayed-ref.h
dev-replace.c btrfs: dev-replace: properly validate device names 2024-02-22 12:14:21 +01:00
dev-replace.h
dir-item.c
dir-item.h
discard.c
discard.h
disk-io.c btrfs: add helper to get fs_info from struct inode pointer 2024-04-03 15:32:30 +02:00
disk-io.h btrfs: fix double free of anonymous device after snapshot creation failure 2024-02-29 22:34:11 +01:00
export.c btrfs: export: handle invalid inode or root reference in btrfs_get_parent() 2024-04-13 13:10:02 +02:00
export.h
extent-io-tree.c btrfs: allocate btrfs_inode::file_extent_tree only without NO_HOLES 2023-12-15 22:59:01 +01:00
extent-io-tree.h btrfs: always set extent_io_tree::inode and drop fs_info 2023-12-15 20:27:02 +01:00
extent-tree.c btrfs: don't warn if discard range is not aligned to sector 2024-01-18 23:35:57 +01:00
extent-tree.h
extent_io.c btrfs: fix race in read_extent_buffer_pages() 2024-04-03 15:32:38 +02:00
extent_io.h btrfs: add set_folio_extent_mapped() helper 2024-04-03 15:32:29 +02:00
extent_map.c btrfs: fix extent map leak in unexpected scenario at unpin_extent_cache() 2024-04-03 15:32:44 +02:00
extent_map.h btrfs: use the flags of an extent map to identify the compression type 2023-12-15 22:59:02 +01:00
file-item.c btrfs: use the flags of an extent map to identify the compression type 2023-12-15 22:59:02 +01:00
file-item.h
file.c btrfs: add helper to get fs_info from struct inode pointer 2024-04-03 15:32:30 +02:00
file.h
free-space-cache.c btrfs: add helper to get fs_info from struct inode pointer 2024-04-03 15:32:30 +02:00
free-space-cache.h
free-space-tree.c
free-space-tree.h
fs.c
fs.h btrfs: add helper to get fs_info from struct inode pointer 2024-04-03 15:32:30 +02:00
inode-item.c
inode-item.h
inode.c btrfs: handle errors returned from unpin_extent_cache() 2024-04-03 15:32:35 +02:00
ioctl.c btrfs: qgroup: validate btrfs_qgroup_inherit parameter 2024-04-03 15:32:30 +02:00
ioctl.h
locking.c
locking.h
lru_cache.c btrfs: fix typos found by codespell 2023-12-15 23:00:04 +01:00
lru_cache.h
lzo.c btrfs: add helper to get fs_info from struct inode pointer 2024-04-03 15:32:30 +02:00
messages.c btrfs: constify fs_info parameter in __btrfs_panic() 2023-12-15 20:27:02 +01:00
messages.h btrfs: constify fs_info parameter in __btrfs_panic() 2023-12-15 20:27:02 +01:00
misc.h
ordered-data.c btrfs: migrate subpage code to folio interfaces 2023-12-15 23:03:58 +01:00
ordered-data.h btrfs: remove unused btrfs_ordered_extent::outstanding_isize 2023-12-15 20:27:01 +01:00
orphan.c
orphan.h
print-tree.c
print-tree.h
props.c btrfs: add helper to get fs_info from struct inode pointer 2024-04-03 15:32:30 +02:00
props.h
qgroup.c btrfs: qgroup: validate btrfs_qgroup_inherit parameter 2024-04-03 15:32:30 +02:00
qgroup.h btrfs: qgroup: validate btrfs_qgroup_inherit parameter 2024-04-03 15:32:30 +02:00
raid-stripe-tree.c
raid-stripe-tree.h
raid56.c btrfs: refactor alloc_extent_buffer() to allocate-then-attach method 2023-12-15 23:01:04 +01:00
raid56.h btrfs: use a dedicated data structure for chunk maps 2023-12-15 20:27:02 +01:00
rcu-string.h
ref-verify.c btrfs: ref-verify: free ref cache before clearing mount opt 2024-01-12 01:59:49 +01:00
ref-verify.h
reflink.c btrfs: add helper to get fs_info from struct inode pointer 2024-04-03 15:32:30 +02:00
reflink.h
relocation.c btrfs: add helper to get fs_info from struct inode pointer 2024-04-03 15:32:30 +02:00
relocation.h
root-tree.c
root-tree.h
scrub.c btrfs: zoned: use zone aware sb location for scrub 2024-04-03 15:32:38 +02:00
scrub.h
send.c btrfs: send: handle path ref underflow in header iterate_inode_ref() 2024-04-13 13:10:02 +02:00
send.h
space-info.c btrfs: fix data races when accessing the reserved amount of block reserves 2024-02-22 12:15:06 +01:00
space-info.h
subpage.c for-6.8-rc1-tag 2024-01-22 13:29:42 -08:00
subpage.h btrfs: migrate subpage code to folio interfaces 2023-12-15 23:03:58 +01:00
super.c btrfs: replace sb::s_blocksize by fs_info::sectorsize 2024-04-03 15:32:29 +02:00
super.h btrfs: remove old mount API code 2023-12-15 20:27:04 +01:00
sysfs.c btrfs: sysfs: validate scrub_speed_max value 2023-12-15 23:01:04 +01:00
sysfs.h
transaction.c btrfs: fix double free of anonymous device after snapshot creation failure 2024-02-29 22:34:11 +01:00
transaction.h
tree-checker.c btrfs: tree-checker: fix inline ref size in error messages 2024-01-18 23:35:50 +01:00
tree-checker.h btrfs: fix typos found by codespell 2023-12-15 23:00:04 +01:00
tree-log.c btrfs: use the flags of an extent map to identify the compression type 2023-12-15 22:59:02 +01:00
tree-log.h
tree-mod-log.c
tree-mod-log.h
ulist.c
ulist.h
uuid-tree.c
uuid-tree.h
verity.c
verity.h
volumes.c btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks() 2024-04-13 13:10:01 +02:00
volumes.h btrfs: fix typos found by codespell 2023-12-15 23:00:04 +01:00
xattr.c btrfs: cache that we don't have security.capability set 2023-12-15 20:27:05 +01:00
xattr.h
zlib.c btrfs: zlib: fix and simplify the inline extent decompression 2024-01-18 23:35:26 +01:00
zoned.c btrfs: zoned: fix use-after-free in do_zone_finish() 2024-04-03 15:32:38 +02:00
zoned.h for-6.8/block-2024-01-08 2024-01-11 13:58:04 -08:00
zstd.c Revert "btrfs: zstd: fix and simplify the inline extent decompression" 2024-01-22 15:39:01 -08:00