# CVE-2024-49900: jfs: Fix uninit-value access of new_ea in ea_buffer

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2024-10-21T18:01:32.607Z
- Modified: 2026-10-15T01:19:00.527Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7b24d41d47a6805c45378debf8bd115675d41da8; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before dac398ed272a378d2f42ac68ae408333a51baf52; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8b1dcf25c26d42e4a68c4725ce52a0543c7878cc; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d7444f91a9f93eaa48827087ed0f3381c194181d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6041536d18c5f51a84bc37cd568cbab61870031e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c076b3746224982eebdba5c9e4b1467e146c0d64; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7c244d5b48284a770d96ff703df2dfeadf804a73; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8ad8b531de79c348bcb8133e7f5e827b884226af; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2b59ffad47db1c46af25ccad157bb3b25147c35c; 2.6.12 (not affected: before 2.6.12; from 4.19.323 up to 4.19.*; from 5.4.285 up to 5.4.*; from 5.10.227 up to 5.10.*; from 5.15.168 up to 5.15.*; from 6.1.113 up to 6.1.*; from 6.6.55 up to 6.6.*; from 6.10.14 up to 6.10.*; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: before 5.10.227; from 5.11 before 5.15.168; from 5.16 before 6.1.113; from 6.2 before 6.6.55; from 6.7 before 6.10.14; from 6.11 before 6.11.3

## References

- <https://git.kernel.org/stable/c/7b24d41d47a6805c45378debf8bd115675d41da8>
- <https://git.kernel.org/stable/c/dac398ed272a378d2f42ac68ae408333a51baf52>
- <https://git.kernel.org/stable/c/8b1dcf25c26d42e4a68c4725ce52a0543c7878cc> (patch)
- <https://git.kernel.org/stable/c/d7444f91a9f93eaa48827087ed0f3381c194181d> (patch)
- <https://git.kernel.org/stable/c/6041536d18c5f51a84bc37cd568cbab61870031e> (patch)
- <https://git.kernel.org/stable/c/c076b3746224982eebdba5c9e4b1467e146c0d64> (patch)
- <https://git.kernel.org/stable/c/7c244d5b48284a770d96ff703df2dfeadf804a73> (patch)
- <https://git.kernel.org/stable/c/8ad8b531de79c348bcb8133e7f5e827b884226af> (patch)
- <https://git.kernel.org/stable/c/2b59ffad47db1c46af25ccad157bb3b25147c35c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-49900](https://www.cve.org/CVERecord?id=CVE-2024-49900), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-49900](https://nvd.nist.gov/vuln/detail/CVE-2024-49900), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-49900 · Whole record: https://cve.day/CVE-2024-49900.json · Rebuilt by cve.day 2026-11-25T22:58:47.036Z
