# CVE-2026-52974: net: tls: fix strparser anchor skb leak on offload RX setup failure

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-06-24T16:28:51.826Z
- **Modified:** 2026-10-19T20:18:52.147Z

## Who should check

- Anyone running Linux \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 0c9f399b37ce22a5ed94cc51f03ed07ac7f38e32; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 688f12aa44511dd57e448eb670075c6302ad1dc1; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 3c405dfa9619e506e75b8e41f8b29a5b99731877; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 9c54e76f8d6eb11735918777ef0e0509e089557d; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< bd07fe6c38b9e44ff3fc02692a53f095c5cc9afc; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 58689498ca3384851145a754dbb1d8ed1cf9fb54
- Anyone running Linux 6.0

## Description

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

net: tls: fix strparser anchor skb leak on offload RX setup failure

When tls\_set\_device\_offload\_rx() fails at tls\_dev\_add(), the error path
calls tls\_sw\_free\_resources\_rx() to clean up the SW context that was
initialized by tls\_set\_sw\_offload(). This function calls
tls\_sw\_release\_resources\_rx() (which stops the strparser via
tls\_strp\_stop()) and tls\_sw\_free\_ctx\_rx() (which kfrees the context),
but never frees the anchor skb that was allocated by alloc\_skb(0) in
tls\_strp\_init().

Note that tls\_sw\_free\_resources\_rx() is exclusively used for this
"failed to start offload" code path, there's no other caller.

The leak did not exist before commit 84c61fe1a75b ("tls: rx: do not use
the standard strparser"), because the standard strparser doesn't try
to pre-allocate an skb.

The normal close path in tls\_sk\_proto\_close() handles cleanup by calling
tls\_sw\_strparser\_done() (which calls tls\_strp\_done()) after dropping
the socket lock, because tls\_strp\_done() does cancel\_work\_sync() and
the strparser work handler takes the socket lock.

## Affected and fixed versions

- Linux: \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 0c9f399b37ce22a5ed94cc51f03ed07ac7f38e32; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 688f12aa44511dd57e448eb670075c6302ad1dc1; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 3c405dfa9619e506e75b8e41f8b29a5b99731877; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 9c54e76f8d6eb11735918777ef0e0509e089557d; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< bd07fe6c38b9e44ff3fc02692a53f095c5cc9afc; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 58689498ca3384851145a754dbb1d8ed1cf9fb54 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 58689498ca3384851145a754dbb1d8ed1cf9fb54 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-52974.md
Affected: Linux >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 0c9f399b37ce22a5ed94cc51f03ed07ac7f38e32; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 688f12aa44511dd57e448eb670075c6302ad1dc1; >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 3c405dfa9619e506e75b8e41f8b29a5b99731877; >= 84c61fe1a75b4255df1e1e7…
Fixed in: Linux 0c9f399b37ce22a5ed94cc51f03ed07ac7f38e32, Linux 688f12aa44511dd57e448eb670075c6302ad1dc1, Linux 3c405dfa9619e506e75b8e41f8b29a5b99731877, Linux 9c54e76f8d6eb11735918777ef0e0509e089557d, Linux 58689498ca3384851145a754dbb1d8ed1cf9fb54

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-2026-52974 being exploited?

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

### How serious is CVE-2026-52974?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-52974?

Linux \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 0c9f399b37ce22a5ed94cc51f03ed07ac7f38e32; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 688f12aa44511dd57e448eb670075c6302ad1dc1; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 3c405dfa9619e506e75b8e41f8b29a5b99731877; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 9c54e76f8d6eb11735918777ef0e0509e089557d; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< bd07fe6c38b9e44ff3fc02692a53f095c5cc9afc; \>= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, \< 58689498ca3384851145a754dbb1d8ed1cf9fb54; Linux 6.0.

### Is there a fix for CVE-2026-52974?

Yes. Fixed in Linux 0c9f399b37ce22a5ed94cc51f03ed07ac7f38e32, Linux 688f12aa44511dd57e448eb670075c6302ad1dc1, Linux 3c405dfa9619e506e75b8e41f8b29a5b99731877, Linux 9c54e76f8d6eb11735918777ef0e0509e089557d, Linux 58689498ca3384851145a754dbb1d8ed1cf9fb54. Upgrade Linux to 58689498ca3384851145a754dbb1d8ed1cf9fb54 or later.

### How do I check if I'm affected by CVE-2026-52974?

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/0c9f399b37ce22a5ed94cc51f03ed07ac7f38e32>
- patch: <https://git.kernel.org/stable/c/688f12aa44511dd57e448eb670075c6302ad1dc1>
- patch: <https://git.kernel.org/stable/c/3c405dfa9619e506e75b8e41f8b29a5b99731877>
- patch: <https://git.kernel.org/stable/c/9c54e76f8d6eb11735918777ef0e0509e089557d>
- patch: <https://git.kernel.org/stable/c/bd07fe6c38b9e44ff3fc02692a53f095c5cc9afc>
- patch: <https://git.kernel.org/stable/c/58689498ca3384851145a754dbb1d8ed1cf9fb54>

## 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-2026-52974>

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