5.5medium
Kernel stack disclosure via timer_settime(2)
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- freebsd
Description
To retrieve the previous timer value, the kernel calls realtimer_gettime(), which obtains the current time for the timer's clock. For a timer using CLOCK_TAI this can fail when no TAI offset has been configured, but the error return was not checked, so the uninitialized output buffer was copied to userspace. An unprivileged local user can obtain uninitialized kernel stack memory by creating a POSIX timer with CLOCK_TAI and calling timer_settime(2), potentially disclosing sensitive kernel data.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| FreeBSD FreeBSD | from 15.1-RELEASE before p2, from 15.0-RELEASE before p12, 15.0, 15.1 | CVE List, NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
To retrieve the previous timer value, the kernel calls realtimer_gettime(), which obtains the current time for the timer's clock. For a timer using CLOCK_TAI this can fail when no TAI offset has been configured, but the error return was not checked, so the uninitialized output buffer was copied to userspace. An unprivileged local user can obtain uninitialized kernel stack memory by creating a POSIX timer with CLOCK_TAI and calling timer_settime(2), potentially disclosing sensitive kernel data.
NVD (es)
Para recuperar el valor anterior del temporizador, el kernel llama a realtimer_gettime(), que obtiene la hora actual para el reloj del temporizador. Para un temporizador que usa CLOCK_TAI, esto puede fallar cuando no se ha configurado ningún desplazamiento TAI, pero el retorno de error no fue verificado, por lo que el búfer de salida no inicializado fue copiado al espacio de usuario. Un usuario local no privilegiado puede obtener memoria de pila del kernel no inicializada al crear un temporizador POSIX con CLOCK_TAI y al llamar a timer_settime(2), potencialmente revelando datos sensibles del kernel.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-58084 changed 2026-08-26 | CVE Terms of Use |
| NVD | CVE-2026-58084 changed 2026-10-27 | Public domain |