Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 6d4b937251386d9c6f968e7802f0cb16a8523772affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4ea70146ab9376092297eb8b622ef1792797f2cfaffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a17b345daff46fec4af9f1ecbdf350208016dd15affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bdfda99c5763822a9a888e8af0ad7d9312ffcfe2affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 4c66719dd1e4023c5e3f7d050f1bbefec3dfbeb4affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2bf5e8f7c9bf4ad3be343a9a6e3e50a34264d25eaffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 00ef529a5402f41eb1d227916437e237450719f9affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 18c7d85864e554adc8fad1e8d2e9d2cb6c3911c8affected
Linux Linux
Default version status: affected
2.6.12affected0 to < 2.6.12unaffected5.10.270 to ≤ 5.10.*unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.109 to ≤ 6.12.*unaffected6.18.50 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6d4b937251386d9c6f968e7802f0cb16a8523772 ↗
- https://git.kernel.org/stable/c/4ea70146ab9376092297eb8b622ef1792797f2cf ↗
- https://git.kernel.org/stable/c/a17b345daff46fec4af9f1ecbdf350208016dd15 ↗
- https://git.kernel.org/stable/c/bdfda99c5763822a9a888e8af0ad7d9312ffcfe2 ↗
- https://git.kernel.org/stable/c/4c66719dd1e4023c5e3f7d050f1bbefec3dfbeb4 ↗
- https://git.kernel.org/stable/c/2bf5e8f7c9bf4ad3be343a9a6e3e50a34264d25e ↗
- https://git.kernel.org/stable/c/00ef529a5402f41eb1d227916437e237450719f9 ↗
- https://git.kernel.org/stable/c/18c7d85864e554adc8fad1e8d2e9d2cb6c3911c8 ↗