Re: BTRFS use-after-free bug at free_extent_buffer_internal

2024-04-22 Thread Sachi King
On Monday 22 April 2024 5:15:50 PM AEST Qu Wenruo wrote: > > 在 2024/4/22 16:07, Sachi King 写道: > > Hi, > > > > I've hit a bug with u-boot on my BTRFS filesystem, and I'm fairly certain > > it's a bug and not a corruption issue. > > > > A bit of history on the filesystem. It is a fairly new

BTRFS use-after-free bug at free_extent_buffer_internal

2024-04-22 Thread Sachi King
Hi, I've hit a bug with u-boot on my BTRFS filesystem, and I'm fairly certain it's a bug and not a corruption issue. A bit of history on the filesystem. It is a fairly new filesystem as it was being used to give me access to test a wayland application on a Raspberry Pi. The filesystem was

Re: BTRFS use-after-free bug at free_extent_buffer_internal

2024-04-22 Thread Qu Wenruo
在 2024/4/22 16:45, Qu Wenruo 写道: [...] I added a print statement to free_extent_buffer_internal that prints the start address of the extent_buffer as I'm not sure what to be looking for here.  This print statement is before the decrement. printf("free_extent_buffer_internal: eb->start[%llx]

Re: BTRFS use-after-free bug at free_extent_buffer_internal

2024-04-22 Thread Qu Wenruo
在 2024/4/22 16:07, Sachi King 写道: Hi, I've hit a bug with u-boot on my BTRFS filesystem, and I'm fairly certain it's a bug and not a corruption issue. A bit of history on the filesystem. It is a fairly new filesystem as it was being used to give me access to test a wayland application on a