CVE-2026-48986: pam_usb: Infinite loop DoS in process-tree walk when parent process exits during authentication
pamusb provides hardware authentication for Linux using removable media. In pamusb 0.9.1 and earlier, usbgetprocessparentid() can cause an infinite loop DoS because it does not initialize ppid on failure. In pusblocallogin(), 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pam_usbto a version that resolves this vulnerability.Fixed in 0.9.2
Event History
Frequently Asked Questions
What is the severity of CVE-2026-48986?
The severity of CVE-2026-48986 is medium with a score of 4.7.
How do I fix CVE-2026-48986?
To fix CVE-2026-48986, update pam_usb to version 0.9.2 or later.
What impact does CVE-2026-48986 have on systems?
CVE-2026-48986 can cause an infinite loop denial of service when the parent process exits during authentication.
Which software is affected by CVE-2026-48986?
CVE-2026-48986 affects pam_usb versions 0.9.1 and earlier.
What is pam_usb?
pam_usb provides hardware authentication for Linux systems using removable media.