{"id":"CVE-2026-43474","state":"PUBLISHED","title":"fs: init flags_valid before calling vfs_fileattr_get","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs: init flags_valid before calling vfs_fileattr_get\n\nsyzbot reported a uninit-value bug in [1].\n\nSimilar to the \"*get\" context where the kernel's internal file_kattr\nstructure is initialized before calling vfs_fileattr_get(), we should\nuse the same mechanism when using fa.\n\n[1]\nBUG: KMSAN: uninit-value in fuse_fileattr_get+0xeb4/0x1450 fs/fuse/ioctl.c:517\n fuse_fileattr_get+0xeb4/0x1450 fs/fuse/ioctl.c:517\n vfs_fileattr_get fs/file_attr.c:94 [inline]\n __do_sys_file_getattr fs/file_attr.c:416 [inline]\n\nLocal variable fa.i created at:\n __do_sys_file_getattr fs/file_attr.c:380 [inline]\n __se_sys_file_getattr+0x8c/0xbd0 fs/file_attr.c:372","publishedAt":"2026-05-08T14:22:32.871Z","updatedAt":"2026-05-11T22:25:18.616Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"be7efb2d20d67f334a7de2aef77ae6c69367e646","status":"affected","lessThan":"379e19e820dd1c6145426b97467728b3b89c0b42","versionType":"git"},{"version":"be7efb2d20d67f334a7de2aef77ae6c69367e646","status":"affected","lessThan":"b8c182b2c8c44c6016b11d8af61715ad7ef958a1","versionType":"git"},{"version":"be7efb2d20d67f334a7de2aef77ae6c69367e646","status":"affected","lessThan":"cb184dd19154fc486fa3d9e02afe70a97e54e055","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/file_attr.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"6.18.19","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.9","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/file_attr.c"]}],"references":["https://git.kernel.org/stable/c/379e19e820dd1c6145426b97467728b3b89c0b42","https://git.kernel.org/stable/c/b8c182b2c8c44c6016b11d8af61715ad7ef958a1","https://git.kernel.org/stable/c/cb184dd19154fc486fa3d9e02afe70a97e54e055"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43474.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43474","state":"PUBLISHED","datePublished":"2026-05-08T14:22:32.871Z","dateUpdated":"2026-05-11T22:25:18.616Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:56.011Z"},"containers":{"cna":{"title":"fs: init flags_valid before calling vfs_fileattr_get","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs: init flags_valid before calling vfs_fileattr_get\n\nsyzbot reported a uninit-value bug in [1].\n\nSimilar to the \"*get\" context where the kernel's internal file_kattr\nstructure is initialized before calling vfs_fileattr_get(), we should\nuse the same mechanism when using fa.\n\n[1]\nBUG: KMSAN: uninit-value in fuse_fileattr_get+0xeb4/0x1450 fs/fuse/ioctl.c:517\n fuse_fileattr_get+0xeb4/0x1450 fs/fuse/ioctl.c:517\n vfs_fileattr_get fs/file_attr.c:94 [inline]\n __do_sys_file_getattr fs/file_attr.c:416 [inline]\n\nLocal variable fa.i created at:\n __do_sys_file_getattr fs/file_attr.c:380 [inline]\n __se_sys_file_getattr+0x8c/0xbd0 fs/file_attr.c:372"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"be7efb2d20d67f334a7de2aef77ae6c69367e646","status":"affected","lessThan":"379e19e820dd1c6145426b97467728b3b89c0b42","versionType":"git"},{"version":"be7efb2d20d67f334a7de2aef77ae6c69367e646","status":"affected","lessThan":"b8c182b2c8c44c6016b11d8af61715ad7ef958a1","versionType":"git"},{"version":"be7efb2d20d67f334a7de2aef77ae6c69367e646","status":"affected","lessThan":"cb184dd19154fc486fa3d9e02afe70a97e54e055","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/file_attr.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"6.18.19","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.9","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/file_attr.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/379e19e820dd1c6145426b97467728b3b89c0b42"},{"url":"https://git.kernel.org/stable/c/b8c182b2c8c44c6016b11d8af61715ad7ef958a1"},{"url":"https://git.kernel.org/stable/c/cb184dd19154fc486fa3d9e02afe70a97e54e055"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:25:18.616Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"6.18.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"6.19.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}