CVE-2026-31718
linux linux kernel
Patch priority
This weekHigh severity or noticeable probability of exploitation.
- CVSS
- 9.8
- Severity
- 9.8
- EPSS
- 0.4 %
- Percentile
- 32
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- Nobody has to click anything.
What to do?
- Update within the next few days.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in __ksmbd_close_fd() via durable scavenger When a durable file handle survives session disconnect (TCP close without SMB2_LOGOFF), session_fd_check() sets fp->conn = NULL to preserve the handle for later reconnection. However, it did not clean up the byte-range locks on fp->lock_list. Later, when the durable scavenger thread times out and calls __ksmbd_close_fd(NULL, fp), the lock cleanup loop did: spin_lock(&fp->conn->llist_lock); This caused a slab use-after-free because fp->conn was NULL and the original connection object had already been freed by ksmbd_tcp_disconnect(). The root cause is asymmetric cleanup: lock entries (smb_lock->clist) were left dangling on the freed conn->lock_list while fp->conn was nulled out. To fix this issue properly, we need to handle the lifetime of smb_lock->clist across three paths: - Safely skip clist deletion when list is empty and fp->conn is NULL. - Remove the lock from the old connection's lock_list in session_fd_check() - Re-add the lock to the new connection's lock_list in ksmbd_reopen_durable_fd().
- Vendor / product
- linux linux kernel
- Published
- 01.05.2026
- Modified
- 11.11.2026
- CWE
- CWE-416
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor updates
14- Ubuntu: USN-8605-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8604-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8603-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8569-1 – Linux kernel (HWE) vulnerabilities 20.07.2026 · Critical · Patch day
- Ubuntu: USN-8490-2 – Linux kernel (Real-time) vulnerabilities 17.07.2026 · Critical · Patch day
- Ubuntu: USN-8490-1 – Linux kernel vulnerabilities 17.07.2026 · Critical · Patch day
- Ubuntu: USN-8546-1 – Linux kernel (Raspberry Pi) vulnerabilities 15.07.2026 · Critical · Patch day
- Ubuntu: USN-8545-1 – Linux kernel (HWE) vulnerabilities 15.07.2026 · Critical · Patch day
- Ubuntu: USN-8508-1 – Linux kernel (NVIDIA) vulnerabilities 06.07.2026 · Critical · Patch day
- Ubuntu: USN-8507-1 – Linux kernel (NVIDIA) vulnerabilities 06.07.2026 · Critical · Patch day
- Ubuntu: USN-8488-2 – Linux kernel (Raspberry Pi) vulnerabilities 02.07.2026 · Critical · Patch day
- Ubuntu: USN-8488-1 – Linux kernel vulnerabilities 01.07.2026 · Critical · Patch day
- Ubuntu: USN-8491-1 – Linux kernel (OEM) vulnerabilities 01.07.2026 · Critical · Patch day
- Microsoft: Mariner 11.05.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.