EFI SLAB use after free in generic/388 run
Just saw this during a xfstests auto run on virtio with default XFS parameters. I don't think I saw this before when running the same config, so it might not be 100% reproducible. I'd be surpised if my laptop has bad ram, but who knows..
[ 2412.538076] XFS (vdc): Mounting V5 Filesystem [ 2412.783150] XFS (vdc): Starting recovery (logdev: internal) [ 2412.998385] XFS (vdc): Ending recovery (logdev: internal) [ 2413.014579] Slab corruption (Tainted: G W ): xfs_efi_item start=ffff88008636ac18, len=408 [ 2413.015789] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b [ 2413.017236] Last user: [<ffffffff815c6689>](xfs_efi_item_free+0x29/0x40) [ 2413.018854] 070: 6b 6b 6b 6b 6b 6b 6b 6b 6a 6b 6b 6b 6b 6b 6b 6b kkkkkkkkjkkkkkkk [ 2413.019815] Single bit error detected. Probably bad RAM. [ 2413.020350] Run memtest86+ or a similar memory test tool. [ 2413.020915] Prev obj: start=ffff88008636aa68, len=408 [ 2413.021645] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b [ 2413.022191] Last user: [<ffffffff815c6689>](xfs_efi_item_free+0x29/0x40) [ 2413.023397] 000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk [ 2413.024217] 010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk [ 2413.026503] Next obj: start=ffff88008636adc8, len=408 [ 2413.027304] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b [ 2413.027941] Last user: [<ffffffff815c6689>](xfs_efi_item_free+0x29/0x40) [ 2413.028695] 000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk [ 2413.029616] 010: [ 2413.029810] 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk
Quoted 4 lines · Christoph Hellwig
Just saw this during a xfstests auto run on virtio with default XFS parameters. I don't think I saw this before when running the same config, so it might not be 100% reproducible. I'd be surpised if my laptop has bad ram, but who knows..
Does your kernel have commit b77428b12b5 ("xfs: defer should abort intent items if the trans roll fails") in it? I saw similar symptoms and fixed them with that patch.
(Patch should appear in -rc5 tomorrow.)
--D
Quoted 26 lines
[ 2412.538076] XFS (vdc): Mounting V5 Filesystem [ 2412.783150] XFS (vdc): Starting recovery (logdev: internal) [ 2412.998385] XFS (vdc): Ending recovery (logdev: internal) [ 2413.014579] Slab corruption (Tainted: G W ): xfs_efi_item start=ffff88008636ac18, len=408 [ 2413.015789] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b [ 2413.017236] Last user: [<ffffffff815c6689>](xfs_efi_item_free+0x29/0x40) [ 2413.018854] 070: 6b 6b 6b 6b 6b 6b 6b 6b 6a 6b 6b 6b 6b 6b 6b 6b kkkkkkkkjkkkkkkk [ 2413.019815] Single bit error detected. Probably bad RAM. [ 2413.020350] Run memtest86+ or a similar memory test tool. [ 2413.020915] Prev obj: start=ffff88008636aa68, len=408 [ 2413.021645] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b [ 2413.022191] Last user: [<ffffffff815c6689>](xfs_efi_item_free+0x29/0x40) [ 2413.023397] 000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk [ 2413.024217] 010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk [ 2413.026503] Next obj: start=ffff88008636adc8, len=408 [ 2413.027304] Redzone: 0x9f911029d74e35b/0x9f911029d74e35b [ 2413.027941] Last user: [<ffffffff815c6689>](xfs_efi_item_free+0x29/0x40) [ 2413.028695] 000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk [ 2413.029616] 010: [ 2413.029810] 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b kkkkkkkkkkkkkkkk--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Darrick J. Wong
Quoted 4 lines · Christoph Hellwig
Just saw this during a xfstests auto run on virtio with default XFS parameters. I don't think I saw this before when running the same config, so it might not be 100% reproducible. I'd be surpised if my laptop has bad ram, but who knows..
Does your kernel have commit
b77428b12b5("xfs: defer should abort intent items if the trans roll fails") in it? I saw similar symptoms and fixed them with that patch.(Patch should appear in -rc5 tomorrow.)
Let me try to reproduce it - I though I was just testing latest for-next with my direct I/O changes, which would have it included, but I just noticed I made a mess off my tree due to an unfinished rebase, so maybe I actually was using an older base.