{"id":"CVE-2026-31454","aliases":["CVE-2026-31454"],"related":[],"kind":"vulnerability","state":"published","title":"xfs: save ailp before dropping the AIL lock in push callbacks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: save ailp before dropping the AIL lock in push callbacks\n\nIn xfs_inode_item_push() and xfs_qm_dquot_logitem_push(), the AIL lock\nis dropped to perform buffer IO. Once the cluster buffer no longer\nprotects the log item from reclaim, the log item may be freed by\nbackground reclaim or the dquot shrinker. The subsequent spin_lock()\ncall dereferences lip->li_ailp, which is a use-after-free.\n\nFix this by saving the ailp pointer in a local variable while the AIL\nlock is held and the log item is guaranteed to be valid.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: save ailp before dropping the AIL lock in push callbacks\n\nIn xfs_inode_item_push() and xfs_qm_dquot_logitem_push(), the AIL lock\nis dropped to perform buffer IO. Once the cluster buffer no longer\nprotects the log item from reclaim, the log item may be freed by\nbackground reclaim or the dquot shrinker. The subsequent spin_lock()\ncall dereferences lip->li_ailp, which is a use-after-free.\n\nFix this by saving the ailp pointer in a local variable while the AIL\nlock is held and the log item is guaranteed to be valid.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nxfs: guardar ailp antes de liberar el bloqueo AIL en las retrollamadas de ’push’\n\nEn xfs_inode_item_push() y xfs_qm_dquot_logitem_push(), el bloqueo AIL es liberado para realizar E/S de búfer. Una vez que el búfer de clúster ya no protege el elemento de registro de la reclamación, el elemento de registro puede ser liberado por la reclamación en segundo plano o el ’shrinker’ de dquot. La llamada subsiguiente a spin_lock() desreferencia lip  ->  li_ailp, lo cual es un uso después de liberación.\n\nSolucionar esto guardando el puntero ailp en una variable local mientras el bloqueo AIL está retenido y se garantiza que el elemento de registro es válido.","source":"nvd"}],"published":"2026-04-22T13:53:48.242Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"90c60e16401248a4900f3f9387f563d0178dcf34","fixed":"edd1637d4e3911ab6c760f553f2040fe72f61a13","status":"affected"},{"type":"git","introduced":"90c60e16401248a4900f3f9387f563d0178dcf34","fixed":"19437e4f7bb909afde832b39372aa2f3ce3cfd88","status":"affected"},{"type":"git","introduced":"90c60e16401248a4900f3f9387f563d0178dcf34","fixed":"6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5","status":"affected"},{"type":"git","introduced":"90c60e16401248a4900f3f9387f563d0178dcf34","fixed":"75669e987137f49c99ca44406bf0200d1892dd16","status":"affected"},{"type":"git","introduced":"90c60e16401248a4900f3f9387f563d0178dcf34","fixed":"d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d","status":"affected"},{"type":"git","introduced":"90c60e16401248a4900f3f9387f563d0178dcf34","fixed":"50f5f056807b7bed74f4f307f2ca0ed92f3e556d","status":"affected"},{"type":"git","introduced":"90c60e16401248a4900f3f9387f563d0178dcf34","fixed":"4c7d50147316cf049462f327c4a3e9dc2b7f1dd0","status":"affected"},{"type":"git","introduced":"90c60e16401248a4900f3f9387f563d0178dcf34","fixed":"394d70b86fae9fe865e7e6d9540b7696f73aa9b6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.9","status":"unaffected"},{"type":"semver","introduced":"5.10.253","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.203","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.168","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.131","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.80","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.21","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.11","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.9","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.168"},{"status":"affected","introduced":"6.2","fixed":"6.6.131"},{"status":"affected","introduced":"6.7","fixed":"6.12.80"},{"status":"affected","introduced":"6.13","fixed":"6.18.21"},{"status":"affected","introduced":"6.19","fixed":"6.19.11"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/edd1637d4e3911ab6c760f553f2040fe72f61a13","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/19437e4f7bb909afde832b39372aa2f3ce3cfd88","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75669e987137f49c99ca44406bf0200d1892dd16","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50f5f056807b7bed74f4f307f2ca0ed92f3e556d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c7d50147316cf049462f327c4a3e9dc2b7f1dd0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/394d70b86fae9fe865e7e6d9540b7696f73aa9b6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:09:39.757Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31454","url":"https://www.cve.org/CVERecord?id=CVE-2026-31454","licence":"CVE Terms of Use","modified":"2026-10-19T18:35:49.366Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31454","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31454","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.270Z","epss":{"score":0.00131,"percentile":0.02904,"date":"2026-12-01T12:00:22.000Z"}}