{
  "id": "CVE-2026-31552",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-31552",
  "published_at": "2026-04-24T14:33:19.065Z",
  "title": "wifi: wlcore: Return -ENOMEM instead of -EAGAIN if there is not enough headroom",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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\nwifi: wlcore: Return -ENOMEM instead of -EAGAIN if there is not enough headroom\n\nSince upstream commit e75665dd0968 (\"wifi: wlcore: ensure skb headroom\nbefore skb_push\"), wl1271_tx_allocate() and with it\nwl1271_prepare_tx_frame() returns -EAGAIN if pskb_expand_head() fails.\nHowever, in wlcore_tx_work_locked(), a return value of -EAGAIN from\nwl1271_prepare_tx_frame() is interpreted as the aggregation buffer being\nfull. This causes the code to flush the buffer, put the skb back at the\nhead of the queue, and immediately retry the same skb in a tight while\nloop.\n\nBecause wlcore_tx_work_locked() holds wl-\u003emutex, and the retry happens\nimmediately with GFP_ATOMIC, this will result in an infinite loop and a\nCPU soft lockup. Return -ENOMEM instead so the packet is dropped and\nthe loop terminates.\n\nThe problem was found by an experimental code review agent based on\ngemini-3.1-pro while reviewing backports into v6.18.y.",
  "cwe": "CWE-835",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.19:-:*:*:*:*:*:*",
    "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:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 88295a55fefe5414e64293638b6f7549646e58ed, \u003c 980f793645540ca7a6318165cc12f49d5febeb99",
          "\u003e= cd89a4656c03f8db0c57350aaec69cd3cfaa3522, \u003c 12f9eef39e49716c763714bfda835a733d5f6dea",
          "\u003e= 745a0810dbc96a0471e5f5e627ba1e978c3116d4, \u003c ceb46b40b021d21911ff8608ce4ed33c1264ad2f",
          "\u003e= b167312390fdd461c81ead516f2b0b44e83a9edb, \u003c a6dc74209462c4fe5a88718d2f3a5286886081c8",
          "\u003e= 71de0b6e04bbee5575caf9a1e4d424e7dcc50018, \u003c cfa64e2b3717be1da7c4c1aff7268a009e8c1610",
          "\u003e= 689a7980e4788e13e766763d53569fb78dea2513, \u003c 46c670ff1ff466e5eccb3940f726586473dc053c",
          "\u003e= e75665dd096819b1184087ba5718bd93beafff51, \u003c f2c06d718a7b85cbc59ceaa2ff3f46b178ac709c",
          "\u003e= e75665dd096819b1184087ba5718bd93beafff51, \u003c deb353d9bb009638b7762cae2d0b6e8fdbb41a69",
          "\u003e= 5.10.250, \u003c 5.10.253",
          "\u003e= 5.15.200, \u003c 5.15.203",
          "\u003e= 6.1.163, \u003c 6.1.167",
          "\u003e= 6.6.124, \u003c 6.6.130",
          "\u003e= 6.12.70, \u003c 6.12.78",
          "\u003e= 6.18.10, \u003c 6.18.20"
        ],
        "fixed_in": [
          "980f793645540ca7a6318165cc12f49d5febeb99",
          "12f9eef39e49716c763714bfda835a733d5f6dea",
          "ceb46b40b021d21911ff8608ce4ed33c1264ad2f",
          "a6dc74209462c4fe5a88718d2f3a5286886081c8",
          "cfa64e2b3717be1da7c4c1aff7268a009e8c1610",
          "46c670ff1ff466e5eccb3940f726586473dc053c",
          "f2c06d718a7b85cbc59ceaa2ff3f46b178ac709c",
          "deb353d9bb009638b7762cae2d0b6e8fdbb41a69",
          "5.10.253",
          "5.15.203",
          "6.1.167",
          "6.6.130",
          "6.12.78",
          "6.18.20"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.19"
        ],
        "fixed_in": [
          "0",
          "5.10.253",
          "5.15.203",
          "6.1.167",
          "6.6.130",
          "6.12.78",
          "6.18.20",
          "6.19.10",
          "7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 980f793645540ca7a6318165cc12f49d5febeb99 or 12f9eef39e49716c763714bfda835a733d5f6dea or ceb46b40b021d21911ff8608ce4ed33c1264ad2f or a6dc74209462c4fe5a88718d2f3a5286886081c8 or cfa64e2b3717be1da7c4c1aff7268a009e8c1610 or 46c670ff1ff466e5eccb3940f726586473dc053c or f2c06d718a7b85cbc59ceaa2ff3f46b178ac709c or deb353d9bb009638b7762cae2d0b6e8fdbb41a69 or 5.10.253 or 5.15.203 or 6.1.167 or 6.6.130 or 6.12.78 or 6.18.20 or later.",
      "Upgrade Linux to 0 or 5.10.253 or 5.15.203 or 6.1.167 or 6.6.130 or 6.12.78 or 6.18.20 or 6.19.10 or 7.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
