First published: Tue Oct 29 2024(Updated: )
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix uninitialized pointer free in add_inode_ref() The add_inode_ref() function does not initialize the "name" struct when it is declared. If any of the following calls to "read_one_inode() returns NULL, dir = read_one_inode(root, parent_objectid); if (!dir) { ret = -ENOENT; goto out; } inode = read_one_inode(root, inode_objectid); if (!inode) { ret = -EIO; goto out; } then "name.name" would be freed on "out" before being initialized. out: ... kfree(name.name); This issue was reported by Coverity with CID 1526744.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=6.1.57<6.1.114 | |
Linux Kernel | >=6.2<6.6.58 | |
Linux Kernel | >=6.7<6.11.5 | |
Linux Kernel | =6.12-rc1 | |
Linux Kernel | =6.12-rc2 | |
Linux Kernel | =6.12-rc3 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.123-1 6.1.128-1 6.12.12-1 6.12.15-1 | |
debian/linux-6.1 | 6.1.119-1~deb11u1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-50088 has been assigned a high severity rating due to the risk of uninitialized pointer free leading to potential crashes or code execution.
To fix CVE-2024-50088, update the Linux kernel to a version that includes the patch for this vulnerability.
CVE-2024-50088 affects Linux kernel versions from 6.1.57 to 6.1.114, 6.2 to 6.6.58, and versions between 6.7 to 6.11.5, including 6.12-rc1, 6.12-rc2, and 6.12-rc3.
The impact of CVE-2024-50088 may include system crashes or potential execution of arbitrary code due to the handling of uninitialized pointers.
There are no known workarounds for CVE-2024-50088; the recommended action is to apply the necessary kernel update.