cve/2024/CVE-2024-49900.md
2025-09-29 21:09:30 +02:00

1.2 KiB

CVE-2024-49900

Description

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

POC

Reference

No PoCs from references.

Github