{"api_version":"1","generated_at":"2026-07-23T14:30:22+00:00","cve":"CVE-2024-35936","urls":{"html":"https://cve.report/CVE-2024-35936","api":"https://cve.report/api/cve/CVE-2024-35936.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-35936","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-35936"},"summary":{"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 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","state":"PUBLISHED","assigner":"Linux","published_at":"2024-05-19 11:15:49","updated_at":"2026-05-12 12:16:42"},"problem_types":["NVD-CWE-noinfo"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","name":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7411055db5ce64f836aaffd422396af0075fdc99","name":"https://git.kernel.org/stable/c/7411055db5ce64f836aaffd422396af0075fdc99","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1f9212cdbd005bc55f2b7422e7b560d9c02bd1da","name":"https://git.kernel.org/stable/c/1f9212cdbd005bc55f2b7422e7b560d9c02bd1da","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","name":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","refsource":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/36c2a2863bc3896243eb724dc3fd4cf9aea633f2","name":"https://git.kernel.org/stable/c/36c2a2863bc3896243eb724dc3fd4cf9aea633f2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/87299cdaae757f3f41212146cfb5b3af416b8385","name":"https://git.kernel.org/stable/c/87299cdaae757f3f41212146cfb5b3af416b8385","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0d23b34c68c46cd225b55868bc8a269e3134816d","name":"https://git.kernel.org/stable/c/0d23b34c68c46cd225b55868bc8a269e3134816d","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/576164bd01bd795f8b09fb194b493103506b33c9","name":"https://git.kernel.org/stable/c/576164bd01bd795f8b09fb194b493103506b33c9","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d1ffa4ae2d591fdd40471074e79954ec45f147f7","name":"https://git.kernel.org/stable/c/d1ffa4ae2d591fdd40471074e79954ec45f147f7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bebd9e0ff90034875c5dfe4bd514fd7055fc7a89","name":"https://git.kernel.org/stable/c/bebd9e0ff90034875c5dfe4bd514fd7055fc7a89","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","name":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-35936","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35936","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b82032c34ec40515d3c45c36cd1961f37977de8 bebd9e0ff90034875c5dfe4bd514fd7055fc7a89 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b82032c34ec40515d3c45c36cd1961f37977de8 576164bd01bd795f8b09fb194b493103506b33c9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b82032c34ec40515d3c45c36cd1961f37977de8 87299cdaae757f3f41212146cfb5b3af416b8385 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b82032c34ec40515d3c45c36cd1961f37977de8 d1ffa4ae2d591fdd40471074e79954ec45f147f7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b82032c34ec40515d3c45c36cd1961f37977de8 36c2a2863bc3896243eb724dc3fd4cf9aea633f2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b82032c34ec40515d3c45c36cd1961f37977de8 0d23b34c68c46cd225b55868bc8a269e3134816d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b82032c34ec40515d3c45c36cd1961f37977de8 1f9212cdbd005bc55f2b7422e7b560d9c02bd1da git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2b82032c34ec40515d3c45c36cd1961f37977de8 7411055db5ce64f836aaffd422396af0075fdc99 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.29","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.29 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.19.312 4.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.4.274 5.4.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.215 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.155 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.86 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.27 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.8.6 6.8.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.9 * original_commit_for_fix","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","version":"affected * custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2024","cve_id":"35936","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2024-35936","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2024-05-20T17:12:29.915009Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2024-06-04T17:33:57.902Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2024-08-02T03:21:49.118Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/bebd9e0ff90034875c5dfe4bd514fd7055fc7a89"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/576164bd01bd795f8b09fb194b493103506b33c9"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/87299cdaae757f3f41212146cfb5b3af416b8385"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/d1ffa4ae2d591fdd40471074e79954ec45f147f7"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/36c2a2863bc3896243eb724dc3fd4cf9aea633f2"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/0d23b34c68c46cd225b55868bc8a269e3134816d"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/1f9212cdbd005bc55f2b7422e7b560d9c02bd1da"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/7411055db5ce64f836aaffd422396af0075fdc99"},{"tags":["x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"tags":["x_transferred"],"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"}],"title":"CVE Program Container"},{"affected":[{"defaultStatus":"unknown","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"0","versionType":"custom"}]}],"providerMetadata":{"dateUpdated":"2026-05-12T11:53:00.292Z","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP"},"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"}],"x_adpType":"supplier"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/btrfs/volumes.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"bebd9e0ff90034875c5dfe4bd514fd7055fc7a89","status":"affected","version":"2b82032c34ec40515d3c45c36cd1961f37977de8","versionType":"git"},{"lessThan":"576164bd01bd795f8b09fb194b493103506b33c9","status":"affected","version":"2b82032c34ec40515d3c45c36cd1961f37977de8","versionType":"git"},{"lessThan":"87299cdaae757f3f41212146cfb5b3af416b8385","status":"affected","version":"2b82032c34ec40515d3c45c36cd1961f37977de8","versionType":"git"},{"lessThan":"d1ffa4ae2d591fdd40471074e79954ec45f147f7","status":"affected","version":"2b82032c34ec40515d3c45c36cd1961f37977de8","versionType":"git"},{"lessThan":"36c2a2863bc3896243eb724dc3fd4cf9aea633f2","status":"affected","version":"2b82032c34ec40515d3c45c36cd1961f37977de8","versionType":"git"},{"lessThan":"0d23b34c68c46cd225b55868bc8a269e3134816d","status":"affected","version":"2b82032c34ec40515d3c45c36cd1961f37977de8","versionType":"git"},{"lessThan":"1f9212cdbd005bc55f2b7422e7b560d9c02bd1da","status":"affected","version":"2b82032c34ec40515d3c45c36cd1961f37977de8","versionType":"git"},{"lessThan":"7411055db5ce64f836aaffd422396af0075fdc99","status":"affected","version":"2b82032c34ec40515d3c45c36cd1961f37977de8","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/btrfs/volumes.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.29"},{"lessThan":"2.6.29","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"4.19.*","status":"unaffected","version":"4.19.312","versionType":"semver"},{"lessThanOrEqual":"5.4.*","status":"unaffected","version":"5.4.274","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.215","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.155","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.86","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.27","versionType":"semver"},{"lessThanOrEqual":"6.8.*","status":"unaffected","version":"6.8.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.9","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.19.312","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.4.274","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.215","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.155","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.86","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.27","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.8.6","versionStartIncluding":"2.6.29","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.9","versionStartIncluding":"2.6.29","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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"}],"providerMetadata":{"dateUpdated":"2026-05-11T20:14:04.422Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/bebd9e0ff90034875c5dfe4bd514fd7055fc7a89"},{"url":"https://git.kernel.org/stable/c/576164bd01bd795f8b09fb194b493103506b33c9"},{"url":"https://git.kernel.org/stable/c/87299cdaae757f3f41212146cfb5b3af416b8385"},{"url":"https://git.kernel.org/stable/c/d1ffa4ae2d591fdd40471074e79954ec45f147f7"},{"url":"https://git.kernel.org/stable/c/36c2a2863bc3896243eb724dc3fd4cf9aea633f2"},{"url":"https://git.kernel.org/stable/c/0d23b34c68c46cd225b55868bc8a269e3134816d"},{"url":"https://git.kernel.org/stable/c/1f9212cdbd005bc55f2b7422e7b560d9c02bd1da"},{"url":"https://git.kernel.org/stable/c/7411055db5ce64f836aaffd422396af0075fdc99"}],"title":"btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2024-35936","datePublished":"2024-05-19T10:10:42.967Z","dateReserved":"2024-05-17T13:50:33.130Z","dateUpdated":"2026-05-12T11:53:00.292Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-05-19 11:15:49","lastModifiedDate":"2026-05-12 12:16:42","problem_types":["NVD-CWE-noinfo"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"4.19.312","matchCriteriaId":"23F858DD-6739-4BD9-9DA9-A9F5F66187C0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20","versionEndExcluding":"5.4.274","matchCriteriaId":"F45A0F3C-C16D-49C4-86D6-D021C3D4B834"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.215","matchCriteriaId":"9CD5894E-58E9-4B4A-B0F4-3E6BC134B8F5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.155","matchCriteriaId":"F11B6314-A852-4FBD-AD84-ECE23F5C092B"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.86","matchCriteriaId":"F5D13FF4-8931-475F-A397-FD0594589F56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.27","matchCriteriaId":"41504EFE-0C3F-4B7C-B855-EFE4FA9ACB84"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.8.6","matchCriteriaId":"22CA5433-1303-41EF-AD4C-F4645DC01541"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","matchCriteriaId":"07B237A9-69A3-4A9C-9DA0-4E06BD37AE73"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2024","CveId":"35936","Ordinal":"1","Title":"btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chun","CVE":"CVE-2024-35936","Year":"2024"},"notes":[{"CveYear":"2024","CveId":"35936","Ordinal":"1","NoteData":"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","Type":"Description","Title":"btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chun"}]}}}