{"id":"AZL-114800","summary":"CVE-2026-99396 affecting package kernel 6.6.161.1-1","details":"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-\u003enode_ents entries, yet a crafted attr\nnode may claim a count up to m_dir_geo-\u003enode_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-\u003egeo, the geometry of the\nfork actually being searched. Bound the entry count against\nargs-\u003egeo-\u003enode_ents there, before walking the entries.","modified":"2026-11-20T14:17:19.047649443Z","published":"2026-11-19T15:17:52Z","upstream":["CVE-2026-99396"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99396"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-114800.json"}}],"schema_version":"1.9.2"}