{"id":"CVE-2022-49927","summary":"nfs4: Fix kmemleak when allocate slot failed","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfs4: Fix kmemleak when allocate slot failed\n\nIf one of the slot allocate failed, should cleanup all the other\nallocated slots, otherwise, the allocated slots will leak:\n\n  unreferenced object 0xffff8881115aa100 (size 64):\n    comm \"\"mount.nfs\"\", pid 679, jiffies 4294744957 (age 115.037s)\n    hex dump (first 32 bytes):\n      00 cc 19 73 81 88 ff ff 00 a0 5a 11 81 88 ff ff  ...s......Z.....\n      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    backtrace:\n      [\u003c000000007a4c434a\u003e] nfs4_find_or_create_slot+0x8e/0x130\n      [\u003c000000005472a39c\u003e] nfs4_realloc_slot_table+0x23f/0x270\n      [\u003c00000000cd8ca0eb\u003e] nfs40_init_client+0x4a/0x90\n      [\u003c00000000128486db\u003e] nfs4_init_client+0xce/0x270\n      [\u003c000000008d2cacad\u003e] nfs4_set_client+0x1a2/0x2b0\n      [\u003c000000000e593b52\u003e] nfs4_create_server+0x300/0x5f0\n      [\u003c00000000e4425dd2\u003e] nfs4_try_get_tree+0x65/0x110\n      [\u003c00000000d3a6176f\u003e] vfs_get_tree+0x41/0xf0\n      [\u003c0000000016b5ad4c\u003e] path_mount+0x9b3/0xdd0\n      [\u003c00000000494cae71\u003e] __x64_sys_mount+0x190/0x1d0\n      [\u003c000000005d56bdec\u003e] do_syscall_64+0x35/0x80\n      [\u003c00000000687c9ae4\u003e] entry_SYSCALL_64_after_hwframe+0x46/0xb0","modified":"2026-04-03T13:14:38.565631576Z","published":"2025-05-01T14:11:05.404Z","related":["SUSE-SU-2025:01918-1","SUSE-SU-2025:01966-1","SUSE-SU-2025:01982-1","SUSE-SU-2025:01983-1","SUSE-SU-2025:01995-1","SUSE-SU-2025:02173-1","SUSE-SU-2025:02262-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49927.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/24641993a7dce6b1628645f4e1d97ca06c9f765d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/45aea4fbf61e205649c29200726b9f45c1718a67"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e8436728e22181c3f12a5dbabd35ed3a8b8c593"},{"type":"WEB","url":"https://git.kernel.org/stable/c/84b5cb476903003ae9ca88f32b57ff0eaefa6d4c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/86ce0e93cf6fb4d0c447323ac66577c642628b9d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/925cb538bd5851154602818dc80bf4b4d924c127"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aae35a0c8a775fa4afa6a4e7dab3f936f1f89bbb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db333ae981fb8843c383aa7dbf62cc682597d401"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49927.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49927"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"abf79bb341bf52f75f295b850abdf5f78f584311"},{"fixed":"84b5cb476903003ae9ca88f32b57ff0eaefa6d4c"},{"fixed":"aae35a0c8a775fa4afa6a4e7dab3f936f1f89bbb"},{"fixed":"86ce0e93cf6fb4d0c447323ac66577c642628b9d"},{"fixed":"925cb538bd5851154602818dc80bf4b4d924c127"},{"fixed":"45aea4fbf61e205649c29200726b9f45c1718a67"},{"fixed":"24641993a7dce6b1628645f4e1d97ca06c9f765d"},{"fixed":"db333ae981fb8843c383aa7dbf62cc682597d401"},{"fixed":"7e8436728e22181c3f12a5dbabd35ed3a8b8c593"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49927.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}