ocfs2: fix buffer head management in ocfs2_read_blocks() (Linux Linux)

CVE-2026-80881
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix buffer head management in ocfs2_read_blocks() In ocfs2_read_blocks(), caller should't assume that buffer head returned by 'sb_getblk()' is exclusively owned and so 'put_bh()' always drops b_count from 1 to 0. If it is not so, buffer head remains on hold and likely to be returned by the next call to 'sb_getblk()' unchanged - that is, with BH_Uptodate bit set even if it has failed validation previously, thus allowing to insert that buffer head into OCFS2 metadata cache and submit it to upper layers. To avoid such a scenario, BH_Uptodate should be cleared immediately after 'validate()' callback has detected some data inconsistency.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected cf76c78595ca87548ca5e45c862ac9e0949c4687 < a4eae1499c760949a93459d11390bd1fd823d31d ; affected cf76c78595ca87548ca5e45c862ac9e0949c4687 < 4ab17e328522a4df5fe0f0dcf39098118b1feeaa ; affected cf76c78595ca87548ca5e45c862ac9e0949c4687 < 5927acb3e2c99985a14adecd9d1b67ba191c622d ; affected cf76c78595ca87548ca5e45c862ac9e0949c4687 < ecb3f9386f4353034caef77239473c627232db17 ; affected cf76c78595ca87548ca5e45c862ac9e0949c4687 < 61f7a5acb3bf8fc97dad78f54b1e8d0e1c819766 ; affected cf76c78595ca87548ca5e45c862ac9e0949c4687 < 0e389fc290c350c67591abf4c367119f4689f310
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

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