scsi: myrs: Fix crash in error case (Linux Linux)

CVE-2022-48824
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: myrs: Fix crash in error case In myrs_detect(), cs->disable_intr is NULL when privdata->hw_init() fails with non-zero. In this case, myrs_cleanup(cs) will call a NULL ptr and crash the kernel. [ 1.105606] myrs 0000:00:03.0: Unknown Initialization Error 5A [ 1.105872] myrs 0000:00:03.0: Failed to initialize Controller [ 1.106082] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 1.110774] Call Trace: [ 1.110950] myrs_cleanup+0xe4/0x150 [myrs] [ 1.111135] myrs_probe.cold+0x91/0x56a [myrs] [ 1.111302] ? DAC960_GEM_intr_handler+0x1f0/0x1f0 [myrs] [ 1.111500] local_pci_probe+0x48/0x90

Faiblesses (CWE)

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

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/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 77266186397c6c782a3f670d32808a9671806ec5 < 5c5ceea00c8c9df150708e66cb9f2891192c1162 ; affected 77266186397c6c782a3f670d32808a9671806ec5 < 0e42c4a3d732517edc3766dd45a14e60d29dd929 ; affected 77266186397c6c782a3f670d32808a9671806ec5 < 6207f35c213f6cb2fc3f13b5e77f08c710e1de19 ; affected 77266186397c6c782a3f670d32808a9671806ec5 < 1d6cd26605b4d662063a83c15c776b5299a1cb23 ; affected 77266186397c6c782a3f670d32808a9671806ec5 < 4db09593af0b0b4d7d4805ebb3273df51d7cc30d
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.4.180 ≤ 5.4.* ; unaffected 5.10.101 ≤ 5.10.* ; unaffected 5.15.24 ≤ 5.15.* ; unaffected 5.16.10 ≤ 5.16.*

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