CVE-2026-52947·Kernel vulnerability
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.)
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.13
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.14% — higher than 3% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-52947 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.14%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.13
Fixed in: 7.0.13
How to fix this CVE
Update your Linux kernel to version 7.0.13 or later to patch a critical reference counting race condition in the QRTR networking subsystem. This vulnerability allows concurrent threads to trigger use-after-free conditions when socket reference counts are decremented prematurely during port removal operations. Apply the patch immediately to prevent memory corruption and potential kernel panics on systems using QRTR network functionality.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your kernel version with `uname -r` and verify it is earlier than 7.0.13
- Step 2: Verify QRTR support is enabled by checking if `/proc/net/qrtr` exists or if `lsmod | grep qrtr` returns results
- Step 3: Search kernel logs for refcount saturation warnings with `sudo dmesg | grep -i 'refcount_t: saturated'` or `sudo journalctl -b | grep -i 'refcount_warn_saturate'`
- Step 4: After applying the patch, reboot the system and confirm the new kernel version with `uname -r` matches 7.0.13 or later
FAQ
What is CVE-2026-52947?
CVE-2026-52947 is a race condition vulnerability in the Linux kernel's QRTR (Qualcomm IPC Router) networking module that allows concurrent threads to cause reference count saturation and potential use-after-free conditions when sockets are removed from the routing table prematurely.
Is CVE-2026-52947 being actively exploited?
No, CVE-2026-52947 is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, the vulnerability was discovered during syzkaller fuzzing, indicating it is reliably triggerable.
What versions of Kernel are affected by CVE-2026-52947?
Linux kernel versions 6.19 through 7.0.12 are affected. The vulnerability is fixed in kernel version 7.0.13 and all subsequent releases.
How do I check if my server is vulnerable to CVE-2026-52947?
Run `uname -r` to check your kernel version. If it reports a version between 6.19 and 7.0.12 (inclusive), your system is vulnerable. Additionally, verify QRTR is in use with `lsmod | grep qrtr`.
Does Defensia detect CVE-2026-52947?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-52947 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/03bfa95e452e2b6ccd76a332060ae4feaf5ad84d
- https://git.kernel.org/stable/c/2047c2aa0963bb2872fd722300a15bcb441a4c00
- https://git.kernel.org/stable/c/2aa4c12723fe432e623462a3be42a197a128722b
- https://git.kernel.org/stable/c/3b20ec8f31e8a6a6782243f473b0abd3463621df
- https://git.kernel.org/stable/c/474293d90880622fde9d2430fb0165767090f7b3
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-52947. Free for 1 server.
Get started free