Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: fs: Fix uninitialized value issue in from_kuid and from_kgid ocfs2_setattr() uses attr->ia_mode, attr->ia_uid and attr->ia_gid in a trace point even though ATTR_MODE, ATTR_UID and ATTR_GID aren't set. Initialize all fields of newattrs to avoid uninitialized variables, by checking if ATTR_MODE, ATTR_UID, ATTR_GID are initialized, otherwise 0.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 468eedde23d6c9335935773f4f5764267d5a7763 before a0c77e5e3dcbffc7c6080ccc89c037f0c86496cf; affected 468eedde23d6c9335935773f4f5764267d5a7763 before 17ecb40c5cc7755a321fb6148cba5797431ee5b8; affected 468eedde23d6c9335935773f4f5764267d5a7763 before 9db25c2b41c34963c3ccf473b08171f87670652e; affected 468eedde23d6c9335935773f4f5764267d5a7763 before b3e612bd8f64ce62e731e95f635e06a2efe3c80c; affected 468eedde23d6c9335935773f4f5764267d5a7763 before 5a72b0d3497b818d8f000c347a7c11801eb27bfc; affected 468eedde23d6c9335935773f4f5764267d5a7763 before 1cb5bfc5bfc651982b6203c224d49b7ddacf28bc; affected 468eedde23d6c9335935773f4f5764267d5a7763 before 1c28bca1256aecece6e94b26b85cd07e08b0dc90; affected 468eedde23d6c9335935773f4f5764267d5a7763 before 15f34347481648a567db67fb473c23befb796af5 |
| Linux / Linux | affected 2.6.39; unaffected 0 before 2.6.39; unaffected 4.19.324 through 4.19.*; unaffected 5.4.286 through 5.4.*; unaffected 5.10.230 through 5.10.*; unaffected 5.15.173 through 5.15.*; unaffected 6.1.118 through 6.1.*; unaffected 6.6.62 through 6.6.*; unaffected 6.11.9 through 6.11.*; unaffected 6.12 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/a0c77e5e3dcbffc7c6080ccc89c037f0c86496cf
- https://git.kernel.org/stable/c/17ecb40c5cc7755a321fb6148cba5797431ee5b8
- https://git.kernel.org/stable/c/9db25c2b41c34963c3ccf473b08171f87670652e
- https://git.kernel.org/stable/c/b3e612bd8f64ce62e731e95f635e06a2efe3c80c
- https://git.kernel.org/stable/c/5a72b0d3497b818d8f000c347a7c11801eb27bfc
- https://git.kernel.org/stable/c/1cb5bfc5bfc651982b6203c224d49b7ddacf28bc
- https://git.kernel.org/stable/c/1c28bca1256aecece6e94b26b85cd07e08b0dc90
- https://git.kernel.org/stable/c/15f34347481648a567db67fb473c23befb796af5
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.
No English description supplied.