# CVE-2022-49013: sctp: fix memory leak in sctp\_stream\_outq\_migrate()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-10-21T20:06:23.375Z
- **Modified:** 2026-06-17T05:16:50.983Z

## Who should check

- Anyone running Linux \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< a7555681e50bdebed2c40ff7404ee73c2e932993; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< 176ee6c673ccd118e9392fd2dbb165423bdb99ca; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< 0dfb9a566327182387c90100ea54d8426cee8c67; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< fa20f88271259d42ebe66f0a8c4c20199e888c99; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< 9ed7bfc79542119ac0a9e1ce8a2a5285e43433e9
- Anyone running Linux 4.15

## Description

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

sctp: fix memory leak in sctp\_stream\_outq\_migrate()

When sctp\_stream\_outq\_migrate() is called to release stream out resources,
the memory pointed to by prio\_head in stream out is not released.

The memory leak information is as follows:
 unreferenced object 0xffff88801fe79f80 (size 64):
   comm "sctp\_repo", pid 7957, jiffies 4294951704 (age 36.480s)
   hex dump (first 32 bytes):
     80 9f e7 1f 80 88 ff ff 80 9f e7 1f 80 88 ff ff  ................
     90 9f e7 1f 80 88 ff ff 90 9f e7 1f 80 88 ff ff  ................
   backtrace:
     \[\<ffffffff81b215c6\>\] kmalloc\_trace+0x26/0x60
     \[\<ffffffff88ae517c\>\] sctp\_sched\_prio\_set+0x4cc/0x770
     \[\<ffffffff88ad64f2\>\] sctp\_stream\_init\_ext+0xd2/0x1b0
     \[\<ffffffff88aa2604\>\] sctp\_sendmsg\_to\_asoc+0x1614/0x1a30
     \[\<ffffffff88ab7ff1\>\] sctp\_sendmsg+0xda1/0x1ef0
     \[\<ffffffff87f765ed\>\] inet\_sendmsg+0x9d/0xe0
     \[\<ffffffff8754b5b3\>\] sock\_sendmsg+0xd3/0x120
     \[\<ffffffff8755446a\>\] \_\_sys\_sendto+0x23a/0x340
     \[\<ffffffff87554651\>\] \_\_x64\_sys\_sendto+0xe1/0x1b0
     \[\<ffffffff89978b49\>\] do\_syscall\_64+0x39/0xb0
     \[\<ffffffff89a0008b\>\] entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

## Affected and fixed versions

- Linux: \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< a7555681e50bdebed2c40ff7404ee73c2e932993; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< 176ee6c673ccd118e9392fd2dbb165423bdb99ca; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< 0dfb9a566327182387c90100ea54d8426cee8c67; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< fa20f88271259d42ebe66f0a8c4c20199e888c99; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< 9ed7bfc79542119ac0a9e1ce8a2a5285e43433e9 (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- Upgrade Linux to 9ed7bfc79542119ac0a9e1ce8a2a5285e43433e9 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49013.md
Affected: Linux >= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, < a7555681e50bdebed2c40ff7404ee73c2e932993; >= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, < 176ee6c673ccd118e9392fd2dbb165423bdb99ca; >= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, < 0dfb9a566327182387c90100ea54d8426cee8c67; >= 637784ade221a3c8a7ecd0f…
Fixed in: Linux 176ee6c673ccd118e9392fd2dbb165423bdb99ca, Linux 0dfb9a566327182387c90100ea54d8426cee8c67, Linux 9ed7bfc79542119ac0a9e1ce8a2a5285e43433e9

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-2022-49013 being exploited?

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

### How serious is CVE-2022-49013?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49013?

Linux \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< a7555681e50bdebed2c40ff7404ee73c2e932993; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< 176ee6c673ccd118e9392fd2dbb165423bdb99ca; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< 0dfb9a566327182387c90100ea54d8426cee8c67; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< fa20f88271259d42ebe66f0a8c4c20199e888c99; \>= 637784ade221a3c8a7ecd0f583eddd95d6276b9a, \< 9ed7bfc79542119ac0a9e1ce8a2a5285e43433e9; Linux 4.15.

### Is there a fix for CVE-2022-49013?

Yes. Fixed in Linux 176ee6c673ccd118e9392fd2dbb165423bdb99ca, Linux 0dfb9a566327182387c90100ea54d8426cee8c67, Linux 9ed7bfc79542119ac0a9e1ce8a2a5285e43433e9. Upgrade Linux to 9ed7bfc79542119ac0a9e1ce8a2a5285e43433e9 or later.

### How do I check if I'm affected by CVE-2022-49013?

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/a7555681e50bdebed2c40ff7404ee73c2e932993>
- patch: <https://git.kernel.org/stable/c/176ee6c673ccd118e9392fd2dbb165423bdb99ca>
- patch: <https://git.kernel.org/stable/c/0dfb9a566327182387c90100ea54d8426cee8c67>
- patch: <https://git.kernel.org/stable/c/fa20f88271259d42ebe66f0a8c4c20199e888c99>
- patch: <https://git.kernel.org/stable/c/9ed7bfc79542119ac0a9e1ce8a2a5285e43433e9>

## 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-2022-49013>

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