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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.37% (percentile 23, 2026-11-28)
- **CWE:** CWE-908
- **Published:** 2024-10-21T18:01:32.607Z
- **Modified:** 2026-10-15T01:19:00.527Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7b24d41d47a6805c45378debf8bd115675d41da8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dac398ed272a378d2f42ac68ae408333a51baf52; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8b1dcf25c26d42e4a68c4725ce52a0543c7878cc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d7444f91a9f93eaa48827087ed0f3381c194181d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6041536d18c5f51a84bc37cd568cbab61870031e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c076b3746224982eebdba5c9e4b1467e146c0d64; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c244d5b48284a770d96ff703df2dfeadf804a73; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8ad8b531de79c348bcb8133e7f5e827b884226af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2b59ffad47db1c46af25ccad157bb3b25147c35c
- Anyone running Linux 2.6.12

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

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7b24d41d47a6805c45378debf8bd115675d41da8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dac398ed272a378d2f42ac68ae408333a51baf52; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8b1dcf25c26d42e4a68c4725ce52a0543c7878cc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d7444f91a9f93eaa48827087ed0f3381c194181d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6041536d18c5f51a84bc37cd568cbab61870031e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c076b3746224982eebdba5c9e4b1467e146c0d64; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c244d5b48284a770d96ff703df2dfeadf804a73; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8ad8b531de79c348bcb8133e7f5e827b884226af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2b59ffad47db1c46af25ccad157bb3b25147c35c (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 2b59ffad47db1c46af25ccad157bb3b25147c35c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-49900. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-49900.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7b24d41d47a6805c45378debf8bd115675d41da8; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < dac398ed272a378d2f42ac68ae408333a51baf52; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8b1dcf25c26d42e4a68c4725ce52a0543c7878cc; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 7b24d41d47a6805c45378debf8bd115675d41da8, Linux 8b1dcf25c26d42e4a68c4725ce52a0543c7878cc, Linux 6041536d18c5f51a84bc37cd568cbab61870031e, Linux 7c244d5b48284a770d96ff703df2dfeadf804a73, Linux 8ad8b531de79c348bcb8133e7f5e827b884226af, Linux 2b59ffad47db1c46af25ccad157bb3b25147c35c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-49900 being exploited?

There is no confirmed exploitation: CVE-2024-49900 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-49900?

High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-49900?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7b24d41d47a6805c45378debf8bd115675d41da8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dac398ed272a378d2f42ac68ae408333a51baf52; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8b1dcf25c26d42e4a68c4725ce52a0543c7878cc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d7444f91a9f93eaa48827087ed0f3381c194181d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6041536d18c5f51a84bc37cd568cbab61870031e; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c076b3746224982eebdba5c9e4b1467e146c0d64; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7c244d5b48284a770d96ff703df2dfeadf804a73; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8ad8b531de79c348bcb8133e7f5e827b884226af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2b59ffad47db1c46af25ccad157bb3b25147c35c; Linux 2.6.12.

### Is there a fix for CVE-2024-49900?

Yes. Fixed in Linux 7b24d41d47a6805c45378debf8bd115675d41da8, Linux 8b1dcf25c26d42e4a68c4725ce52a0543c7878cc, Linux 6041536d18c5f51a84bc37cd568cbab61870031e, Linux 7c244d5b48284a770d96ff703df2dfeadf804a73, Linux 8ad8b531de79c348bcb8133e7f5e827b884226af, Linux 2b59ffad47db1c46af25ccad157bb3b25147c35c. Upgrade Linux to 2b59ffad47db1c46af25ccad157bb3b25147c35c or later.

### How do I check if I'm affected by CVE-2024-49900?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://git.kernel.org/stable/c/7b24d41d47a6805c45378debf8bd115675d41da8>
- other: <https://git.kernel.org/stable/c/dac398ed272a378d2f42ac68ae408333a51baf52>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-49900>

HTML: <https://flawdb.com/CVE-2024-49900> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-49900>
