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

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Wed Aug 14 01:38:17 AEST 2019


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

Christophe Leroy (christophe.leroy at c-s.fr) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christophe.leroy at c-s.fr

--- Comment #16 from Christophe Leroy (christophe.leroy at c-s.fr) ---
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.


More information about the Linuxppc-dev mailing list