5.5medium
fs: init flags_valid before calling vfs_fileattr_get
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: fs: init flags_valid before calling vfs_fileattr_get syzbot reported a uninit-value bug in [1]. Similar to the "*get" context where the kernel's internal file_kattr structure is initialized before calling vfs_fileattr_get(), we should use the same mechanism when using fa. [1] BUG: KMSAN: uninit-value in fuse_fileattr_get+0xeb4/0x1450 fs/fuse/ioctl.c:517 fuse_fileattr_get+0xeb4/0x1450 fs/fuse/ioctl.c:517 vfs_fileattr_get fs/file_attr.c:94 [inline] __do_sys_file_getattr fs/file_attr.c:416 [inline] Local variable fa.i created at: __do_sys_file_getattr fs/file_attr.c:380 [inline] __se_sys_file_getattr+0x8c/0xbd0 fs/file_attr.c:372
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from be7efb2d20d67f334a7de2aef77ae6c69367e646 before 379e19e820dd1c6145426b97467728b3b89c0b42, from be7efb2d20d67f334a7de2aef77ae6c69367e646 before b8c182b2c8c44c6016b11d8af61715ad7ef958a1, from be7efb2d20d67f334a7de2aef77ae6c69367e646 before cb184dd19154fc486fa3d9e02afe70a97e54e055, 6.17 Not affected: before 6.17, from 6.18.19 up to 6.18.*, from 6.19.9 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.17 before 6.18.19, from 6.19 before 6.19.9, 7.0 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: fs: init flags_valid before calling vfs_fileattr_get syzbot reported a uninit-value bug in [1]. Similar to the "*get" context where the kernel's internal file_kattr structure is initialized before calling vfs_fileattr_get(), we should use the same mechanism when using fa. [1] BUG: KMSAN: uninit-value in fuse_fileattr_get+0xeb4/0x1450 fs/fuse/ioctl.c:517 fuse_fileattr_get+0xeb4/0x1450 fs/fuse/ioctl.c:517 vfs_fileattr_get fs/file_attr.c:94 [inline] __do_sys_file_getattr fs/file_attr.c:416 [inline] Local variable fa.i created at: __do_sys_file_getattr fs/file_attr.c:380 [inline] __se_sys_file_getattr+0x8c/0xbd0 fs/file_attr.c:372
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: fs: inicializar flags_valid antes de llamar a vfs_fileattr_get syzbot informó un error de valor no inicializado en [1]. Similar al contexto de ’get’ donde la estructura interna file_kattr del kernel se inicializa antes de llamar a vfs_fileattr_get(), deberíamos usar el mismo mecanismo al usar fa. [1] ERROR: KMSAN: valor no inicializado en fuse_fileattr_get+0xeb4/0x 1450 fs/fuse/ioctl.c:517 fuse_fileattr_get+0xeb4/0x 1450 fs/fuse/ioctl.c:517 vfs_fileattr_get fs/file_attr.c:94 [inline] __do_sys_file_getattr fs/file_attr.c:416 [inline] Variable local fa.i creada en: __do_sys_file_getattr fs/file_attr.c:380 [inline] __se_sys_file_getattr+0x8c/0xbd0 fs/file_attr.c:372
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43474 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43474 changed 2026-11-11 | Public domain |