1. Accueil
  2. Vulnérabilités
  3. CVE-2023-53458

CVE-2023-53458

media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish()

Publiée le 1 oct. 2025 · modifiée le 5 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 24/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: media: cx23885: Fix a null-ptr-deref bug in buffer_prepare() and buffer_finish() When the driver calls cx23885_risc_buffer() to prepare the buffer, the function call dma_alloc_coherent may fail, resulting in a empty buffer risc->cpu. Later when we free the buffer or access the buffer, null ptr deref is triggered. This bug is similar to the following one: https://git.linuxtv.org/media_stage.git/commit/?id=2b064d91440b33fba5b452f2d1b31f13ae911d71. We believe the bug can be also dynamically triggered from user side. Similarly, we fix this by checking the return value of cx23885_risc_buffer() and the value of risc->cpu before buffer free.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (4 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 3.18 — CNA (éditeur ou attributeur)
Linux kernel de 3.18 (inclus) à 5.15.113 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.30 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.3.4 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-476 · Corruption mémoire

Comment sont obtenues et calculées ces données