{"api_version":"1","generated_at":"2026-12-01T17:51:57+00:00","cve":"CVE-2026-99396","urls":{"html":"https://cve.report/CVE-2026-99396","api":"https://cve.report/api/cve/CVE-2026-99396.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99396","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99396"},"summary":{"title":"xfs: bound da-node entry count against the correct geometry","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: bound da-node entry count against the correct geometry\n\nxfs_da3_node_verify() bounds the node entry count against the larger of\nthe directory and attribute geometries because, as a buffer verifier, it\ncannot tell whether the block belongs to the directory or the attribute\ntree. When the directory block size exceeds the fs block size (e.g.\nmkfs.xfs -n size=64k -b size=4k), an attribute node buffer is a single fs\nblock that holds only m_attr_geo->node_ents entries, yet a crafted attr\nnode may claim a count up to m_dir_geo->node_ents and still pass the\nverifier.\n\nxfs_da3_node_lookup_int() then indexes btree[] up to that count during\nits binary search -- an out-of-bounds read via getxattr/listxattr on a\nmounted crafted image.\n\nThe buffer verifier is the wrong place to tighten this: it has no fork\ncontext, and the transaction-less read path used by getxattr does not run\nxfs_da3_node_set_type() either. xfs_da3_node_lookup_int(), on the other\nhand, always runs on that path and holds args->geo, the geometry of the\nfork actually being searched. Bound the entry count against\nargs->geo->node_ents there, before walking the entries.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-19 15:17:52","updated_at":"2026-11-23 08:17:43"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/3619d3f206ae62ca9354e521b82e02d3438d2c4d","name":"https://git.kernel.org/stable/c/3619d3f206ae62ca9354e521b82e02d3438d2c4d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/aaeb3e51052c94959bbc286ccda0c6f2feb3cd69","name":"https://git.kernel.org/stable/c/aaeb3e51052c94959bbc286ccda0c6f2feb3cd69","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cb0c634fd6de2cf3daf3d6f91ffec3873497f404","name":"https://git.kernel.org/stable/c/cb0c634fd6de2cf3daf3d6f91ffec3873497f404","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5909f2935ca2897b51800d00f58a48605253ef4b","name":"https://git.kernel.org/stable/c/5909f2935ca2897b51800d00f58a48605253ef4b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/229c4478a35663582893916250ebcdfc7b845b85","name":"https://git.kernel.org/stable/c/229c4478a35663582893916250ebcdfc7b845b85","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/84ceb84e83aff1eb6043a247a70543c1b5a81e54","name":"https://git.kernel.org/stable/c/84ceb84e83aff1eb6043a247a70543c1b5a81e54","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/83cb680ad9154a3ebf1a22b793b6932e1abc7c47","name":"https://git.kernel.org/stable/c/83cb680ad9154a3ebf1a22b793b6932e1abc7c47","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3df5e5aaa3bc0913236c48ab29b7df3a785aa29f","name":"https://git.kernel.org/stable/c/3df5e5aaa3bc0913236c48ab29b7df3a785aa29f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99396","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99396","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7ab610f9e0f1701b7b319bdc946b9804fb79e780 cb0c634fd6de2cf3daf3d6f91ffec3873497f404 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7ab610f9e0f1701b7b319bdc946b9804fb79e780 83cb680ad9154a3ebf1a22b793b6932e1abc7c47 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7ab610f9e0f1701b7b319bdc946b9804fb79e780 84ceb84e83aff1eb6043a247a70543c1b5a81e54 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7ab610f9e0f1701b7b319bdc946b9804fb79e780 3619d3f206ae62ca9354e521b82e02d3438d2c4d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7ab610f9e0f1701b7b319bdc946b9804fb79e780 aaeb3e51052c94959bbc286ccda0c6f2feb3cd69 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7ab610f9e0f1701b7b319bdc946b9804fb79e780 5909f2935ca2897b51800d00f58a48605253ef4b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7ab610f9e0f1701b7b319bdc946b9804fb79e780 229c4478a35663582893916250ebcdfc7b845b85 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7ab610f9e0f1701b7b319bdc946b9804fb79e780 3df5e5aaa3bc0913236c48ab29b7df3a785aa29f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.61 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.2 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"99396","cve":"CVE-2026-99396","epss":"0.002360000","percentile":"0.147020000","score_date":"2026-11-23","updated_at":"2026-11-24 00:07:46"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/xfs/libxfs/xfs_da_btree.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"cb0c634fd6de2cf3daf3d6f91ffec3873497f404","status":"affected","version":"7ab610f9e0f1701b7b319bdc946b9804fb79e780","versionType":"git"},{"lessThan":"83cb680ad9154a3ebf1a22b793b6932e1abc7c47","status":"affected","version":"7ab610f9e0f1701b7b319bdc946b9804fb79e780","versionType":"git"},{"lessThan":"84ceb84e83aff1eb6043a247a70543c1b5a81e54","status":"affected","version":"7ab610f9e0f1701b7b319bdc946b9804fb79e780","versionType":"git"},{"lessThan":"3619d3f206ae62ca9354e521b82e02d3438d2c4d","status":"affected","version":"7ab610f9e0f1701b7b319bdc946b9804fb79e780","versionType":"git"},{"lessThan":"aaeb3e51052c94959bbc286ccda0c6f2feb3cd69","status":"affected","version":"7ab610f9e0f1701b7b319bdc946b9804fb79e780","versionType":"git"},{"lessThan":"5909f2935ca2897b51800d00f58a48605253ef4b","status":"affected","version":"7ab610f9e0f1701b7b319bdc946b9804fb79e780","versionType":"git"},{"lessThan":"229c4478a35663582893916250ebcdfc7b845b85","status":"affected","version":"7ab610f9e0f1701b7b319bdc946b9804fb79e780","versionType":"git"},{"lessThan":"3df5e5aaa3bc0913236c48ab29b7df3a785aa29f","status":"affected","version":"7ab610f9e0f1701b7b319bdc946b9804fb79e780","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/xfs/libxfs/xfs_da_btree.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.16"},{"lessThan":"3.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.61","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.2","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"3.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"3.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"3.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"3.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"3.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.61","versionStartIncluding":"3.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.2","versionStartIncluding":"3.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"3.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: bound da-node entry count against the correct geometry\n\nxfs_da3_node_verify() bounds the node entry count against the larger of\nthe directory and attribute geometries because, as a buffer verifier, it\ncannot tell whether the block belongs to the directory or the attribute\ntree. When the directory block size exceeds the fs block size (e.g.\nmkfs.xfs -n size=64k -b size=4k), an attribute node buffer is a single fs\nblock that holds only m_attr_geo->node_ents entries, yet a crafted attr\nnode may claim a count up to m_dir_geo->node_ents and still pass the\nverifier.\n\nxfs_da3_node_lookup_int() then indexes btree[] up to that count during\nits binary search -- an out-of-bounds read via getxattr/listxattr on a\nmounted crafted image.\n\nThe buffer verifier is the wrong place to tighten this: it has no fork\ncontext, and the transaction-less read path used by getxattr does not run\nxfs_da3_node_set_type() either. xfs_da3_node_lookup_int(), on the other\nhand, always runs on that path and holds args->geo, the geometry of the\nfork actually being searched. Bound the entry count against\nargs->geo->node_ents there, before walking the entries."}],"providerMetadata":{"dateUpdated":"2026-11-23T08:02:19.493Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/cb0c634fd6de2cf3daf3d6f91ffec3873497f404"},{"url":"https://git.kernel.org/stable/c/83cb680ad9154a3ebf1a22b793b6932e1abc7c47"},{"url":"https://git.kernel.org/stable/c/84ceb84e83aff1eb6043a247a70543c1b5a81e54"},{"url":"https://git.kernel.org/stable/c/3619d3f206ae62ca9354e521b82e02d3438d2c4d"},{"url":"https://git.kernel.org/stable/c/aaeb3e51052c94959bbc286ccda0c6f2feb3cd69"},{"url":"https://git.kernel.org/stable/c/5909f2935ca2897b51800d00f58a48605253ef4b"},{"url":"https://git.kernel.org/stable/c/229c4478a35663582893916250ebcdfc7b845b85"},{"url":"https://git.kernel.org/stable/c/3df5e5aaa3bc0913236c48ab29b7df3a785aa29f"}],"title":"xfs: bound da-node entry count against the correct geometry","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99396","datePublished":"2026-11-19T14:23:34.182Z","dateReserved":"2026-09-25T10:25:14.412Z","dateUpdated":"2026-11-23T08:02:19.493Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-19 15:17:52","lastModifiedDate":"2026-11-23 08:17:43","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99396","Ordinal":"1","Title":"xfs: bound da-node entry count against the correct geometry","CVE":"CVE-2026-99396","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99396","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: bound da-node entry count against the correct geometry\n\nxfs_da3_node_verify() bounds the node entry count against the larger of\nthe directory and attribute geometries because, as a buffer verifier, it\ncannot tell whether the block belongs to the directory or the attribute\ntree. When the directory block size exceeds the fs block size (e.g.\nmkfs.xfs -n size=64k -b size=4k), an attribute node buffer is a single fs\nblock that holds only m_attr_geo->node_ents entries, yet a crafted attr\nnode may claim a count up to m_dir_geo->node_ents and still pass the\nverifier.\n\nxfs_da3_node_lookup_int() then indexes btree[] up to that count during\nits binary search -- an out-of-bounds read via getxattr/listxattr on a\nmounted crafted image.\n\nThe buffer verifier is the wrong place to tighten this: it has no fork\ncontext, and the transaction-less read path used by getxattr does not run\nxfs_da3_node_set_type() either. xfs_da3_node_lookup_int(), on the other\nhand, always runs on that path and holds args->geo, the geometry of the\nfork actually being searched. Bound the entry count against\nargs->geo->node_ents there, before walking the entries.","Type":"Description","Title":"xfs: bound da-node entry count against the correct geometry"}]}}}