Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
timers/itimer: Zero-init old itimerval before copy to userspace
In the Linux kernel, the following vulnerability has been resolved: timers/itimer: Zero-init old itimerval before copy to userspace On native sparc64, struct __kernel_old_timeval contains a four-byte hole after tv_usec because tv_sec is 64-bit while __kernel_suseconds_t is 32-bit. put_itimerval() fills only the named fields in a stack-allocated __kernel_old_itimerval and copies the entire object to userspace, so getitimer() can expose the two padding holes. Zero-initialize the aggregate before assigning the fields so implicit padding is deterministic before it crosses the user/kernel boundary.
References
Affected products
Linux
- <7.2.4
- <00ef529a5402f41eb1d227916437e237450719f9
- <6.12.109
- =<7.2.*
- <18c7d85864e554adc8fad1e8d2e9d2cb6c3911c8
- <2bf5e8f7c9bf4ad3be343a9a6e3e50a34264d25e
- =<6.12.*
- =<6.18.*
- <4c66719dd1e4023c5e3f7d050f1bbefec3dfbeb4
- <6.18.50
- =<*