{"id":"CVE-2026-80805","summary":"xfs: validate attr entry pointer before field access","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: validate attr entry pointer before field access\n\nxfs_attr3_leaf_verify_entry() accesses lentry/rentry fields (namelen,\nvaluelen) before checking if the entry pointer itself is within bounds.\nIf nameidx is crafted to point near the end of the buffer, these field\naccesses can read out-of-bounds before the bounds check at\nname_end \u003e buf_end is performed.\n\nAdd explicit bounds checks for entry pointers before accessing their\nfields. Use offsetof() to check that the start of the flexible array\nmember (nameval/name) is within bounds, which ensures all preceding\nfields are safe to access.","modified":"2026-09-06T03:46:47.796420700Z","published":"2026-09-04T15:13:19.239Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80805.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/03a12253dd2a036545bdb0110a4e0b8dc70f8e7c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0f82586741e39926542f621bafa424e237a04fa4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/134d82a2b5e3eba3ebf58753a1387b22f26ca1de"},{"type":"WEB","url":"https://git.kernel.org/stable/c/184c1a80421a5b5ddcd262e47980ce2e67fee211"},{"type":"WEB","url":"https://git.kernel.org/stable/c/98a42bb9d60d42898c3494de351a1bf508348cde"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f92e749fc08b7ff3d9da190c4d1b2273745b282"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b7eea80be25f3334f131d52982b3131aba77b97d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c35da2bac6f7cb9a9be73f188b4fcc324615c327"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e99120b5944a16d0bc27e52b33de78bcdaaabf5c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80805.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80805"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c84760659dcf237902d4cc997cd5f55cb3b2807f"},{"fixed":"0f82586741e39926542f621bafa424e237a04fa4"},{"fixed":"134d82a2b5e3eba3ebf58753a1387b22f26ca1de"},{"fixed":"03a12253dd2a036545bdb0110a4e0b8dc70f8e7c"},{"fixed":"e99120b5944a16d0bc27e52b33de78bcdaaabf5c"},{"fixed":"98a42bb9d60d42898c3494de351a1bf508348cde"},{"fixed":"184c1a80421a5b5ddcd262e47980ce2e67fee211"},{"fixed":"9f92e749fc08b7ff3d9da190c4d1b2273745b282"},{"fixed":"c35da2bac6f7cb9a9be73f188b4fcc324615c327"},{"fixed":"b7eea80be25f3334f131d52982b3131aba77b97d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80805.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.267"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.218"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.185"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.154"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.106"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.47"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.2.0"},{"fixed":"7.2.1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80805.json"}}],"schema_version":"1.9.0"}