Linux: Use After Free
CVE-2026-52947 is a high-severity use after free vulnerability in Linux, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions 2aa4c12723fe432e623462a3be42a197a128722b, 03bfa95e452e2b6ccd76a332060ae4feaf5ad84d, 474293d90880622fde9d2430fb0165767090f7b3 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.11% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to 2aa4c12723fe432e623462a3be42a197a128722b or 03bfa95e452e2b6ccd76a332060ae4feaf5ad84d or 474293d90880622fde9d2430fb0165767090f7b3 or 2047c2aa0963bb2872fd722300a15bcb441a4c00, whichever matches your release line, or a later version.
- Update Linux Kernel to 5.10.259 or 5.15.210 or 6.1.176 or 6.6.143, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | bdabad3e363d825ddf9679dd431cca0b2c30f881 up to, but not including, 2aa4c12723fe432e623462a3be42a197a128722b; bdabad3e363d825ddf9679dd431cca0b2c30f881 up to, but not including, 03bfa95e452e2b6ccd76a332060ae4feaf5ad84d; bdabad3e363d825ddf9679dd431cca0b2c30f881 up to, but not including, 474293d90880622fde9d2430fb0165767090f7b3; bdabad3e363d825ddf9679dd431cca0b2c30f881 up to, but not including, 2047c2aa0963bb2872fd722300a15bcb441a4c00; bdabad3e363d825ddf9679dd431cca0b2c30f881 up to, but not including, 7de2d447072be3b1a76793f034432338fc9c494b; bdabad3e363d825ddf9679dd431cca0b2c30f881 up to, but not including, ab269990ed58143a92a263be1bee626d82ac03da; bdabad3e363d825ddf9679dd431cca0b2c30f881 up to, but not including, 3b20ec8f31e8a6a6782243f473b0abd3463621df; bdabad3e363d825ddf9679dd431cca0b2c30f881 up to, but not including, a2171131ecda1ed61a594a1eb715e75fdad0fef5; and 1 more ranges | 2aa4c12723fe432e623462a3be42a197a128722b, 03bfa95e452e2b6ccd76a332060ae4feaf5ad84d, 474293d90880622fde9d2430fb0165767090f7b3, 2047c2aa0963bb2872fd722300a15bcb441a4c00, 7de2d447072be3b1a76793f034432338fc9c494b, ab269990ed58143a92a263be1bee626d82ac03da |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | all versions | Not stated |
| Linux | Linux Kernel | 4.7 up to, but not including, 5.10.259; 5.11 up to, but not including, 5.15.210; 5.16 up to, but not including, 6.1.176; 6.2 up to, but not including, 6.6.143; 6.7 up to, but not including, 6.12.94; 6.13 up to, but not including, 6.18.36; 6.19 up to, but not including, 7.0.13; 7.1 | 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by CNA.
Official 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.)
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.
How developers prevent this class of flaw
- Choose a language that provides automatic memory management.
- When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/03bfa95e452e2b6ccd76a332060ae4feaf5ad84d
- git.kernel.org/stable/c/2047c2aa0963bb2872fd722300a15bcb441a4c00
- git.kernel.org/stable/c/2aa4c12723fe432e623462a3be42a197a128722b
- git.kernel.org/stable/c/3b20ec8f31e8a6a6782243f473b0abd3463621df
- git.kernel.org/stable/c/474293d90880622fde9d2430fb0165767090f7b3
- git.kernel.org/stable/c/7de2d447072be3b1a76793f034432338fc9c494b
- git.kernel.org/stable/c/a2171131ecda1ed61a594a1eb715e75fdad0fef5
- git.kernel.org/stable/c/ab269990ed58143a92a263be1bee626d82ac03da
Other references
Recent Use After Free vulnerabilities
- 7.5 High severity
- 8.8 High severity
- 7.8 High severity
- 8.8 High severity
- 8.8 High severity
- 9.6 Critical severity
Spotted an error? Tell us.