← All Advisories
Reported from OT-Advisories.com as of

CVE-2026-63918

Last refreshed2026-10-30

Status: UPDATED  |  Advisory ID: CVE-2026-63918

Key Details

CVECVE-2026-63918
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-10-30
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Classified as
CWE-416 (Use After Free)

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

In 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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-63918
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-63918
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.