CVE-2022-49927
JSON

5.5medium

nfs4: Fix kmemleak when allocate slot failed

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: nfs4: Fix kmemleak when allocate slot failed If one of the slot allocate failed, should cleanup all the other allocated slots, otherwise, the allocated slots will leak: unreferenced object 0xffff8881115aa100 (size 64): comm ""mount.nfs"", pid 679, jiffies 4294744957 (age 115.037s) hex dump (first 32 bytes): 00 cc 19 73 81 88 ff ff 00 a0 5a 11 81 88 ff ff ...s......Z..... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<000000007a4c434a>] nfs4_find_or_create_slot+0x8e/0x130 [<000000005472a39c>] nfs4_realloc_slot_table+0x23f/0x270 [<00000000cd8ca0eb>] nfs40_init_client+0x4a/0x90 [<00000000128486db>] nfs4_init_client+0xce/0x270 [<000000008d2cacad>] nfs4_set_client+0x1a2/0x2b0 [<000000000e593b52>] nfs4_create_server+0x300/0x5f0 [<00000000e4425dd2>] nfs4_try_get_tree+0x65/0x110 [<00000000d3a6176f>] vfs_get_tree+0x41/0xf0 [<0000000016b5ad4c>] path_mount+0x9b3/0xdd0 [<00000000494cae71>] __x64_sys_mount+0x190/0x1d0 [<000000005d56bdec>] do_syscall_64+0x35/0x80 [<00000000687c9ae4>] entry_SYSCALL_64_after_hwframe+0x46/0xb0

Affected

Product or packageVersionsReported by
Linux Linuxfrom abf79bb341bf52f75f295b850abdf5f78f584311 before 84b5cb476903003ae9ca88f32b57ff0eaefa6d4c, from abf79bb341bf52f75f295b850abdf5f78f584311 before aae35a0c8a775fa4afa6a4e7dab3f936f1f89bbb, from abf79bb341bf52f75f295b850abdf5f78f584311 before 86ce0e93cf6fb4d0c447323ac66577c642628b9d, from abf79bb341bf52f75f295b850abdf5f78f584311 before 925cb538bd5851154602818dc80bf4b4d924c127, from abf79bb341bf52f75f295b850abdf5f78f584311 before 45aea4fbf61e205649c29200726b9f45c1718a67, from abf79bb341bf52f75f295b850abdf5f78f584311 before 24641993a7dce6b1628645f4e1d97ca06c9f765d, from abf79bb341bf52f75f295b850abdf5f78f584311 before db333ae981fb8843c383aa7dbf62cc682597d401, from abf79bb341bf52f75f295b850abdf5f78f584311 before 7e8436728e22181c3f12a5dbabd35ed3a8b8c593 and 1 more
Not affected: before 3.12, from 4.9.333 up to 4.9.*, from 4.14.299 up to 4.14.*, from 4.19.265 up to 4.19.*, from 5.4.224 up to 5.4.*, from 5.10.154 up to 5.10.*
CVE List
linux linux_kernelfrom 3.12 before 4.9.333, from 4.10 before 4.14.299, from 4.15 before 4.19.265, from 4.20 before 5.4.224, from 5.5 before 5.10.154, from 5.11 before 5.15.78, from 5.16 before 6.0.8, 6.1NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: nfs4: Fix kmemleak when allocate slot failed If one of the slot allocate failed, should cleanup all the other allocated slots, otherwise, the allocated slots will leak: unreferenced object 0xffff8881115aa100 (size 64): comm ""mount.nfs"", pid 679, jiffies 4294744957 (age 115.037s) hex dump (first 32 bytes): 00 cc 19 73 81 88 ff ff 00 a0 5a 11 81 88 ff ff ...s......Z..... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<000000007a4c434a>] nfs4_find_or_create_slot+0x8e/0x130 [<000000005472a39c>] nfs4_realloc_slot_table+0x23f/0x270 [<00000000cd8ca0eb>] nfs40_init_client+0x4a/0x90 [<00000000128486db>] nfs4_init_client+0xce/0x270 [<000000008d2cacad>] nfs4_set_client+0x1a2/0x2b0 [<000000000e593b52>] nfs4_create_server+0x300/0x5f0 [<00000000e4425dd2>] nfs4_try_get_tree+0x65/0x110 [<00000000d3a6176f>] vfs_get_tree+0x41/0xf0 [<0000000016b5ad4c>] path_mount+0x9b3/0xdd0 [<00000000494cae71>] __x64_sys_mount+0x190/0x1d0 [<000000005d56bdec>] do_syscall_64+0x35/0x80 [<00000000687c9ae4>] entry_SYSCALL_64_after_hwframe+0x46/0xb0

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfs4: Se corrige kmemleak cuando falla la asignación de ranura Si falla la asignación de una ranura, se deben limpiar todas las demás ranuras asignadas, de lo contrario, las ranuras asignadas tendrán fugas: objeto sin referencia 0xffff8881115aa100 (tamaño 64): comm ""mount.nfs"", pid 679, jiffies 4294744957 (edad 115.037s) volcado hexadecimal (primeros 32 bytes): 00 cc 19 73 81 88 ff ff 00 a0 5a 11 81 88 ff ff ...s......Z..... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ seguimiento inverso:[&lt;000000007a4c434a&gt;] nfs4_find_or_create_slot+0x8e/0x130 [&lt;000000005472a39c&gt;] nfs4_realloc_slot_table+0x23f/0x270 [&lt;00000000cd8ca0eb&gt;] nfs40_init_client+0x4a/0x90 [&lt;00000000128486db&gt;] nfs4_init_client+0xce/0x270 [&lt;000000008d2cacad&gt;] nfs4_set_client+0x1a2/0x2b0 [&lt;000000000e593b52&gt;] nfs4_create_server+0x300/0x5f0 [&lt;00000000e4425dd2&gt;] nfs4_try_get_tree+0x65/0x110 [&lt;00000000d3a6176f&gt;] vfs_get_tree+0x41/0xf0 [&lt;0000000016b5ad4c&gt;] path_mount+0x9b3/0xdd0 [&lt;00000000494cae71&gt;] __x64_sys_mount+0x190/0x1d0 [&lt;000000005d56bdec&gt;] do_syscall_64+0x35/0x80 [&lt;00000000687c9ae4&gt;] entry_SYSCALL_64_after_hwframe+0x46/0xb0

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49927 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-49927 changed 2026-06-17Public domain