CVE-2022-49928: SUNRPC: Fix null-ptr-deref when xps sysfs alloc failed

Published May 1, 2025
·
Updated

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 sysfsdocreatelinksd+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> dumpstacklvl+0x34/0x44 kasanreport+0xa3/0x120 sysfsdocreatelinksd+0x40/0xd0 rpcsysfsclientsetup+0x161/0x1b0 rpcnewclient+0x3fc/0x6e0 rpccreatexprt+0x71/0x220 rpccreate+0x1d4/0x350 gssprpccreate+0xc3/0x160 setgsspclnt+0xbc/0x140 writegssp+0x116/0x1a0 procregwrite+0xd6/0x130 vfswrite+0x177/0x690 ksyswrite+0xb9/0x150 dosyscall64+0x35/0x80 entrySYSCALL64afterhwframe+0x46/0xb0

When the xprtswitch sysfs alloc failed, should not add xprt and switch sysfs to it, otherwise, maybe null-ptr-deref; also initialize the 'xpssysfs' to NULL to avoid oops when destroy it.

Affected Software

6 affected components
Linux Linux kernel
Linux Linux kernel>=5.14<5.15.78
Linux Linux kernel>=5.16<6.0.8
Linux Linux kernel=6.1-rc1
Linux Linux kernel=6.1-rc2
Linux Linux kernel=6.1-rc3

Event History

May 1, 2025
CVE Published
via MITRE·02:11 PM
Data Sourced
via MITRE·02:11 PM
DescriptionSeverity
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-49928?

CVE-2022-49928 is classified as a medium-severity vulnerability affecting the Linux kernel.

2

How do I fix CVE-2022-49928?

To fix CVE-2022-49928, update to the latest version of the Linux kernel where the vulnerability has been patched.

3

What type of vulnerability is CVE-2022-49928?

CVE-2022-49928 is a null pointer dereference vulnerability in the Linux kernel.

4

What versions of Linux are affected by CVE-2022-49928?

CVE-2022-49928 affects multiple versions of the Linux kernel, particularly those prior to the patch release.

5

Can CVE-2022-49928 be exploited remotely?

CVE-2022-49928 may allow local attackers to exploit the vulnerability, but it is not characterized as a remote exploitation vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203