tracing: Fix subbuf resize races with trace_pipe_raw readers (Linux Linux)

CVE-2026-98032
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: tracing: Fix subbuf resize races with trace_pipe_raw readers Concurrent subbuffer resizes may crash trace_pipe_raw readers or leak uninitialized memory to userspace due to stale size values. Modify ring_buffer_alloc_read_page() to handle the resizing of an existing buffer_data_read_page if necessary and add a new ring_buffer_read_page_size(). This new function enables ring-buffer buffer_data_read_page users to not call the racy ring_buffer_subbuf_size_get(). This makes the spare_size member of ftrace_buffer_info redundant. Finally, handle buffer_data_read_page/reader_page order discrepancy in ring_buffer_read_page(). On a mismatch simply copy manually the data to the buffer_data_read_page.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ bce761d757452ba5eb77e11fecc37a04b67494e7 < 574efd988d116bd56ac688ab2d64e06ba0da982a
affectée : ≥ bce761d757452ba5eb77e11fecc37a04b67494e7 < 3f30b2cd4eba45c05f822f03f1b0f4077d6d4dc3
affectée : ≥ bce761d757452ba5eb77e11fecc37a04b67494e7 < 75b37b8369778b69ce9738d1c97685a1615cb252
affectée : ≥ bce761d757452ba5eb77e11fecc37a04b67494e7 < dae8dda341d2d9034a90d59e8a7d502e1263813f
Autres versions : non affectée
Linux · Linux
affectée : 6.8
non affectée : ≥ 0 < 6.8
non affectée : ≥ 6.12.114 ≤ 6.12.*
non affectée : ≥ 6.18.57 ≤ 6.18.*
non affectée : ≥ 7.2.7 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

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