CVE-2024-49900CWE-908

CVE-2024-49900

High · published October 21, 2024

CVSS v3.1
7.1
EPSS
0%
Percentile
19.3
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00280 · 19.3th percentile
Weakness
CWE-908 · Use of Uninitialized Resource
Published
2024-10-21T22:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel< 5.10.2275.10.227
linux/linux_kernel≥ 5.11, < 5.15.1685.15.168
linux/linux_kernel≥ 5.16, < 6.1.1136.1.113
linux/linux_kernel≥ 6.2, < 6.6.556.6.55
linux/linux_kernel≥ 6.7, < 6.10.146.10.14
linux/linux_kernel≥ 6.11, < 6.11.36.11.3
References (13)
EPSS history
Timeline
  • 21 OCT 18:01Z
    jfs: Fix uninit-value access of new_ea in ea_buffer
    cvelistv5