CVE-2024-49900
jfs: Fix uninit-value access of new_ea in ea_buffer
Check your servers for CVE-2024-49900
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-49900 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Exploitation
EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 7b24d41d47a6805c45378debf8bd115675d41da8 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before dac398ed272a378d2f42ac68ae408333a51baf52 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 8b1dcf25c26d42e4a68c4725ce52a0543c7878cc affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d7444f91a9f93eaa48827087ed0f3381c194181d affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 6041536d18c5f51a84bc37cd568cbab61870031e affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before c076b3746224982eebdba5c9e4b1467e146c0d64 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 7c244d5b48284a770d96ff703df2dfeadf804a73 affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 8ad8b531de79c348bcb8133e7f5e827b884226af affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 2b59ffad47db1c46af25ccad157bb3b25147c35c
Other versions: unaffected
|
| Linux |
affected 2.6.12 unaffected before 2.6.12 unaffected from 4.19.323 up to and including 4.19.* unaffected from 5.4.285 up to and including 5.4.* unaffected from 5.10.227 up to and including 5.10.* unaffected from 5.15.168 up to and including 5.15.* unaffected from 6.1.113 up to and including 6.1.* unaffected from 6.6.55 up to and including 6.6.* unaffected from 6.10.14 up to and including 6.10.* unaffected from 6.11.3 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-49900 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-49900
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-49900
trivy image --scanners vuln IMAGE | grep CVE-2024-49900
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/7b24d41d47a6805c45378debf8bd115675d41da8 git.kernel.org
- https://git.kernel.org/stable/c/dac398ed272a378d2f42ac68ae408333a51baf52 git.kernel.org
- https://git.kernel.org/stable/c/8b1dcf25c26d42e4a68c4725ce52a0543c7878cc git.kernel.org
- https://git.kernel.org/stable/c/d7444f91a9f93eaa48827087ed0f3381c194181d git.kernel.org
- https://git.kernel.org/stable/c/6041536d18c5f51a84bc37cd568cbab61870031e git.kernel.org
- https://git.kernel.org/stable/c/c076b3746224982eebdba5c9e4b1467e146c0d64 git.kernel.org
- https://git.kernel.org/stable/c/7c244d5b48284a770d96ff703df2dfeadf804a73 git.kernel.org
- https://git.kernel.org/stable/c/8ad8b531de79c348bcb8133e7f5e827b884226af git.kernel.org
- https://git.kernel.org/stable/c/2b59ffad47db1c46af25ccad157bb3b25147c35c git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html cert-portal.siemens.com
Source: the record CVE-2024-49900 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse