CVEvulnerability

CVE-2026-31454

7.8 HIGH Published 2026-04-22 Modified 2026-10-19 Official page ↗
Status
Modified
Published
2026-04-22
Last modified
2026-10-19
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-416

Description

In the Linux kernel, the following vulnerability has been resolved: xfs: save ailp before dropping the AIL lock in push callbacks In xfs_inode_item_push() and xfs_qm_dquot_logitem_push(), the AIL lock is dropped to perform buffer IO. Once the cluster buffer no longer protects the log item from reclaim, the log item may be freed by background reclaim or the dquot shrinker. The subsequent spin_lock() call dereferences lip->li_ailp, which is a use-after-free. Fix this by saving the ailp pointer in a local variable while the AIL lock is held and the log item is guaranteed to be valid.

Affected configurations

• linux linux kernel (>= 5.9 < 5.10.253) • linux linux kernel (>= 5.11 < 5.15.203) • linux linux kernel (>= 5.16 < 6.1.168) • linux linux kernel (>= 6.2 < 6.6.131) • linux linux kernel (>= 6.7 < 6.12.80) • linux linux kernel (>= 6.13 < 6.18.21) • linux linux kernel (>= 6.19 < 6.19.11) • linux linux kernel 7.0

Related

Weakness · CWE (1)

References