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

- From: \<hidden\>
- Date: 2019-08-16 08:24:26 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2019/08/9511640
- Thread: https://ratatoskr.run/linuxppc-dev/2019/08/9511640/t.md

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

--- Comment #32 from Christophe Leroy (christophe.leroy@c-s.fr) ---
I think first thing is to fix test_add_free_space_entry() :
- replace the map = kzalloc(...) by map = (void *)get_zeroed_page(...) like in
other places.
- replace the kfree(map); by free_page((unsigned long)map);

Then see if the WARNING on kfree() in  btrfs_free_dummy_fs_info() is still
there.

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