Menu

Star on GitHub · 3.2k

CVE-2022-50335

9.8 · CRITICAL

In the Linux kernel, the following vulnerability has been resolved: 9p: set req refcount to zero to avoid uninitialized usage When a new request is allocated, the refcount will be zero if it is r…

Published Sep 15, 2025CWE-908EPSS 0.38%

Overview

CVE-2022-50335 is a critical-severity vulnerability. It was published on September 15, 2025 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

9p: set req refcount to zero to avoid uninitialized usage

When a new request is allocated, the refcount will be zero if it is

reused, but if the request is newly allocated from slab, it is not fully

initialized before being added to idr.

If the p9_read_work got a response before the refcount initiated. It will

use a uninitialized req, which will result in a bad request data struct.

Here is the logs from syzbot.

Corrupted memory at 0xffff88807eade00b [ 0xff 0x07 0x00 0x00 0x00 0x00

0x00 0x00 . . . . . . . . ] (in kfence-#110):

p9_fcall_fini net/9p/client.c:248 [inline]

p9_req_put net/9p/client.c:396 [inline]

p9_req_put+0x208/0x250 net/9p/client.c:390

p9_client_walk+0x247/0x540 net/9p/client.c:1165

clone_fid fs/9p/fid.h:21 [inline]

v9fs_fid_xattr_set+0xe4/0x2b0 fs/9p/xattr.c:118

v9fs_xattr_set fs/9p/xattr.c:100 [inline]

v9fs_xattr_handler_set+0x6f/0x120 fs/9p/xattr.c:159

__vfs_setxattr+0x119/0x180 fs/xattr.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2022-50335?

CVE-2022-50335 is a critical-severity vulnerability. It was published on September 15, 2025 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2022-50335?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-50335?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-50335?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2022-50335 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related CRITICAL CVEs from 2022

View all