{"id":"CVE-2024-49900","summary":"jfs: Fix uninit-value access of new_ea in ea_buffer","details":"In the Linux kernel, the following vulnerability has been resolved:\n\njfs: Fix uninit-value access of new_ea in ea_buffer\n\nsyzbot reports that lzo1x_1_do_compress is using uninit-value:\n\n=====================================================\nBUG: KMSAN: uninit-value in lzo1x_1_do_compress+0x19f9/0x2510 lib/lzo/lzo1x_compress.c:178\n\n...\n\nUninit was stored to memory at:\n ea_put fs/jfs/xattr.c:639 [inline]\n\n...\n\nLocal variable ea_buf created at:\n __jfs_setxattr+0x5d/0x1ae0 fs/jfs/xattr.c:662\n __jfs_xattr_set+0xe6/0x1f0 fs/jfs/xattr.c:934\n\n=====================================================\n\nThe reason is ea_buf-\u003enew_ea is not initialized properly.\n\nFix this by using memset to empty its content at the beginning\nin ea_get().","modified":"2026-04-02T12:21:08.024403Z","published":"2024-10-21T18:01:32.607Z","related":["MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49900.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2b59ffad47db1c46af25ccad157bb3b25147c35c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6041536d18c5f51a84bc37cd568cbab61870031e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b24d41d47a6805c45378debf8bd115675d41da8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c244d5b48284a770d96ff703df2dfeadf804a73"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ad8b531de79c348bcb8133e7f5e827b884226af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b1dcf25c26d42e4a68c4725ce52a0543c7878cc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c076b3746224982eebdba5c9e4b1467e146c0d64"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d7444f91a9f93eaa48827087ed0f3381c194181d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dac398ed272a378d2f42ac68ae408333a51baf52"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49900.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49900"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"},{"fixed":"7b24d41d47a6805c45378debf8bd115675d41da8"},{"fixed":"dac398ed272a378d2f42ac68ae408333a51baf52"},{"fixed":"8b1dcf25c26d42e4a68c4725ce52a0543c7878cc"},{"fixed":"d7444f91a9f93eaa48827087ed0f3381c194181d"},{"fixed":"6041536d18c5f51a84bc37cd568cbab61870031e"},{"fixed":"c076b3746224982eebdba5c9e4b1467e146c0d64"},{"fixed":"7c244d5b48284a770d96ff703df2dfeadf804a73"},{"fixed":"8ad8b531de79c348bcb8133e7f5e827b884226af"},{"fixed":"2b59ffad47db1c46af25ccad157bb3b25147c35c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49900.json"}}],"schema_version":"1.7.5"}