CVE-2023-54140

Vulnérabilité élevée dans Linux (Linux)

CVSS 7.8 · Élevée
EPSS 0.2%
Linux•Linux•Versions : <=6.1.*, <99a73016a5e12a09586a96f998e91f9ea145cd00, <4da07e958bfda2d69d83db105780e8916e3ac02e, 0, 8c26c4e2694a163d525976e804d81cd955bbb40c, 5.15.131, <f1d637b63d8a27ac3386f186a694907f2717fc13, <473795610594f261e98920f0945550314df36f07, 4.19.295, <3.10, <=5.10.*, <=4.14.*, 6.1.52, 5.4.257, <46c11be2dca295742a5508ea910a77f7733fb7f4, 6.6, <cdaac8e7e5a059f9b5e816cda257f08d0abffacd, <=5.4.*, <=4.19.*, <b308b3eabc429649b5501d36290cea403fbd746c, <b911bef132a06de01a745c6a24172d6db7216333, 5.10.195, <=*, <=5.15.*, <d95e403588738c7ec38f52b9f490b15e7745d393, 3.10, <=6.5.*, 4.14.326, 6.5.2, 6.4.15, <=6.4.*

Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix WARNING in mark_buffer_dirty due to discarded buffer reuse A syzbot stress test using a corrupted disk image reported that mark_buffer_dirty() called from __nilfs_mark_inode_dirty() or nilfs_palloc_commit_alloc_entry() may output a kernel warning, and can panic if the kernel is booted with panic_on_warn. This is because nilfs2 keeps buffer pointers in local structures for some metadata and reuses them, but such buffers may be forcibly discarded by nilfs_clear_dirty_page() in some critical situations. This issue is reported to appear after commit 28a65b49eb53 ("nilfs2: do not write dirty data after degenerating to read-only"), but the issue has potentially existed before. Fix this issue by checking the uptodate flag when attempting to reuse an internally held buffer, and reloading the metadata instead of reusing the buffer if the flag was lost.

Gravité et risque d'exploitation

CVE-2023-54140 obtient un score CVSS de 7.8/10, soit une gravité élevée. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.16 %, ce qui la place devant 4.9 % des CVE référencées.

Que faire ?

  • Vérifiez si Linux (versions <=6.1.*, <99a73016a5e12a09586a96f998e91f9ea145cd00, <4da07e958bfda2d69d83db105780e8916e3ac02e, 0, 8c26c4e2694a163d525976e804d81cd955bbb40c, 5.15.131, <f1d637b63d8a27ac3386f186a694907f2717fc13, <473795610594f261e98920f0945550314df36f07, 4.19.295, <3.10, <=5.10.*, <=4.14.*, 6.1.52, 5.4.257, <46c11be2dca295742a5508ea910a77f7733fb7f4, 6.6, <cdaac8e7e5a059f9b5e816cda257f08d0abffacd, <=5.4.*, <=4.19.*, <b308b3eabc429649b5501d36290cea403fbd746c, <b911bef132a06de01a745c6a24172d6db7216333, 5.10.195, <=*, <=5.15.*, <d95e403588738c7ec38f52b9f490b15e7745d393, 3.10, <=6.5.*, 4.14.326, 6.5.2, 6.4.15, <=6.4.*) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références