Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-52038.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-52038
Upstream
Published
2024-10-29T01:15:05Z
Modified
2026-04-01T05:16:28.274592Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
CVE-2024-50088 affecting package kernel for versions less than 6.6.64.2-1
Details

In the Linux kernel, the following vulnerability has been resolved:

btrfs: fix uninitialized pointer free in addinoderef()

The addinoderef() function does not initialize the "name" struct when it is declared. If any of the following calls to "readoneinode() 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.

References

Affected packages

Azure Linux:3 / kernel

Package

Name
kernel
Purl
pkg:rpm/azure-linux/kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.64.2-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-52038.json"