High severity · published Oct 21, 2024
CVE-2024-49900
jfs: Fix uninit-value access of new_ea in ea_buffer
7.1
CVSS
0.3%
EPSS
No
On KEV
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().
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 20% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
before 5.10.227; 5.11 before 5.15.168; 5.16 before 6.1.113; 6.2 before 6.6.55; 6.7 before 6.10.14; 6.11 before 6.11.3 · source: NVD
LI
Linux · Linux
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7b24d41d47a6805c45378debf8bd115675d41da8; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before dac398ed272a378d2f42ac68ae408333a51baf52; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8b1dcf25c26d42e4a68c4725ce52a0543c7878cc; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d7444f91a9f93eaa48827087ed0f3381c194181d; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6041536d18c5f51a84bc37cd568cbab61870031e; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c076b3746224982eebdba5c9e4b1467e146c0d64; +4 more · source: vendor
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
before V1.1.1 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-49900
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-49900
Patch
https://git.kernel.org/stable/c/2b59ffad47db1c46af25ccad157bb3b25147c35c
Patch
https://git.kernel.org/stable/c/6041536d18c5f51a84bc37cd568cbab61870031e
git.kernel.org
https://git.kernel.org/stable/c/7b24d41d47a6805c45378debf8bd115675d41da8
Patch
https://git.kernel.org/stable/c/7c244d5b48284a770d96ff703df2dfeadf804a73
Patch
https://git.kernel.org/stable/c/8ad8b531de79c348bcb8133e7f5e827b884226af
Patch
https://git.kernel.org/stable/c/8b1dcf25c26d42e4a68c4725ce52a0543c7878cc
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
