# CVE-2022-49065: linux: In the Linux kernel, the following vulnerability has been resolved:  SUNRPC: Fix the svc_deferred_event trace class...

CVE-2022-49065 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49065, released February 26, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-49065
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0064
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 26, 2025

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 5.17.6-1 | [DEBIAN-CVE-2022-49065](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49065.md) | Feb 26, 2025 |
| Linux | linux Debian 13.5 (trixie) | 5.17.6-1 | [DEBIAN-CVE-2022-49065](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49065.md) | Feb 26, 2025 |
| Linux | linux Debian 14 | 5.17.6-1 | [DEBIAN-CVE-2022-49065](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49065.md) | Feb 26, 2025 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
