nvmet-tcp: fix kernel crash if commands allocation fails (Linux Linux)

CVE-2024-46737
HIGH 7.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: fix kernel crash if commands allocation fails If the commands allocation fails in nvmet_tcp_alloc_cmds() the kernel crashes in nvmet_tcp_release_queue_work() because of a NULL pointer dereference. nvmet: failed to install queue 0 cntlid 1 ret 6 Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 Fix the bug by setting queue->nr_cmds to zero in case nvmet_tcp_alloc_cmd() fails.

Faiblesses (CWE)

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

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
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 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 03e1fd0327fa5e2174567f5fe9290fe21d21b8f4 ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 50632b877ce55356f5d276b9add289b1e7ddc683 ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 91dad30c5607e62864f888e735d0965567827bdf ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 7957c731fc2b23312f8935812dee5a0b14b04e2d ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 489f2913a63f528cfe3f21722583fb981967ecda ; affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 < 6c04d1e3ab22cc5394ef656429638a5947f87244
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.4.284 ≤ 5.4.* ; unaffected 5.10.226 ≤ 5.10.* ; unaffected 5.15.167 ≤ 5.15.* ; unaffected 6.1.110 ≤ 6.1.*

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