๐Ÿ” CVE Alert

CVE-2024-50087

MEDIUM 5.5

btrfs: fix uninitialized pointer free on read_alloc_one_name() error

CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix uninitialized pointer free on read_alloc_one_name() error The function read_alloc_one_name() does not initialize the name field of the passed fscrypt_str struct if kmalloc fails to allocate the corresponding buffer. Thus, it is not guaranteed that fscrypt_str.name is initialized when freeing it. This is a follow-up to the linked patch that fixes the remaining instances of the bug introduced by commit e43eec81c516 ("btrfs: use struct qstr instead of name and namelen pairs").

Vendor linux
Product linux
Ecosystems
Industries
Technology
Published Oct 29, 2024
Last Updated May 11, 2026
Stay Ahead of the Next One

Get instant alerts for linux linux

Be the first to know when new medium vulnerabilities affecting linux linux are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Linux / Linux
1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e < b37de9491f140a0ff125c27dd1050185c3accbc1 e43eec81c5167b655b72c781b0e75e62a05e415e < 7fc7c47b9ba0cf2d192f2117a64b24881b0b577f e43eec81c5167b655b72c781b0e75e62a05e415e < 1ec28de5e476913ae51f909660b4447eddb28838 e43eec81c5167b655b72c781b0e75e62a05e415e < 2ab5e243c2266c841e0f6904fad1514b18eaf510
Linux / Linux
6.2

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
git.kernel.org: https://git.kernel.org/stable/c/b37de9491f140a0ff125c27dd1050185c3accbc1 git.kernel.org: https://git.kernel.org/stable/c/7fc7c47b9ba0cf2d192f2117a64b24881b0b577f git.kernel.org: https://git.kernel.org/stable/c/1ec28de5e476913ae51f909660b4447eddb28838 git.kernel.org: https://git.kernel.org/stable/c/2ab5e243c2266c841e0f6904fad1514b18eaf510 lists.debian.org: https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html