{"schema":"threatline.record/2","record":{"id":"CVE-2026-97415","aliases":[],"summary":"btrfs: tree-checker: validate names in ROOT_REF and ROOT_BACKREF","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: tree-checker: validate names in ROOT_REF and ROOT_BACKREF\n\nROOT_REF and ROOT_BACKREF items contain a struct btrfs_root_ref followed\nby the subvolume name. Several readers assume that this layout is already\nvalid and then use the on-disk name length directly. A corrupted item can\ntherefore make those readers address bytes outside the item, and\nBTRFS_IOC_GET_SUBVOL_INFO can copy too many bytes into its fixed-size UAPI\nname buffer.\n\nValidate ROOT_REF and ROOT_BACKREF items in tree-checker before any reader\nuses them. Reject records that do not contain a non-empty name, whose\nname_len does not exactly describe the remaining item payload, or whose\nname exceeds BTRFS_NAME_LEN.\n\nFor BTRFS_IOC_GET_SUBVOL_INFO, copy only the validated on-disk name_len\ninstead of deriving the copy length from the item size. The ioctl result is\nzeroed when allocated. That leaves the existing trailing zero byte\nuntouched.","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97415","source_modified_at":"2026-10-03T10:58:06.771Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"Linux","vendor":"Linux","versions":[{"version":"b64ec075bded2b30bcd90af5aa5256d2237c885d","lessThan":"1370badf6b823ce3cde39a65f46f9e5dc7b4bf43","status":"affected","versionType":"git"},{"version":"b64ec075bded2b30bcd90af5aa5256d2237c885d","lessThan":"ba6c4fc662853f6662e4db060cf88ee994053e21","status":"affected","versionType":"git"},{"version":"b64ec075bded2b30bcd90af5aa5256d2237c885d","lessThan":"9154542070ca7eadb3c764a882f39a127677854b","status":"affected","versionType":"git"},{"version":"b64ec075bded2b30bcd90af5aa5256d2237c885d","lessThan":"74f577c722c99248d804eca18e7de7c5e47549d7","status":"affected","versionType":"git"},{"version":"b64ec075bded2b30bcd90af5aa5256d2237c885d","lessThan":"0af37c217edf15fa21dac1c40822086df356c6bb","status":"affected","versionType":"git"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97415","source_modified_at":"2026-10-03T10:58:06.771Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"Linux","vendor":"Linux","versions":[{"version":"4.18","status":"affected"},{"version":"0","lessThan":"4.18","status":"unaffected","versionType":"semver"},{"version":"6.1.189","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.111","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97415","source_modified_at":"2026-10-03T10:58:06.771Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"Linux","ecosystem":null},"version":"1370badf6b823ce3cde39a65f46f9e5dc7b4bf43","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97415","source_modified_at":"2026-10-03T10:58:06.771Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"Linux","ecosystem":null},"version":"9154542070ca7eadb3c764a882f39a127677854b","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97415","source_modified_at":"2026-10-03T10:58:06.771Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"Linux","ecosystem":null},"version":"74f577c722c99248d804eca18e7de7c5e47549d7","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-97415","source_modified_at":"2026-10-03T10:58:06.771Z","fetched_at":"2026-10-23T18:52:38.922436Z","package":{"name":"Linux","ecosystem":null},"version":"0af37c217edf15fa21dac1c40822086df356c6bb","basis":"first unaffected version stated in the CVE record"}],"cvss":7.8,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00131,"percentile":0.02478,"score_date":"2026-10-23"},"published_at":"2026-09-24T16:03:22.780Z","modified_at":"2026-10-03T10:58:06.771Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-97415","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-10-03T10:58:06.771Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-97415","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/1370badf6b823ce3cde39a65f46f9e5dc7b4bf43"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/ba6c4fc662853f6662e4db060cf88ee994053e21"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/9154542070ca7eadb3c764a882f39a127677854b"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/74f577c722c99248d804eca18e7de7c5e47549d7"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/0af37c217edf15fa21dac1c40822086df356c6bb"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-03T10:58:06.771Z","content_hash":"b990e7805072c7b04c15589d0825e41a2f0420470695df39958be7aa379c5c33"}}
