nfsd: Fix nsfd startup race (again) (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.19 % · centile 8 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Analyzed
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
Faiblesses (CWE)
- CWE-362 — Situation de compétition
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2021-34511
- GCVE · GCVE-0-2021-47507
Avis du CERT-FR
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0496 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.4.102 < 5.4.165cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.10.20 < 5.10.85cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11.3 < 5.15.8cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.16:rc4:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 8677e99150b0830d29cc1318b4cc559e176940bb < f5734b1714ca355703e9ea8fb61d04beff1790b9 ; affected 7c7cb07d4affcf41749234fe9dc4d90cd3959e32 < c520943a00ad5015704969ad3304c956bcd49d25 ; affected bd5ae9288d6451bd346a1b4a59d4fe7e62ba29b7 < 8bf902fee5893cfc2f04a698abab47629699ae9a ; affected bd5ae9288d6451bd346a1b4a59d4fe7e62ba29b7 < b10252c7ae9c9d7c90552f88b544a44ee773af64 ; affected 4d41f65efeec0a6da6088341203c81e49ebfcd90 ; affected 5.4.102 < 5.4.165 |
| Linux · Linux | affected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.4.165 ≤ 5.4.* ; unaffected 5.10.85 ≤ 5.10.* ; unaffected 5.15.8 ≤ 5.15.* ; unaffected 5.16 ≤ * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |