CVE-2026-31453
JSON

7.8high

xfs: avoid dereferencing log items after push callbacks

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.18% (higher than 5% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: xfs: avoid dereferencing log items after push callbacks After xfsaild_push_item() calls iop_push(), the log item may have been freed if the AIL lock was dropped during the push. Background inode reclaim or the dquot shrinker can free the log item while the AIL lock is not held, and the tracepoints in the switch statement dereference the log item after iop_push() returns. Fix this by capturing the log item type, flags, and LSN before calling xfsaild_push_item(), and introducing a new xfs_ail_push_class trace event class that takes these pre-captured values and the ailp pointer instead of the log item pointer.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 90c60e16401248a4900f3f9387f563d0178dcf34 before c8a2ab339b88d10fc34a3318c92f07d8a467019d, from 90c60e16401248a4900f3f9387f563d0178dcf34 before 7121b22b0bac89394cc4c6a54b5aebc15347bdf5, from 90c60e16401248a4900f3f9387f563d0178dcf34 before c4d603e8e58a3bf35480135ccca2b4f7238abda5, from 90c60e16401248a4900f3f9387f563d0178dcf34 before 95fb5d643cc70959baa54cd17f52f80ffc3295e7, from 90c60e16401248a4900f3f9387f563d0178dcf34 before 451c6329d9afa45862c36fe6677eb7750db60617, from 90c60e16401248a4900f3f9387f563d0178dcf34 before 79ef34ec0554ec04bdbafafbc9836423734e1bd6, 5.9
Not affected: before 5.9, from 6.1.168 up to 6.1.*, from 6.6.131 up to 6.6.*, from 6.12.80 up to 6.12.*, from 6.18.21 up to 6.18.*, from 6.19.11 up to 6.19.*
CVE List
linux linux_kernelfrom 5.9 before 6.1.168, from 6.2 before 6.6.131, from 6.7 before 6.12.80, from 6.13 before 6.18.21, from 6.19 before 6.19.11, 7.0NVD

Classification

CWE-416CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: xfs: avoid dereferencing log items after push callbacks After xfsaild_push_item() calls iop_push(), the log item may have been freed if the AIL lock was dropped during the push. Background inode reclaim or the dquot shrinker can free the log item while the AIL lock is not held, and the tracepoints in the switch statement dereference the log item after iop_push() returns. Fix this by capturing the log item type, flags, and LSN before calling xfsaild_push_item(), and introducing a new xfs_ail_push_class trace event class that takes these pre-captured values and the ailp pointer instead of the log item pointer.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: xfs: evitar la desreferenciación de elementos de registro después de las devoluciones de llamada de ’push’ Después de que xfsaild_push_item() llama a iop_push(), el elemento de registro puede haber sido liberado si el bloqueo AIL se liberó durante el ’push’. La recuperación de inodos en segundo plano o el reductor de dquot pueden liberar el elemento de registro mientras el bloqueo AIL no está retenido, y los puntos de rastreo en la instrucción ’switch’ desreferencian el elemento de registro después de que iop_push() regresa. Esto se soluciona capturando el tipo de elemento de registro, las banderas y el LSN antes de llamar a xfsaild_push_item(), e introduciendo una nueva clase de evento de rastreo xfs_ail_push_class que toma estos valores pre-capturados y el puntero ailp en lugar del puntero del elemento de registro.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31453 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-31453 changed 2026-11-11Public domain