We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-50087

btrfs: fix uninitialized pointer free on read_alloc_one_name() error



Description

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").

Reserved 2024-10-21 | Published 2024-10-29 | Updated 2024-12-19 | Assigner Linux

Product status

Default status
unaffected

1cf474cd474bc5d3ef63086ffd009a87a5b7bb2e before b37de9491f140a0ff125c27dd1050185c3accbc1
affected

e43eec81c5167b655b72c781b0e75e62a05e415e before 7fc7c47b9ba0cf2d192f2117a64b24881b0b577f
affected

e43eec81c5167b655b72c781b0e75e62a05e415e before 1ec28de5e476913ae51f909660b4447eddb28838
affected

e43eec81c5167b655b72c781b0e75e62a05e415e before 2ab5e243c2266c841e0f6904fad1514b18eaf510
affected

Default status
affected

6.2
affected

Any version before 6.2
unaffected

6.1.114
unaffected

6.6.58
unaffected

6.11.5
unaffected

6.12
unaffected

References

git.kernel.org/...c/b37de9491f140a0ff125c27dd1050185c3accbc1

git.kernel.org/...c/7fc7c47b9ba0cf2d192f2117a64b24881b0b577f

git.kernel.org/...c/1ec28de5e476913ae51f909660b4447eddb28838

git.kernel.org/...c/2ab5e243c2266c841e0f6904fad1514b18eaf510

cve.org (CVE-2024-50087)

nvd.nist.gov (CVE-2024-50087)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-50087

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.