In the Linux kernel, the following vulnerability has been resolved:
jfs: Fix uninit-value access of newea in eabuffer
syzbot reports that lzo1x1do_compress is using uninit-value:
===================================================== BUG: KMSAN: uninit-value in lzo1x1docompress+0x19f9/0x2510 lib/lzo/lzo1xcompress.c:178
...
Uninit was stored to memory at: ea_put fs/jfs/xattr.c:639 [inline]
...
Local variable eabuf created at: _jfssetxattr+0x5d/0x1ae0 fs/jfs/xattr.c:662 _jfsxattrset+0xe6/0x1f0 fs/jfs/xattr.c:934
=====================================================
The reason is eabuf->newea is not initialized properly.
Fix this by using memset to empty its content at the beginning in ea_get().