{"id":"CVE-2024-50087","published":"2024-10-29T00:50:30Z","modified":"2026-08-05T11:41:32Z","title":"btrfs: fix uninitialized pointer free on read_alloc_one_name() error","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix uninitialized pointer free on read_alloc_one_name() error\n\nThe function read_alloc_one_name() does not initialize the name field of\nthe passed fscrypt_str struct if kmalloc fails to allocate the\ncorresponding buffer.  Thus, it is not guaranteed that\nfscrypt_str.name is initialized when freeing it.\n\nThis is a follow-up to the linked patch that fixes the remaining\ninstances of the bug introduced by commit e43eec81c516 (\"btrfs: use\nstruct qstr instead of name and namelen pairs\").","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00214,"percentile":0.12021,"provenance":"source"},"cwes":[{"id":"CWE-824","name":"Access of Uninitialized Pointer"}],"references":[{"url":"https://git.kernel.org/stable/c/b37de9491f140a0ff125c27dd1050185c3accbc1","tags":[]},{"url":"https://git.kernel.org/stable/c/7fc7c47b9ba0cf2d192f2117a64b24881b0b577f","tags":[]},{"url":"https://git.kernel.org/stable/c/1ec28de5e476913ae51f909660b4447eddb28838","tags":[]},{"url":"https://git.kernel.org/stable/c/2ab5e243c2266c841e0f6904fad1514b18eaf510","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":2.4},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e, < b37de9491f140a0ff125c27dd1050185c3accbc1",">= e43eec81c5167b655b72c781b0e75e62a05e415e, < 7fc7c47b9ba0cf2d192f2117a64b24881b0b577f",">= e43eec81c5167b655b72c781b0e75e62a05e415e, < 1ec28de5e476913ae51f909660b4447eddb28838",">= e43eec81c5167b655b72c781b0e75e62a05e415e, < 2ab5e243c2266c841e0f6904fad1514b18eaf510",">= 6.1.57, < 6.1.114"]},{"vendor":"Linux","product":"Linux","versions":["6.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:23:12.303362Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-44728","exploited":false,"provenance":"source"}}