We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-49900

jfs: Fix uninit-value access of new_ea in ea_buffer



AssignerLinux
Reserved2024-10-21
Published2024-10-21
Updated2024-10-22

Description

In the Linux kernel, the following vulnerability has been resolved: jfs: Fix uninit-value access of new_ea in ea_buffer syzbot 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 beginning in ea_get().

Product status

Default status
unaffected

1da177e4c3f4 before 8b1dcf25c26d
affected

1da177e4c3f4 before d7444f91a9f9
affected

1da177e4c3f4 before 6041536d18c5
affected

1da177e4c3f4 before c076b3746224
affected

1da177e4c3f4 before 7c244d5b4828
affected

1da177e4c3f4 before 8ad8b531de79
affected

1da177e4c3f4 before 2b59ffad47db
affected

Default status
affected

5.10.227
unaffected

5.15.168
unaffected

6.1.113
unaffected

6.6.55
unaffected

6.10.14
unaffected

6.11.3
unaffected

6.12-rc1
unaffected

References

https://git.kernel.org/stable/c/8b1dcf25c26d42e4a68c4725ce52a0543c7878cc

https://git.kernel.org/stable/c/d7444f91a9f93eaa48827087ed0f3381c194181d

https://git.kernel.org/stable/c/6041536d18c5f51a84bc37cd568cbab61870031e

https://git.kernel.org/stable/c/c076b3746224982eebdba5c9e4b1467e146c0d64

https://git.kernel.org/stable/c/7c244d5b48284a770d96ff703df2dfeadf804a73

https://git.kernel.org/stable/c/8ad8b531de79c348bcb8133e7f5e827b884226af

https://git.kernel.org/stable/c/2b59ffad47db1c46af25ccad157bb3b25147c35c

cve.org CVE-2024-49900

nvd.nist.gov CVE-2024-49900

Download JSON

Share this page
https://cve.threatint.com
Subscribe to our newsletter to learn more about our work.