← CVE Intelligence

CVE-2026-89765

timers/itimer: Zero-init old itimerval before copy to userspace PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 6d4b937251386d9c6f968e7802f0cb16a8523772; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4ea70146ab9376092297eb8b622ef1792797f2cf; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before a17b345daff46fec4af9f1ecbdf350208016dd15; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before bdfda99c5763822a9a888e8af0ad7d9312ffcfe2; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 4c66719dd1e4023c5e3f7d050f1bbefec3dfbeb4; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2bf5e8f7c9bf4ad3be343a9a6e3e50a34264d25e; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 00ef529a5402f41eb1d227916437e237450719f9; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 18c7d85864e554adc8fad1e8d2e9d2cb6c3911c8
Linux / Linuxaffected 2.6.12; unaffected 0 before 2.6.12; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.109 through 6.12.*; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through *

CWE

No CWE identifiers supplied.

References