btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()
Summary
| CVE | CVE-2024-35936 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-05-19 11:15:49 UTC |
| Updated | 2026-05-12 12:16:42 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks() The unhandled case in btrfs_relocate_sys_chunks() loop is a corruption, as it could be caused only by two impossible conditions: - at first the search key is set up to look for a chunk tree item, with offset -1, this is an inexact search and the key->offset will contain the correct offset upon a successful search, a valid chunk tree item cannot have an offset -1 - after first successful search, the found_key corresponds to a chunk item, the offset is decremented by 1 before the next loop, it's impossible to find a chunk item there due to alignment and size constraints |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-noinfo
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 2b82032c34ec40515d3c45c36cd1961f37977de8 bebd9e0ff90034875c5dfe4bd514fd7055fc7a89 git | Not specified |
| CNA | Linux | Linux | affected 2b82032c34ec40515d3c45c36cd1961f37977de8 576164bd01bd795f8b09fb194b493103506b33c9 git | Not specified |
| CNA | Linux | Linux | affected 2b82032c34ec40515d3c45c36cd1961f37977de8 87299cdaae757f3f41212146cfb5b3af416b8385 git | Not specified |
| CNA | Linux | Linux | affected 2b82032c34ec40515d3c45c36cd1961f37977de8 d1ffa4ae2d591fdd40471074e79954ec45f147f7 git | Not specified |
| CNA | Linux | Linux | affected 2b82032c34ec40515d3c45c36cd1961f37977de8 36c2a2863bc3896243eb724dc3fd4cf9aea633f2 git | Not specified |
| CNA | Linux | Linux | affected 2b82032c34ec40515d3c45c36cd1961f37977de8 0d23b34c68c46cd225b55868bc8a269e3134816d git | Not specified |
| CNA | Linux | Linux | affected 2b82032c34ec40515d3c45c36cd1961f37977de8 1f9212cdbd005bc55f2b7422e7b560d9c02bd1da git | Not specified |
| CNA | Linux | Linux | affected 2b82032c34ec40515d3c45c36cd1961f37977de8 7411055db5ce64f836aaffd422396af0075fdc99 git | Not specified |
| CNA | Linux | Linux | affected 2.6.29 | Not specified |
| CNA | Linux | Linux | unaffected 2.6.29 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.312 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.274 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.215 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.155 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.86 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.27 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8.6 6.8.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.9 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2024/06/msg00017.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| git.kernel.org/stable/c/7411055db5ce64f836aaffd422396af0075fdc99 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/1f9212cdbd005bc55f2b7422e7b560d9c02bd1da | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/36c2a2863bc3896243eb724dc3fd4cf9aea633f2 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/87299cdaae757f3f41212146cfb5b3af416b8385 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/0d23b34c68c46cd225b55868bc8a269e3134816d | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/576164bd01bd795f8b09fb194b493103506b33c9 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d1ffa4ae2d591fdd40471074e79954ec45f147f7 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/bebd9e0ff90034875c5dfe4bd514fd7055fc7a89 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| lists.debian.org/debian-lts-announce/2024/06/msg00020.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.