{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-35936","id":"CVE-2024-35936","title":"btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()\n\nThe unhandled case in btrfs_relocate_sys_chunks() loop is a corruption,\nas it could be caused only by two impossible conditions:\n\n- at first the search key is set up to look for a chunk tree item, with\n  offset -1, this is an inexact search and the key->offset ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()\n\nThe unhandled case in btrfs_relocate_sys_chunks() loop is a corruption,\nas it could be caused only by two impossible conditions:\n\n- at first the search key is set up to look for a chunk tree item, with\n  offset -1, this is an inexact search and the key->offset will contain\n  the correct offset upon a successful search, a valid chunk tree item\n  cannot have an offset -1\n\n- after first successful search, the found_key corresponds to a chunk\n  item, the offset is decremented by 1 before the next loop, it's\n  impossible to find a chunk item there due to alignment and size\n  constraints","published":"2024-05-19T10:10:42.967Z","updated":"2026-10-28T02:31:00.945871364Z","reserved":"2024-05-17T13:50:33.130Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2b82032c34ec40515d3c45c36cd1961f37977de8","lessThan":"bebd9e0ff90034875c5dfe4bd514fd7055fc7a89","status":"affected","versionType":"git"},{"version":"2b82032c34ec40515d3c45c36cd1961f37977de8","lessThan":"576164bd01bd795f8b09fb194b493103506b33c9","status":"affected","versionType":"git"},{"version":"2b82032c34ec40515d3c45c36cd1961f37977de8","lessThan":"87299cdaae757f3f41212146cfb5b3af416b8385","status":"affected","versionType":"git"},{"version":"2b82032c34ec40515d3c45c36cd1961f37977de8","lessThan":"d1ffa4ae2d591fdd40471074e79954ec45f147f7","status":"affected","versionType":"git"},{"version":"2b82032c34ec40515d3c45c36cd1961f37977de8","lessThan":"36c2a2863bc3896243eb724dc3fd4cf9aea633f2","status":"affected","versionType":"git"},{"version":"2b82032c34ec40515d3c45c36cd1961f37977de8","lessThan":"0d23b34c68c46cd225b55868bc8a269e3134816d","status":"affected","versionType":"git"},{"version":"2b82032c34ec40515d3c45c36cd1961f37977de8","lessThan":"1f9212cdbd005bc55f2b7422e7b560d9c02bd1da","status":"affected","versionType":"git"},{"version":"2b82032c34ec40515d3c45c36cd1961f37977de8","lessThan":"7411055db5ce64f836aaffd422396af0075fdc99","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.29","status":"affected"},{"version":"0","lessThan":"2.6.29","status":"unaffected","versionType":"semver"},{"version":"4.19.312","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.274","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.215","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.155","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.86","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.27","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.6","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/bebd9e0ff90034875c5dfe4bd514fd7055fc7a89","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/576164bd01bd795f8b09fb194b493103506b33c9","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/87299cdaae757f3f41212146cfb5b3af416b8385","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/d1ffa4ae2d591fdd40471074e79954ec45f147f7","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/36c2a2863bc3896243eb724dc3fd4cf9aea633f2","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/0d23b34c68c46cd225b55868bc8a269e3134816d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/1f9212cdbd005bc55f2b7422e7b560d9c02bd1da","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/7411055db5ce64f836aaffd422396af0075fdc99","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35936.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35936","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00232,"epssPercentile":0.14226,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-35936","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35936","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-35936","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-35936","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}