# CVE-2022-49928: linux: In the Linux kernel, the following vulnerability has been resolved:  SUNRPC: Fix null-ptr-deref when xps sysfs alloc...

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

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

## Description

In the Linux kernel, the following vulnerability has been resolved:  SUNRPC: Fix null-ptr-deref when xps sysfs alloc failed  There is a null-ptr-deref when xps sysfs alloc failed:   BUG: KASAN: null-ptr-deref in sysfs_do_create_link_sd+0x40/0xd0   Read of size 8 at addr 0000000000000030 by task gssproxy/457    CPU: 5 PID: 457 Comm: gssproxy Not tainted 6.0.0-09040-g02357b27ee03 #9   Call Trace:    <TASK>    dump_stack_lvl+0x34/0x44    kasan_report+0xa3/0x120    sysfs_do_create_link_sd+0x40/0xd0    rpc_sysfs_client_setup+0x161/0x1b0    rpc_new_client+0x3fc/0x6e0    rpc_create_xprt+0x71/0x220    rpc_create+0x1d4/0x350    gssp_rpc_create+0xc3/0x160    set_gssp_clnt+0xbc/0x140    write_gssp+0x116/0x1a0    proc_reg_write+0xd6/0x130    vfs_write+0x177/0x690    ksys_write+0xb9/0x150    do_syscall_64+0x35/0x80    entry_SYSCALL_64_after_hwframe+0x46/0xb0  When the xprt_switch sysfs alloc failed, should not add xprt and switch sysfs to it, otherwise, maybe null-ptr-deref; also initialize the 'xps_sysfs' to NULL to avoid oops when destroy it.

## Where it's fixed

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

---

Data as of 2026-11-08T06:59:42Z 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.
