Use-after-free in Linux kernel - CVE-2026-98171

 

Use-after-free in Linux kernel - CVE-2026-98171

Published: October 7, 2026


Vulnerability identifier: #VU153850
CSH Severity: Low
CVSS v4: 0 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-98171
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to trigger access to freed memory.

The vulnerability exists due to use-after-free in the SMB client's receive_encrypted_standard() function when handling compound encrypted frames and subsequent error paths. A remote attacker can supply compound encrypted frames that encounter an error after buffer reassignment to trigger access to freed memory.

The next_buffer pointer remains stale after its buffer is assigned to server->bigbuf.


Affected software

Linux kernel
Debian Linux
linux (Debian package)

How to mitigate CVE-2026-98171

Install security update from vendor's repository.

Linux kernel - update to 7.0 rc3
linux (Debian package) - update to 6.12.113-1

External References

Related Security Bulletins