{"id":"CVE-2026-97415","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-09-24T17:17:19.223","lastModified":"2026-10-03T11:17:53.457","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/btrfs/ioctl.c","fs/btrfs/tree-checker.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"b64ec075bded2b30bcd90af5aa5256d2237c885d","lessThan":"1370badf6b823ce3cde39a65f46f9e5dc7b4bf43","versionType":"git","status":"affected"},{"version":"b64ec075bded2b30bcd90af5aa5256d2237c885d","lessThan":"ba6c4fc662853f6662e4db060cf88ee994053e21","versionType":"git","status":"affected"},{"version":"b64ec075bded2b30bcd90af5aa5256d2237c885d","lessThan":"9154542070ca7eadb3c764a882f39a127677854b","versionType":"git","status":"affected"},{"version":"b64ec075bded2b30bcd90af5aa5256d2237c885d","lessThan":"74f577c722c99248d804eca18e7de7c5e47549d7","versionType":"git","status":"affected"},{"version":"b64ec075bded2b30bcd90af5aa5256d2237c885d","lessThan":"0af37c217edf15fa21dac1c40822086df356c6bb","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/btrfs/ioctl.c","fs/btrfs/tree-checker.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.18","status":"affected"},{"version":"0","lessThan":"4.18","versionType":"semver","status":"unaffected"},{"version":"6.1.189","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.158","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.111","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"references":[{"url":"https://git.kernel.org/stable/c/0af37c217edf15fa21dac1c40822086df356c6bb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/1370badf6b823ce3cde39a65f46f9e5dc7b4bf43","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/74f577c722c99248d804eca18e7de7c5e47549d7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9154542070ca7eadb3c764a882f39a127677854b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ba6c4fc662853f6662e4db060cf88ee994053e21","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}