SUNRPC: lock against ->sock changing during sysfs read (Linux Linux)

CVE-2022-48816
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.29 % · centile 21 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: SUNRPC: lock against ->sock changing during sysfs read ->sock can be set to NULL asynchronously unless ->recv_mutex is held. So it is important to hold that mutex. Otherwise a sysfs read can trigger an oops. Commit 17f09d3f619a ("SUNRPC: Check if the xprt is connected before handling sysfs reads") appears to attempt to fix this problem, but it only narrows the race window.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 21a2be1a5145d072deedc7cdc5b2d17380abea75 < cd366b9091a3e6ed8229e4b908e895d20b527dc0 ; affected a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 < fdc42287ae3f8a35cc2098307f52d7864b4bc8ed ; affected a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 < 9482ab4540f5bcc869b44c067ae99b5fca16bd07 ; affected a8482488a7d6d320f63a9ee1912dbb5ae5b80a61 < b49ea673e119f59c71645e2f65b3ccad857c90ee ; affected 77876473912d1bf1ed16bffa1674e5ff0f499f25 ; affected 5.10.67 < 5.10.271
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 5.16.10 ≤ 5.16.* ; unaffected 5.17 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD