flex_proportions: make fprop_new_period() hardirq safe (Linux Linux)

CVE-2026-23168
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: flex_proportions: make fprop_new_period() hardirq safe Bernd has reported a lockdep splat from flexible proportions code that is essentially complaining about the following race: <timer fires> run_timer_softirq - we are in softirq context call_timer_fn writeout_period fprop_new_period write_seqcount_begin(&p->sequence); <hardirq is raised> ... blk_mq_end_request() blk_update_request() ext4_end_bio() folio_end_writeback() __wb_writeout_add() __fprop_add_percpu_max() if (unlikely(max_frac < FPROP_FRAC_BASE)) { fprop_fraction_percpu() seq = read_seqcount_begin(&p->sequence); - sees odd sequence so loops indefinitely Note that a deadlock like this is only possible if the bdi has configured maximum fraction of writeout throughput which is very rare in general but frequent for example for FUSE bdis. To fix this problem we have to make sure write section of the sequence counter is irqsafe.

Références

Scores

VersionScoreVecteurÉvalué par
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 a91befde350375b1ff954635acdde14dc92cd9a8 < 0acc9ba7a1b5ba4d998c5753e709be904e179b75 ; affected a91befde350375b1ff954635acdde14dc92cd9a8 < 884b2590ffcc7222cbbd6298051f4c243cc36f5d ; affected a91befde350375b1ff954635acdde14dc92cd9a8 < 78ede9ebd679dadf480dce6f7b798e3603f88348 ; affected a91befde350375b1ff954635acdde14dc92cd9a8 < b91a84299d72ae0e05551e851e47cd3008bd025b ; affected a91befde350375b1ff954635acdde14dc92cd9a8 < dd9e2f5b38f1fdd49b1ab6d3a85f81c14369eacc
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.162 ≤ 6.1.* ; unaffected 6.6.123 ≤ 6.6.* ; unaffected 6.12.69 ≤ 6.12.* ; unaffected 6.18.9 ≤ 6.18.*

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