CVE-2021-47507
published 2024-05-24CVE-2021-47507: In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix nsfd startup race (again) Commit bd5ae9288d64 ("nfsd: register pernet ops last…
PriorityP416medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
EPSS
0.19%
8.5th percentile
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
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.15.15-1 (bookworm) | linux 5.15.15-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | — | — |
| linux | linux | >= 5.10.20 < 5.10.85 | 5.10.85 |
| linux | linux | >= 5.11.3 < 5.12 | 5.12 |
| linux | linux | >= 5.4.102 < 5.4.165 | 5.4.165 |
| linux | linux | >= 7c7cb07d4affcf41749234fe9dc4d90cd3959e32 < c520943a00ad5015704969ad3304c956bcd49d25 | c520943a00ad5015704969ad3304c956bcd49d25 |
| linux | linux | >= 8677e99150b0830d29cc1318b4cc559e176940bb < f5734b1714ca355703e9ea8fb61d04beff1790b9 | f5734b1714ca355703e9ea8fb61d04beff1790b9 |
| linux | linux | >= bd5ae9288d6451bd346a1b4a59d4fe7e62ba29b7 < 8bf902fee5893cfc2f04a698abab47629699ae9a | 8bf902fee5893cfc2f04a698abab47629699ae9a |
| linux | linux | >= bd5ae9288d6451bd346a1b4a59d4fe7e62ba29b7 < b10252c7ae9c9d7c90552f88b544a44ee773af64 | b10252c7ae9c9d7c90552f88b544a44ee773af64 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.92-1 | 5.10.92-1 |
| linux | linux_kernel | >= 0 < 5.15.15-1 | 5.15.15-1 |
| linux | linux_kernel | >= 0 < 5.15.15-1 | 5.15.15-1 |
| linux | linux_kernel | >= 0 < 5.15.15-1 | 5.15.15-1 |
| linux | linux_kernel | >= 5.10.20 < 5.10.85 | 5.10.85 |
| linux | linux_kernel | >= 5.11.3 < 5.15.8 | 5.15.8 |
| linux | linux_kernel | >= 5.4.102 < 5.4.165 | 5.4.165 |
CVSS provenance
nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv4.7MEDIUM
vendor_debian4.7MEDIUM
vendor_redhat4.7MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: nfsd: Fix nsfd startup race (again)
vendor_redhat·2024-05-24·CVSS 4.7
CVE-2021-47507 [MEDIUM] CWE-476 kernel: nfsd: Fix nsfd startup race (again)
kernel: nfsd: Fix nsfd startup race (again)
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
Debian
CVE-2021-47507: linux - In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix n...
vendor_debian·2021·CVSS 4.7
CVE-2021-47507 [MEDIUM] CVE-2021-47507: linux - In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix n...
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 rp
OSV
CVE-2021-47507: In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix nsfd startup race (again) Commit bd5ae9288d64 ("nfsd: register pernet op
osv·2024-05-24·CVSS 4.7
CVE-2021-47507 [MEDIUM] CVE-2021-47507: In the Linux kernel, the following vulnerability has been resolved: nfsd: Fix nsfd startup race (again) Commit bd5ae9288d64 ("nfsd: register pernet op
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 rp
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/8bf902fee5893cfc2f04a698abab47629699ae9ahttps://git.kernel.org/stable/c/b10252c7ae9c9d7c90552f88b544a44ee773af64https://git.kernel.org/stable/c/c520943a00ad5015704969ad3304c956bcd49d25https://git.kernel.org/stable/c/f5734b1714ca355703e9ea8fb61d04beff1790b9https://git.kernel.org/stable/c/8bf902fee5893cfc2f04a698abab47629699ae9ahttps://git.kernel.org/stable/c/b10252c7ae9c9d7c90552f88b544a44ee773af64https://git.kernel.org/stable/c/c520943a00ad5015704969ad3304c956bcd49d25https://git.kernel.org/stable/c/f5734b1714ca355703e9ea8fb61d04beff1790b9
2024-05-24
Published