CVE-2024-50087

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50087
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50087.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50087
Downstream
Related
Published
2024-10-29T01:15:05Z
Modified
2025-10-01T21:15:45Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

btrfs: fix uninitialized pointer free on readallocone_name() error

The function readalloconename() does not initialize the name field of the passed fscryptstr 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").

References

Affected packages