CVE-2022-49669
Last modified
CVE-2022-49669 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: mptcp: fix race on unaccepted mptcp sockets When the listener socket owning the relevant request is closed, it frees the unaccepted subflows and that causes later deletion of the paired MPTCP sockets. The mptcp socket's worker can run in the time interval between such delete operations. When that happens, any access to msk->first will cause an UaF access, as the subflow cleanup did not cleared such field in the mptcp socket. Address the issue explicitly traversing the listener socket accept queue at close time and performing the needed cleanup on the pending msk. Note that the locking is a bit tricky, as we need to acquire the msk socket lock, while still owning the subflow socket one.. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: mptcp: fix race on unaccepted mptcp sockets When the listener socket owning the relevant request is closed, it frees the unaccepted subflows and that causes later deletion of the paired MPTCP sockets. The mptcp socket's worker can run in the time interval between such delete operations. When that happens, any access to msk->first will cause an UaF access, as the subflow cleanup did not cleared such field in the mptcp socket. Address the issue explicitly traversing the listener socket accept queue at close time and performing the needed cleanup on the pending msk. Note that the locking is a bit tricky, as we need to acquire the msk socket lock, while still owning the subflow socket one.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.17, < 5.18.10 | — |
| Linux | Linux Kernel | 5.19 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49669?
How severe is CVE-2022-49669?
How do I fix CVE-2022-49669?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49663In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49664In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49665In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49666In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49667In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49668In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4967strongSwan versions 5.9.2 through 5.9.5 are affected by auth…6.5
- CVE-2022-49670In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49671In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49672In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49673In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49674In the Linux kernel, the following vulnerability has been re…7.1
Are you affected by CVE-2022-49669?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
