[PATCH 3.16 154/366] xfrm_user: prevent leaking 2 bytes of kernel memory

2018-11-11 Thread Ben Hutchings
3.16.61-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 45c180bc29babbedd6b8c01b975780ef44d9d09c upstream. struct xfrm_userpolicy_type has two holes, so we should not use C99 style initializer. KMSAN report: BUG: KMSAN:

[PATCH 3.16 154/366] xfrm_user: prevent leaking 2 bytes of kernel memory

2018-11-11 Thread Ben Hutchings
3.16.61-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 45c180bc29babbedd6b8c01b975780ef44d9d09c upstream. struct xfrm_userpolicy_type has two holes, so we should not use C99 style initializer. KMSAN report: BUG: KMSAN: