CVE-2026-63918
linux linux kernel
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.8
- Severity
- 7.8
- EPSS
- 0.2 %
- Percentile
- 6
- 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?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- 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: l2tp: use refcount_inc_not_zero in l2tp_session_get_by_ifname A reader in l2tp_session_get_by_ifname() can return a pointer to a session whose refcount has reached zero. The getter takes its reference with plain refcount_inc(), but every other session getter in the same file (l2tp_v2_session_get, l2tp_v3_session_get, and the corresponding _get_next variants) uses refcount_inc_not_zero() because the IDR/RCU lookup can race with refcount_dec_and_test() -> l2tp_session_free() -> kfree_rcu(). The ifname getter is the only outlier; the inconsistency was raised on-list after 979c017803c4 ("l2tp: use list_del_rcu in l2tp_session_unhash"). A reader inside rcu_read_lock_bh() that matches session->ifname can be preempted between the strcmp() and the refcount_inc(). If the last reference drops on another CPU in that window, the reader's refcount_inc() runs on a counter that has reached zero. refcount_t catches the addition-on-zero, prints "refcount_t: addition on 0; use-after-free", saturates the counter, and returns the saturated pointer to the caller. Session memory is held live by the in-flight RCU read section, but the kfree_rcu() callback queued from l2tp_session_free() will free it once the grace period closes; a caller that dereferences the returned session past that point hits a slab-use-after-free. On PREEMPT_RT local_bh_disable() is a per-CPU sleeping lock and the preemption window is real; on stock PREEMPT kernels local_bh_disable() is a preempt_count increment that closes the cross-CPU race in practice (see below). Use refcount_inc_not_zero() and continue the list walk on failure, matching the other session getters in the file. The ifname getter is the only session getter in net/l2tp/ that still uses the bare refcount_inc() pattern; this change restores file-internal consistency. The success path is unchanged.
- Vendor / product
- linux linux kernel
- Published
- 19.07.2026
- Modified
- 30.10.2026
- CWE
- CWE-416
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor updates
14- Red Hat: RHSA-2026:102220 – RHSA-2026:102220 kernel security update 23.11.2026 · Critical · Patch day
- Red Hat: RHSA-2026:76738 – RHSA-2026:76738 kernel security update 08.10.2026 · Patch day
- SUSE: SUSE-SU-2026:23897-1 – Security update for the Linux Kernel 29.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23902-1 – Security update for the Linux Kernel 29.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23881-1 – Security update for the Linux Kernel 29.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23887-1 – Security update for the Linux Kernel 29.09.2026 · Critical · Patch day
- Ubuntu: USN-8728-3 – Linux kernel (Oracle) vulnerabilities 29.09.2026 · Critical · Patch day
- Ubuntu: USN-8728-2 – Linux kernel (Azure) vulnerabilities 22.09.2026 · Critical · Patch day
- Ubuntu: USN-8728-1 – Linux kernel (GCP) vulnerabilities 07.09.2026 · Critical · Patch day
- Ubuntu: USN-8664-1 – Linux kernel (NVIDIA BaseOS) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8663-1 – Linux kernel (NVIDIA) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8618-1 – Linux kernel vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8603-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8593-1 – Linux kernel vulnerabilities 23.07.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.