Subject: [Bug 204371] BUG kmalloc-4k (Tainted: G W ): Object padding overwritten

From: [email-masked]
Date: Tue, 13 Aug 2019 15:38:17 +0000

https://bugzilla.kernel.org/show_bug.cgi?id=204371

Christophe Leroy ([email-masked]) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            [email-masked]

--- Comment #16 from Christophe Leroy ([email-masked]) ---
Interesting.

I see in that commit that in fs/btrfs/free-space-cache.c, copy_page() is done
using entry->bitmap.

entry->bitmap is allocated with kmalloc() so there is a possibility that
entry->bitmap is not page aligned.

copy_page() in arch/powerpc/kernel/misc_32.S assumes that source and
destination are aligned on cache lines at least.

-- 
You are receiving this mail because:
You are on the CC list for the bug.