# CVE-2022-49013: sctp: fix memory leak in sctp_stream_outq_migrate()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-02)
- Published: 2024-10-21T20:06:23.375Z
- Modified: 2026-06-17T05:16:50.983Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 637784ade221a3c8a7ecd0f583eddd95d6276b9a before a7555681e50bdebed2c40ff7404ee73c2e932993; from 637784ade221a3c8a7ecd0f583eddd95d6276b9a before 176ee6c673ccd118e9392fd2dbb165423bdb99ca; from 637784ade221a3c8a7ecd0f583eddd95d6276b9a before 0dfb9a566327182387c90100ea54d8426cee8c67; from 637784ade221a3c8a7ecd0f583eddd95d6276b9a before fa20f88271259d42ebe66f0a8c4c20199e888c99; from 637784ade221a3c8a7ecd0f583eddd95d6276b9a before 9ed7bfc79542119ac0a9e1ce8a2a5285e43433e9; 4.15 (not affected: before 4.15; from 5.4.226 up to 5.4.*; from 5.10.158 up to 5.10.*; from 5.15.82 up to 5.15.*; from 6.0.12 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 4.15 before 5.4.226; from 5.5 before 5.10.158; from 5.11 before 5.15.82; from 5.16 before 6.0.12; 6.1

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2022-49013](https://www.cve.org/CVERecord?id=CVE-2022-49013), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49013](https://nvd.nist.gov/vuln/detail/CVE-2022-49013), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49013 · Whole record: https://cve.day/CVE-2022-49013.json · Rebuilt by cve.day 2026-11-25T22:58:20.032Z
