CVE-2022-49065
SUNRPC: Fix the svc_deferred_event trace class
Mitigation
- Upgrade Linux to 4d5004451ab2218eab94a30e1841462c9316ba19 or later.
Who should check
- Anyone running Linux >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 85ee17ca21cf92989e8c923e3ea4514c291e9d38; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 726ae7300fcc25fefa46d188cc07eb16dc908f9e; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < c2456f470eea3bd06574d988bf6089e7c3f4c5cc; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 4d5004451ab2218eab94a30e1841462c9316ba19
- Anyone running Linux 4.17
Vulnerability facts
- Affected
- Linux >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 85ee17ca21cf92989e8c923e3ea4514c291e9d38; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 726ae7300fcc25fefa46d188cc07eb16dc908f9e; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < c2456f470eea3bd06574d988bf6089e7c3f4c5cc; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 4d5004451ab2218eab94a30e1841462c9316ba19; Linux 4.17
- Fixed in
- Linux 85ee17ca21cf92989e8c923e3ea4514c291e9d38, Linux 726ae7300fcc25fefa46d188cc07eb16dc908f9e, Linux 4d5004451ab2218eab94a30e1841462c9316ba19
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.69% chance of exploitation in 30 days (percentile 48, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: SUNRPC: Fix the svc_deferred_event trace class Fix a NULL deref crash that occurs when an svc_rqst is deferred while the sunrpc tracing subsystem is enabled. svc_revisit() sets dr->xprt to NULL, so it can't be relied upon in the tracepoint to provide the remote's address. Unfortunately we can't revert the "svc_deferred_class" hunk in commit ece200ddd54b ("sunrpc: Save remote presentation address in svc_xprt for trace events") because there is now a specific check of event format specifiers for unsafe dereferences. The warning that check emits is: event svc_defer_recv has unsafe dereference of argument 1 A "%pISpc" format specifier with a "struct sockaddr *" is indeed flagged by this check. Instead, take the brute-force approach used by the svcrdma_qp_error tracepoint. Convert the dr::addr field into a presentation address in the TP_fast_assign() arm of the trace event, and store that as a string. This fix can be backported to -stable kernels. In the meantime, commit c6ced22997ad ("tracing: Update print fmt check to handle new __get_sockaddr() macro") is now in v5.18, so this wonky fix can be replaced with __sockaddr() and friends properly during the v5.19 merge window.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 85ee17ca21cf92989e8c923e3ea4514c291e9d38; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 726ae7300fcc25fefa46d188cc07eb16dc908f9e; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < c2456f470eea3bd06574d988bf6089e7c3f4c5cc; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 4d5004451ab2218eab94a30e1841462c9316ba19 | — | cvelist |
| Linux | 4.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49065. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49065.md Affected: Linux >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 85ee17ca21cf92989e8c923e3ea4514c291e9d38; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 726ae7300fcc25fefa46d188cc07eb16dc908f9e; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < c2456f470eea3bd06574d988bf6089e7c3f4c5cc; >= ece200ddd54b9ce840cfee5… Fixed in: Linux 85ee17ca21cf92989e8c923e3ea4514c291e9d38, Linux 726ae7300fcc25fefa46d188cc07eb16dc908f9e, Linux 4d5004451ab2218eab94a30e1841462c9316ba19 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.
References
FAQ
Is CVE-2022-49065 being exploited?
There is no confirmed exploitation: CVE-2022-49065 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.69% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49065?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2022-49065?
Linux >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 85ee17ca21cf92989e8c923e3ea4514c291e9d38; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 726ae7300fcc25fefa46d188cc07eb16dc908f9e; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < c2456f470eea3bd06574d988bf6089e7c3f4c5cc; >= ece200ddd54b9ce840cfee554fb812560c545c7d, < 4d5004451ab2218eab94a30e1841462c9316ba19; Linux 4.17.
Is there a fix for CVE-2022-49065?
Yes. Fixed in Linux 85ee17ca21cf92989e8c923e3ea4514c291e9d38, Linux 726ae7300fcc25fefa46d188cc07eb16dc908f9e, Linux 4d5004451ab2218eab94a30e1841462c9316ba19. Upgrade Linux to 4d5004451ab2218eab94a30e1841462c9316ba19 or later.
How do I check if I'm affected by CVE-2022-49065?
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.