{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-49928",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-05-01T14:05:17.253Z",
        "datePublished": "2025-05-01T14:11:06.068Z",
        "dateUpdated": "2026-08-05T08:56:43.886Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:56:43.886Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: Fix null-ptr-deref when xps sysfs alloc failed\n\nThere is a null-ptr-deref when xps sysfs alloc failed:\n  BUG: KASAN: null-ptr-deref in sysfs_do_create_link_sd+0x40/0xd0\n  Read of size 8 at addr 0000000000000030 by task gssproxy/457\n\n  CPU: 5 PID: 457 Comm: gssproxy Not tainted 6.0.0-09040-g02357b27ee03 #9\n  Call Trace:\n   <TASK>\n   dump_stack_lvl+0x34/0x44\n   kasan_report+0xa3/0x120\n   sysfs_do_create_link_sd+0x40/0xd0\n   rpc_sysfs_client_setup+0x161/0x1b0\n   rpc_new_client+0x3fc/0x6e0\n   rpc_create_xprt+0x71/0x220\n   rpc_create+0x1d4/0x350\n   gssp_rpc_create+0xc3/0x160\n   set_gssp_clnt+0xbc/0x140\n   write_gssp+0x116/0x1a0\n   proc_reg_write+0xd6/0x130\n   vfs_write+0x177/0x690\n   ksys_write+0xb9/0x150\n   do_syscall_64+0x35/0x80\n   entry_SYSCALL_64_after_hwframe+0x46/0xb0\n\nWhen the xprt_switch sysfs alloc failed, should not add xprt and\nswitch sysfs to it, otherwise, maybe null-ptr-deref; also initialize\nthe 'xps_sysfs' to NULL to avoid oops when destroy it."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - On an NFS server, a remote NFSv4 peer can drive SETCLIENTID_CONFIRM/CREATE_SESSION into nfsd4_probe_callback → setup_callback_client → rpc_create → xprt_switch_alloc/rpc_sysfs_*_setup, so the vulnerable SUNRPC sysfs path is reached from network RPC with no local access; lockd NLM→nsm_create similarly triggers rpc_create from remote lock traffic.\nAC:L - The attacker fully controls NFSv4 client/session establishment that allocates RPC clients and can induce memory pressure so rpc_sysfs_xprt_switch_alloc fails, after which the NULL/uninit xps_sysfs dereference is deterministic with no attacker-uncontrollable race.\nPR:N - SETCLIENTID/CREATE_SESSION are ALLOWED_WITHOUT_FH and commonly accepted with AUTH_UNIX (or equivalent weak RPC auth) on nfsd, so an unauthenticated remote peer needs no host privileges or valid local credentials to reach the callback rpc_create path.\nUI:N - The attacker sends the NFSv4 client-setup compounds themselves; no victim action such as mounting a filesystem or opening a file is required beyond nfsd already listening.\nS:U - Impact is a host-kernel oops/panic in SUNRPC sysfs setup under the same OS authority, with no VM escape, IOMMU bypass, or other cross-boundary effect.\nC:N - This is a pure null-pointer dereference in sysfs_create_link_nowarn/sysfs_do_create_link_sd on a NULL xps_sysfs kobject (KASAN read at 0x30), with no OOB read or disclosure primitive.\nI:N - The fault is a NULL/invalid pointer read during sysfs link creation with no memory write, type confusion, or control-flow hijack beyond the ensuing oops.\nA:H - The confirmed KASAN null-ptr-deref in rpc_sysfs_client_setup causes a kernel oops/panic that a remote peer can trigger whenever xprt-switch sysfs allocation fails, fully denying host availability."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/sunrpc/sysfs.c"
                    ],
                    "versions": [
                        {
                            "version": "baea99445dd4675a834e8a5987d2f368adb62e6c",
                            "lessThan": "d59722d088a9d86ce6d9d39979e5d1d669d249f7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "baea99445dd4675a834e8a5987d2f368adb62e6c",
                            "lessThan": "7b189b0aa8dab14b49c31c65af8a982e96e25b62",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "baea99445dd4675a834e8a5987d2f368adb62e6c",
                            "lessThan": "cbdeaee94a415800c65a8c3fa04d9664a8b8fb3a",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/sunrpc/sysfs.c"
                    ],
                    "versions": [
                        {
                            "version": "5.14",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.14",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.78",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.8",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "5.15.78"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "6.0.8"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.14",
                                    "versionEndExcluding": "6.1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d59722d088a9d86ce6d9d39979e5d1d669d249f7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7b189b0aa8dab14b49c31c65af8a982e96e25b62"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cbdeaee94a415800c65a8c3fa04d9664a8b8fb3a"
                }
            ],
            "title": "SUNRPC: Fix null-ptr-deref when xps sysfs alloc failed",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-476",
                                "lang": "en",
                                "description": "CWE-476 NULL Pointer Dereference"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.5,
                            "attackVector": "LOCAL",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-10-01T14:56:32.147376Z",
                                "id": "CVE-2022-49928",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-10-01T14:56:34.636Z"
                }
            }
        ]
    }
}