Bug 2301474 (CVE-2024-42111)
Summary: | CVE-2024-42111 kernel: btrfs: always do the basic checks for btrfs_qgroup_inherit structure | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | OSIDB Bzimport <bzimport> |
Component: | vulnerability | Assignee: | Product Security DevOps Team <prodsec-dev> |
Status: | NEW --- | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | dfreiber, drow, jburrell, vkumar |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | kernel 6.9.9, kernel 6.10 | Doc Type: | If docs needed, set a value |
Doc Text: |
A vulnerability was found in the Linux kernel in the btrfs_qgroup_check_inherit() function where the function skips the whole qgroup inherit check if the qgroup is not enabled which also inadvertently skips basic checks such as num_ref_copies, num_excl_copies, and the size of the btrfs_qgroup_inherit structure. If qgroups are later re-enabled during the same transaction, it can lead to out-of-bounds memory access as the system attempts to use an invalid or corrupted btrfs_qgroup_inherit structure. This can lead to memory corruption or crashes.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2301773 | ||
Bug Blocks: |
Description
OSIDB Bzimport
2024-07-30 08:30:55 UTC
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024073021-CVE-2024-42111-034c@gregkh/T Created kernel tracking bugs for this issue: Affects: fedora-all [bug 2301773] |