CVE-2021-47507

MEDIUM

Linux Kernel 5.4.102-5.4.165 - Race Condition in NFS Server Startup

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix nsfd startup race (again) Commit bd5ae9288d64 ("nfsd: register pernet ops last, unregister first") has re-opened rpc_pipefs_event() race against nfsd_net_id registration (register_pernet_subsys()) which has been fixed by commit bb7ffbf29e76 ("nfsd: fix nsfd startup race triggering BUG_ON"). Restore the order of register_pernet_subsys() vs register_cld_notifier(). Add WARN_ON() to prevent a future regression. Crash info: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000012 CPU: 8 PID: 345 Comm: mount Not tainted 5.4.144-... #1 pc : rpc_pipefs_event+0x54/0x120 [nfsd] lr : rpc_pipefs_event+0x48/0x120 [nfsd] Call trace: rpc_pipefs_event+0x54/0x120 [nfsd] blocking_notifier_call_chain rpc_fill_super get_tree_keyed rpc_fs_get_tree vfs_get_tree do_mount ksys_mount __arm64_sys_mount el0_svc_handler el0_svc

Scores

CVSS v3 4.7
EPSS 0.0019
EPSS Percentile 8.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-362
Status published
Products (16)
Linux/Linux < 5.12
Linux/Linux 4d41f65efeec0a6da6088341203c81e49ebfcd90
Linux/Linux 5.10.20 - 5.10.85
Linux/Linux 5.10.85 - 5.10.*
Linux/Linux 5.11.3 - 5.12
Linux/Linux 5.12
Linux/Linux 5.15.8 - 5.15.*
Linux/Linux 5.16
Linux/Linux 5.4.102 - 5.4.165
Linux/Linux 5.4.165 - 5.4.*
... and 6 more
Published May 24, 2024
Tracked Since Feb 18, 2026