dma-buf: Fix NULL pointer dereference in sanitycheck() (Linux Linux)

CVE-2024-35916
MEDIUM 5.3

En bref

Source
NVD
EPSS
EPSS 0.64 % · centile 50 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: dma-buf: Fix NULL pointer dereference in sanitycheck() If due to a memory allocation failure mock_chain() returns NULL, it is passed to dma_fence_enable_sw_signaling() resulting in NULL pointer dereference there. Call dma_fence_enable_sw_signaling() only if mock_chain() succeeds. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Faiblesses (CWE)

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

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LCISA-ADP
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected d62c43a953ce02d54521ec06217d0c2ed6d489af < 0336995512cdab0c65e99e4cdd47c4606debe14e ; affected d62c43a953ce02d54521ec06217d0c2ed6d489af < 156c226cbbdcf5f3bce7b2408a33b59fab7fae2c ; affected d62c43a953ce02d54521ec06217d0c2ed6d489af < eabf131cba1db12005a68378305f13b9090a7a6b ; affected d62c43a953ce02d54521ec06217d0c2ed6d489af < 2295bd846765c766701e666ed2e4b35396be25e6
Linux · Linuxaffected 6.1 ; unaffected 0 < 6.1 ; unaffected 6.1.85 ≤ 6.1.* ; unaffected 6.6.26 ≤ 6.6.* ; unaffected 6.8.5 ≤ 6.8.* ; unaffected 6.9 ≤ *

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