CVE-2026-48986

pam_usb provides hardware authentication for Linux using removable media. In pam_usb 0.9.1 and earlier, usb_get_process_parent_id() can cause an infinite loop DoS because it does not initialize *ppid on failure. In pusb_local_login(), the same variable is reused as input and output in a process-tree while loop; if /proc/<pid>/stat cannot be read (for example, when an ancestor process exits during authentication), the PID is not updated and the loop does not terminate. This hangs the authenticating process (such as sudo, sshd, or login) until it is forcibly terminated. This issue has been fixed in version 0.9.2.
Configurations

No configuration.

History

26 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) pam_usb proporciona autenticación de hardware para Linux utilizando medios extraíbles. En pam_usb 0.9.1 y anteriores, usb_get_process_parent_id() puede causar un DoS de bucle infinito porque no inicializa ppid al fallar. En pusb_local_login(), la misma variable se reutiliza como entrada y salida en un bucle while de árbol de procesos; si /proc/[pid]/stat no se puede leer (por ejemplo, cuando un proceso ancestro sale durante la autenticación), el PID no se actualiza y el bucle no termina. Esto cuelga el proceso de autenticación (como sudo, sshd o login) hasta que se termina forzosamente. Este problema ha sido solucionado en la versión 0.9.2.

Information

Published : 2026-06-18 18:16

Updated : 2026-10-26 11:10


NVD link : CVE-2026-48986

Mitre link : CVE-2026-48986

CVE.ORG link : CVE-2026-48986


JSON object : View

Products Affected

No product.

CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')