CVE-2024-49900

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49900
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49900.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-49900
Downstream
Related
Published
2024-10-21T18:15:12Z
Modified
2025-08-09T19:01:27Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

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().

References

Affected packages