{"id":"CVE-2026-99413","state":"PUBLISHED","title":"xfs: fix buffer overruns in xfs_ioc_attr_list","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix buffer overruns in xfs_ioc_attr_list\n\nWhen we converted the al_offset array in struct xfs_attrlist into a VLA,\nthe size of the object shrank by 4 bytes.  Unfortunately, the buffer\nsize validation in the attrlist ioctl wasn't updated to notice this, so\nthe al_offset[0] assignment blindly writes off the end of the buffer.\nLOLLM noticed the omitted check and complained.","publishedAt":"2026-11-19T14:40:09.361Z","updatedAt":"2026-11-19T14:40:09.361Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"371baf5c9750a258fee21d0cb8c8d683bb057429","status":"affected","lessThan":"426ba9b807dfda7a0f41754ce8689b2fda4ad36d","versionType":"git"},{"version":"371baf5c9750a258fee21d0cb8c8d683bb057429","status":"affected","lessThan":"173eb03891f4cf7f390521e66cdc5f203dbed591","versionType":"git"},{"version":"371baf5c9750a258fee21d0cb8c8d683bb057429","status":"affected","lessThan":"4fe8b75e3917113da8ae9d69a08ba9257e97b7c1","versionType":"git"},{"version":"371baf5c9750a258fee21d0cb8c8d683bb057429","status":"affected","lessThan":"0b9081a774ee7b9dff1e9ac3765b73c1d6bba5b2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/xfs_handle.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/xfs_handle.c"]}],"references":["https://git.kernel.org/stable/c/426ba9b807dfda7a0f41754ce8689b2fda4ad36d","https://git.kernel.org/stable/c/173eb03891f4cf7f390521e66cdc5f203dbed591","https://git.kernel.org/stable/c/4fe8b75e3917113da8ae9d69a08ba9257e97b7c1","https://git.kernel.org/stable/c/0b9081a774ee7b9dff1e9ac3765b73c1d6bba5b2"],"weaknesses":[],"ingestedAt":"2026-11-19T14:42:06.048Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99413.json","commit":"ac44738435f10e6dbe2f4dd504cf13737f9cf963","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99413","state":"PUBLISHED","datePublished":"2026-11-19T14:40:09.361Z","dateUpdated":"2026-11-19T14:40:09.361Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.413Z"},"containers":{"cna":{"title":"xfs: fix buffer overruns in xfs_ioc_attr_list","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix buffer overruns in xfs_ioc_attr_list\n\nWhen we converted the al_offset array in struct xfs_attrlist into a VLA,\nthe size of the object shrank by 4 bytes.  Unfortunately, the buffer\nsize validation in the attrlist ioctl wasn't updated to notice this, so\nthe al_offset[0] assignment blindly writes off the end of the buffer.\nLOLLM noticed the omitted check and complained."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"371baf5c9750a258fee21d0cb8c8d683bb057429","status":"affected","lessThan":"426ba9b807dfda7a0f41754ce8689b2fda4ad36d","versionType":"git"},{"version":"371baf5c9750a258fee21d0cb8c8d683bb057429","status":"affected","lessThan":"173eb03891f4cf7f390521e66cdc5f203dbed591","versionType":"git"},{"version":"371baf5c9750a258fee21d0cb8c8d683bb057429","status":"affected","lessThan":"4fe8b75e3917113da8ae9d69a08ba9257e97b7c1","versionType":"git"},{"version":"371baf5c9750a258fee21d0cb8c8d683bb057429","status":"affected","lessThan":"0b9081a774ee7b9dff1e9ac3765b73c1d6bba5b2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/xfs_handle.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.5","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.5","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/xfs/xfs_handle.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/426ba9b807dfda7a0f41754ce8689b2fda4ad36d"},{"url":"https://git.kernel.org/stable/c/173eb03891f4cf7f390521e66cdc5f203dbed591"},{"url":"https://git.kernel.org/stable/c/4fe8b75e3917113da8ae9d69a08ba9257e97b7c1"},{"url":"https://git.kernel.org/stable/c/0b9081a774ee7b9dff1e9ac3765b73c1d6bba5b2"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:40:09.361Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}