{
  "id": "CVE-2026-31454",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31454",
  "published_at": "2026-04-22T13:53:48.242Z",
  "title": "xfs: save ailp before dropping the AIL lock in push callbacks",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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-\u003eli_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.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 90c60e16401248a4900f3f9387f563d0178dcf34, \u003c edd1637d4e3911ab6c760f553f2040fe72f61a13",
          "\u003e= 90c60e16401248a4900f3f9387f563d0178dcf34, \u003c 19437e4f7bb909afde832b39372aa2f3ce3cfd88",
          "\u003e= 90c60e16401248a4900f3f9387f563d0178dcf34, \u003c 6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5",
          "\u003e= 90c60e16401248a4900f3f9387f563d0178dcf34, \u003c 75669e987137f49c99ca44406bf0200d1892dd16",
          "\u003e= 90c60e16401248a4900f3f9387f563d0178dcf34, \u003c d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d",
          "\u003e= 90c60e16401248a4900f3f9387f563d0178dcf34, \u003c 50f5f056807b7bed74f4f307f2ca0ed92f3e556d",
          "\u003e= 90c60e16401248a4900f3f9387f563d0178dcf34, \u003c 4c7d50147316cf049462f327c4a3e9dc2b7f1dd0",
          "\u003e= 90c60e16401248a4900f3f9387f563d0178dcf34, \u003c 394d70b86fae9fe865e7e6d9540b7696f73aa9b6"
        ],
        "fixed_in": [
          "edd1637d4e3911ab6c760f553f2040fe72f61a13",
          "19437e4f7bb909afde832b39372aa2f3ce3cfd88",
          "6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5",
          "75669e987137f49c99ca44406bf0200d1892dd16",
          "d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d",
          "50f5f056807b7bed74f4f307f2ca0ed92f3e556d",
          "4c7d50147316cf049462f327c4a3e9dc2b7f1dd0",
          "394d70b86fae9fe865e7e6d9540b7696f73aa9b6"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.9"
        ],
        "fixed_in": [
          "0",
          "5.10.253",
          "5.15.203",
          "6.1.168",
          "6.6.131",
          "6.12.80",
          "6.18.21",
          "6.19.11",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to edd1637d4e3911ab6c760f553f2040fe72f61a13 or 19437e4f7bb909afde832b39372aa2f3ce3cfd88 or 6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5 or 75669e987137f49c99ca44406bf0200d1892dd16 or d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d or 50f5f056807b7bed74f4f307f2ca0ed92f3e556d or 4c7d50147316cf049462f327c4a3e9dc2b7f1dd0 or 394d70b86fae9fe865e7e6d9540b7696f73aa9b6 or later.",
      "Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.168 or 6.6.131 or 6.12.80 or 6.18.21 or 6.19.11 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
