# CVE-2023-53186: skbuff: Fix a race between coalescing and releasing SKBs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.38% (percentile 24, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2025-09-15T14:04:38.954Z
- **Modified:** 2026-10-15T22:17:39.067Z

## Who should check

- Anyone running Linux \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 906a6689bb0191ad2a44131a3377006aa098af59; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 71850b5af92da21b4862a9bc55bda61091247d00; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 5f692c992a3bb9a8018e3488098b401a4229e7ec; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 0646dc31ca886693274df5749cd0c8c1eaaeb5ca
- Anyone running Linux 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

skbuff: Fix a race between coalescing and releasing SKBs

Commit 1effe8ca4e34 ("skbuff: fix coalescing for page\_pool fragment
recycling") allowed coalescing to proceed with non page pool page and page
pool page when @from is cloned, i.e.

to-\>pp\_recycle    --\> false
from-\>pp\_recycle  --\> true
skb\_cloned(from)  --\> true

However, it actually requires skb\_cloned(@from) to hold true until
coalescing finishes in this situation. If the other cloned SKB is
released while the merging is in process, from\_shinfo-\>nr\_frags will be
set to 0 toward the end of the function, causing the increment of frag
page \_refcount to be unexpectedly skipped resulting in inconsistent
reference counts. Later when SKB(@to) is released, it frees the page
directly even though the page pool page is still in use, leading to
use-after-free or double-free errors. So it should be prohibited.

The double-free error message below prompted us to investigate:
BUG: Bad page state in process swapper/1  pfn:0e0d1
page:00000000c6548b28 refcount:-1 mapcount:0 mapping:0000000000000000
index:0x2 pfn:0xe0d1
flags: 0xfffffc0000000(node=0\|zone=1\|lastcpupid=0x1fffff)
raw: 000fffffc0000000 0000000000000000 ffffffff00000101 0000000000000000
raw: 0000000000000002 0000000000000000 ffffffffffffffff 0000000000000000
page dumped because: nonzero \_refcount

CPU: 1 PID: 0 Comm: swapper/1 Tainted: G            E      6.2.0+
Call Trace:
 \<IRQ\>
dump\_stack\_lvl+0x32/0x50
bad\_page+0x69/0xf0
free\_pcp\_prepare+0x260/0x2f0
free\_unref\_page+0x20/0x1c0
skb\_release\_data+0x10b/0x1a0
napi\_consume\_skb+0x56/0x150
net\_rx\_action+0xf0/0x350
? \_\_napi\_schedule+0x79/0x90
\_\_do\_softirq+0xc8/0x2b1
\_\_irq\_exit\_rcu+0xb9/0xf0
common\_interrupt+0x82/0xa0
\</IRQ\>
\<TASK\>
asm\_common\_interrupt+0x22/0x40
RIP: 0010:default\_idle+0xb/0x20

## Affected and fixed versions

- Linux: \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 906a6689bb0191ad2a44131a3377006aa098af59; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 71850b5af92da21b4862a9bc55bda61091247d00; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 5f692c992a3bb9a8018e3488098b401a4229e7ec; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 0646dc31ca886693274df5749cd0c8c1eaaeb5ca (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 0646dc31ca886693274df5749cd0c8c1eaaeb5ca or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53186. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53186.md
Affected: Linux >= 53e0961da1c7bbdabd1abebb20de403ec237ec09, < 906a6689bb0191ad2a44131a3377006aa098af59; >= 53e0961da1c7bbdabd1abebb20de403ec237ec09, < 71850b5af92da21b4862a9bc55bda61091247d00; >= 53e0961da1c7bbdabd1abebb20de403ec237ec09, < 5f692c992a3bb9a8018e3488098b401a4229e7ec; >= 53e0961da1c7bbdabd1abeb…
Fixed in: Linux 906a6689bb0191ad2a44131a3377006aa098af59, Linux 71850b5af92da21b4862a9bc55bda61091247d00, Linux 5f692c992a3bb9a8018e3488098b401a4229e7ec, Linux 0646dc31ca886693274df5749cd0c8c1eaaeb5ca

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53186 being exploited?

There is no confirmed exploitation: CVE-2023-53186 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53186?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2023-53186?

Linux \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 906a6689bb0191ad2a44131a3377006aa098af59; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 71850b5af92da21b4862a9bc55bda61091247d00; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 5f692c992a3bb9a8018e3488098b401a4229e7ec; \>= 53e0961da1c7bbdabd1abebb20de403ec237ec09, \< 0646dc31ca886693274df5749cd0c8c1eaaeb5ca; Linux 5.15.

### Is there a fix for CVE-2023-53186?

Yes. Fixed in Linux 906a6689bb0191ad2a44131a3377006aa098af59, Linux 71850b5af92da21b4862a9bc55bda61091247d00, Linux 5f692c992a3bb9a8018e3488098b401a4229e7ec, Linux 0646dc31ca886693274df5749cd0c8c1eaaeb5ca. Upgrade Linux to 0646dc31ca886693274df5749cd0c8c1eaaeb5ca or later.

### How do I check if I'm affected by CVE-2023-53186?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/906a6689bb0191ad2a44131a3377006aa098af59>
- patch: <https://git.kernel.org/stable/c/71850b5af92da21b4862a9bc55bda61091247d00>
- patch: <https://git.kernel.org/stable/c/5f692c992a3bb9a8018e3488098b401a4229e7ec>
- patch: <https://git.kernel.org/stable/c/0646dc31ca886693274df5749cd0c8c1eaaeb5ca>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53186>

HTML: <https://flawdb.com/CVE-2023-53186> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53186>
