On Sun, 2019-09-29 at 07:37 +0800, Qu Wenruo wrote:
>
> On 2019/9/29 上午2:36, Cebtenzzre wrote:
> > On Mon, 2019-09-16 at 17:20 -0400, Cebtenzzre wrote:
> > > On Sat, 2019-09-14 at 17:36 -0400, Cebtenzzre wrote:
> > > > Hi,
> > > >
> > > >
On Mon, 2019-09-16 at 17:20 -0400, Cebtenzzre wrote:
> On Sat, 2019-09-14 at 17:36 -0400, Cebtenzzre wrote:
> > Hi,
> >
> > I started a balance of one block group, and I saw this in dmesg:
> >
> > BTRFS info (device sdi1): balance: start
> > -dvrange=2236
On Sun, 2019-09-15 at 14:56 +0800, Qu Wenruo wrote:
>
> On 2019/9/15 上午4:52, Cebtenzzre wrote:
> > I have been able to trigger a use-after-free in btrfs on a stock Arch
> > Linux kernel, versions 5.2.9 and 5.2.11. I also reproduced it on
> > kernel.org mainline 5.3-rc8,
On Sat, 2019-09-14 at 17:36 -0400, Cebtenzzre wrote:
> Hi,
>
> I started a balance of one block group, and I saw this in dmesg:
>
> BTRFS info (device sdi1): balance: start -dvrange=2236714319872..2236714319873
> BTRFS info (device sdi1): relocating block group 2236714319872 f
5.2.14-arch2, and I specified
"slub_debug=P,kmalloc-2k" in the kernel cmdline to detect and protect
against a use-after-free that I found when I had KASAN enabled. Would
that kernel parameter result in a silent retry if it hit the use-after-
free?
--
Cebtenzzre
stacks.tar.gz
Description:
space, but that stopped working
eventually.
--
Cebtenzzre
I attempted to start a balance on Linux 5.1.3. The process crashed
and I got this in dmesg:
[ 600.078204] kernel BUG at fs/btrfs/relocation.c:1413!
[ 600.078215] invalid opcode: [#1] PREEMPT SMP PTI
[ 600.078220] CPU: 5 PID: 4010 Comm: btrfs Tainted: P OE
5.1.3-arch1-1-ARCH #1