In the Linux kernel, the following vulnerability has been resolved: net: qrtr: fix refcount saturation and potential UAF in qrtr_port_remove In qrtr_port_remove(), the socket reference count is decre…
- CVSS
- 7.8High
- Chance of exploitation (EPSS)
- —
- Published
- Jun 24, 2026
- In the news
- 1 story
What to do
A serious memory corruption flaw in Linux kernel that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Linux
- 4.7
Description
In the Linux kernel, the following vulnerability has been resolved:
net: qrtr: fix refcount saturation and potential UAF in qrtr_port_remove
In qrtr_port_remove(), the socket reference count is decremented via
__sock_put() before the port is removed from the qrtr_ports XArray and
before the RCU grace period elapses.
This breaks the fundamental RCU update paradigm. It exposes a race
window where a concurrent RCU reader (such as qrtr_reset_ports() or
qrtr_port_lookup()) can obtain a pointer to the socket from the XArray,
and attempt to call sock_hold() on a socket whose reference count has
already dropped to zero.
This exact race condition was hit during syzkaller fuzzing, leading to
the following refcount saturation warning and a potential Use-After-Free:
refcount_t: saturated; leaking memory.
WARNING: CPU: 3 PID: 1273 at lib/refcount.c:22 refcount_warn_saturate+0xae/0x1d0
Modules linked in: qrtr(+) bochs drm_shmem_helper ...
Call Trace:
<TASK>
qrtr_reset_ports net/qrtr/af_qrtr.c:768 [inline] [qrtr]
__qrtr_bind.isra.0+0x48b/0x570 net/qrtr/af_qrtr.c:805 [qrtr]
qrtr_bind+0x17d/0x210 net/qrtr/af_qrtr.c:901 [qrtr]
kernel_bind+0xe4/0x120 net/socket.c:3592
qrtr_ns_init+0x1a6/0x380 net/qrtr/ns.c:715 [qrtr]
qrtr_proto_init+0x3b/0xff0 net/qrtr/af_qrtr.c:169 [qrtr]
do_one_initcall+0xf5/0x5e0 init/main.c:1283
...
</TASK>
Fix this by deferring the reference count decrement until after the
xa_erase() and the synchronize_rcu() complete.
(Note: The v1 of this patch incorrectly replaced __sock_put() with
sock_put(). As Simon Horman pointed out, the callers of qrtr_port_remove()
still hold a reference to the socket, so freeing the socket memory here
would lead to a subsequent UAF in the caller. Thus, the __sock_put() is
kept, but only repositioned to close the RCU race.)
Affected products
Get alerts for these →Timeline 17
Latest change: Nessus plugin 392096: Ubuntu 22.04 LTS / 24.04 LTS / Pro Realtime 24.04 LTS : linux-oracle-6.8, linux-raspi, linux-raspi-realtime vulnerabilities (USN-9025-1) (Dec 2, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Dec 3, 2026
Wed, Nov 18, 2026
- DetectionNessus plugin 365377: Ubuntu 20.04 LTS : Linux kernel (Oracle) vulnerabilities (USN-8879-1)Tenable
- DetectionNessus plugin 365382: Ubuntu 20.04 LTS / 22.04 LTS : Linux kernel vulnerabilities (USN-8875-1)Tenable
- DetectionNessus plugin 365459: Ubuntu 22.04 LTS : Linux kernel (Azure CVM) vulnerabilities (USN-8876-1)Tenable
- DetectionNessus plugin 365370: Ubuntu 20.04 LTS : Linux kernel (GCP) vulnerabilities (USN-8878-1)Tenable
Sat, Nov 14, 2026
- DetectionNessus plugin 343527: Ubuntu 24.04 LTS / 26.04 LTS / Pro Realtime 24.04 LTS : Linux kernel vulnerabilities (USN-8726-1)Tenable
- DetectionNessus plugin 343531: Ubuntu 26.04 LTS : Linux kernel (OEM) vulnerabilities (USN-8727-1)Tenable
- DetectionNessus plugin 346233: Ubuntu 24.04 LTS / Pro Realtime 24.04 LTS : Linux kernel (NVIDIA) vulnerabilities (USN-8760-1)Tenable
- DetectionNessus plugin 349106: Ubuntu 26.04 LTS : Linux kernel (NVIDIA BaseOS) vulnerabilities (USN-8800-1)Tenable
Fri, Nov 13, 2026
Mon, Nov 9, 2026
Thu, Oct 22, 2026
- AdvisorySiemens SIMATIC S7 Webserver APICISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFPCISA · 12:00 UTC
- AdvisorySiemens SIMATIC IPCsCISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7 PLCs Web ServerCISA · 12:00 UTC
- AdvisorySiemens SIMATIC S7-1500 TM MFPCISA · 12:00 UTC
Wed, Jun 24, 2026
- CVECVE-2026-52947 published (CVSS 7.8)CVE Program · 17:17 UTC
References 9
- git.kernel.org Patch /stable/c/03bfa95e452e2b6ccd76a332060ae4feaf5ad84d
- git.kernel.org Patch /stable/c/2047c2aa0963bb2872fd722300a15bcb441a4c00
- git.kernel.org Patch /stable/c/2aa4c12723fe432e623462a3be42a197a128722b
- git.kernel.org Patch /stable/c/3b20ec8f31e8a6a6782243f473b0abd3463621df
- git.kernel.org Patch /stable/c/474293d90880622fde9d2430fb0165767090f7b3
- git.kernel.org Patch /stable/c/7de2d447072be3b1a76793f034432338fc9c494b
- git.kernel.org Patch /stable/c/a2171131ecda1ed61a594a1eb715e75fdad0fef5
- git.kernel.org Patch /stable/c/ab269990ed58143a92a263be1bee626d82ac03da
- cert-portal.siemens.com /productcert/html/ssa-784472.html