CVE-2026-23463 (GCVE-0-2026-23463)

Vulnerability from cvelistv5 – Published: 2026-04-03 15:15 – Updated: 2026-04-03 15:15
VLAI?
Title
soc: fsl: qbman: fix race condition in qman_destroy_fq
Summary
In the Linux kernel, the following vulnerability has been resolved: soc: fsl: qbman: fix race condition in qman_destroy_fq When QMAN_FQ_FLAG_DYNAMIC_FQID is set, there's a race condition between fq_table[fq->idx] state and freeing/allocating from the pool and WARN_ON(fq_table[fq->idx]) in qman_create_fq() gets triggered. Indeed, we can have: Thread A Thread B qman_destroy_fq() qman_create_fq() qman_release_fqid() qman_shutdown_fq() gen_pool_free() -- At this point, the fqid is available again -- qman_alloc_fqid() -- so, we can get the just-freed fqid in thread B -- fq->fqid = fqid; fq->idx = fqid * 2; WARN_ON(fq_table[fq->idx]); fq_table[fq->idx] = fq; fq_table[fq->idx] = NULL; And adding some logs between qman_release_fqid() and fq_table[fq->idx] = NULL makes the WARN_ON() trigger a lot more. To prevent that, ensure that fq_table[fq->idx] is set to NULL before gen_pool_free() is called by using smp_wmb().
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: c535e923bb97a4b361e89a6383693482057f8b0c , < 9e3d47904b8153c8c3ad2f9b66d5008aad677aa8 (git)
Affected: c535e923bb97a4b361e89a6383693482057f8b0c , < d21923a8059fa896bfef016f55dd769299335cb4 (git)
Affected: c535e923bb97a4b361e89a6383693482057f8b0c , < 751f60bd48edaf03f9d84ab09e5ce6705757d50f (git)
Affected: c535e923bb97a4b361e89a6383693482057f8b0c , < 85dbbf7dc88b0a54f2e334daedf6f3f31fd004fa (git)
Affected: c535e923bb97a4b361e89a6383693482057f8b0c , < 265e56714635c5dd1e5964bfd97fa6e73f62cde5 (git)
Affected: c535e923bb97a4b361e89a6383693482057f8b0c , < 014077044e874e270ec480515edbc1cadb976cf2 (git)
Create a notification for this product.
    Linux Linux Affected: 4.9
Unaffected: 0 , < 4.9 (semver)
Unaffected: 6.1.167 , ≤ 6.1.* (semver)
Unaffected: 6.6.130 , ≤ 6.6.* (semver)
Unaffected: 6.12.78 , ≤ 6.12.* (semver)
Unaffected: 6.18.20 , ≤ 6.18.* (semver)
Unaffected: 6.19.10 , ≤ 6.19.* (semver)
Unaffected: 7.0-rc5 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/soc/fsl/qbman/qman.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9e3d47904b8153c8c3ad2f9b66d5008aad677aa8",
              "status": "affected",
              "version": "c535e923bb97a4b361e89a6383693482057f8b0c",
              "versionType": "git"
            },
            {
              "lessThan": "d21923a8059fa896bfef016f55dd769299335cb4",
              "status": "affected",
              "version": "c535e923bb97a4b361e89a6383693482057f8b0c",
              "versionType": "git"
            },
            {
              "lessThan": "751f60bd48edaf03f9d84ab09e5ce6705757d50f",
              "status": "affected",
              "version": "c535e923bb97a4b361e89a6383693482057f8b0c",
              "versionType": "git"
            },
            {
              "lessThan": "85dbbf7dc88b0a54f2e334daedf6f3f31fd004fa",
              "status": "affected",
              "version": "c535e923bb97a4b361e89a6383693482057f8b0c",
              "versionType": "git"
            },
            {
              "lessThan": "265e56714635c5dd1e5964bfd97fa6e73f62cde5",
              "status": "affected",
              "version": "c535e923bb97a4b361e89a6383693482057f8b0c",
              "versionType": "git"
            },
            {
              "lessThan": "014077044e874e270ec480515edbc1cadb976cf2",
              "status": "affected",
              "version": "c535e923bb97a4b361e89a6383693482057f8b0c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/soc/fsl/qbman/qman.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.9"
            },
            {
              "lessThan": "4.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.167",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.130",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.78",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.20",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0-rc5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.167",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.130",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.78",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.20",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.10",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0-rc5",
                  "versionStartIncluding": "4.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: fsl: qbman: fix race condition in qman_destroy_fq\n\nWhen QMAN_FQ_FLAG_DYNAMIC_FQID is set, there\u0027s a race condition between\nfq_table[fq-\u003eidx] state and freeing/allocating from the pool and\nWARN_ON(fq_table[fq-\u003eidx]) in qman_create_fq() gets triggered.\n\nIndeed, we can have:\n         Thread A                             Thread B\n    qman_destroy_fq()                    qman_create_fq()\n      qman_release_fqid()\n        qman_shutdown_fq()\n        gen_pool_free()\n           -- At this point, the fqid is available again --\n                                           qman_alloc_fqid()\n           -- so, we can get the just-freed fqid in thread B --\n                                           fq-\u003efqid = fqid;\n                                           fq-\u003eidx = fqid * 2;\n                                           WARN_ON(fq_table[fq-\u003eidx]);\n                                           fq_table[fq-\u003eidx] = fq;\n     fq_table[fq-\u003eidx] = NULL;\n\nAnd adding some logs between qman_release_fqid() and\nfq_table[fq-\u003eidx] = NULL makes the WARN_ON() trigger a lot more.\n\nTo prevent that, ensure that fq_table[fq-\u003eidx] is set to NULL before\ngen_pool_free() is called by using smp_wmb()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-04-03T15:15:42.411Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9e3d47904b8153c8c3ad2f9b66d5008aad677aa8"
        },
        {
          "url": "https://git.kernel.org/stable/c/d21923a8059fa896bfef016f55dd769299335cb4"
        },
        {
          "url": "https://git.kernel.org/stable/c/751f60bd48edaf03f9d84ab09e5ce6705757d50f"
        },
        {
          "url": "https://git.kernel.org/stable/c/85dbbf7dc88b0a54f2e334daedf6f3f31fd004fa"
        },
        {
          "url": "https://git.kernel.org/stable/c/265e56714635c5dd1e5964bfd97fa6e73f62cde5"
        },
        {
          "url": "https://git.kernel.org/stable/c/014077044e874e270ec480515edbc1cadb976cf2"
        }
      ],
      "title": "soc: fsl: qbman: fix race condition in qman_destroy_fq",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-23463",
    "datePublished": "2026-04-03T15:15:42.411Z",
    "dateReserved": "2026-01-13T15:37:46.021Z",
    "dateUpdated": "2026-04-03T15:15:42.411Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-23463\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-04-03T16:16:33.520\",\"lastModified\":\"2026-04-03T16:16:33.520\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nsoc: fsl: qbman: fix race condition in qman_destroy_fq\\n\\nWhen QMAN_FQ_FLAG_DYNAMIC_FQID is set, there\u0027s a race condition between\\nfq_table[fq-\u003eidx] state and freeing/allocating from the pool and\\nWARN_ON(fq_table[fq-\u003eidx]) in qman_create_fq() gets triggered.\\n\\nIndeed, we can have:\\n         Thread A                             Thread B\\n    qman_destroy_fq()                    qman_create_fq()\\n      qman_release_fqid()\\n        qman_shutdown_fq()\\n        gen_pool_free()\\n           -- At this point, the fqid is available again --\\n                                           qman_alloc_fqid()\\n           -- so, we can get the just-freed fqid in thread B --\\n                                           fq-\u003efqid = fqid;\\n                                           fq-\u003eidx = fqid * 2;\\n                                           WARN_ON(fq_table[fq-\u003eidx]);\\n                                           fq_table[fq-\u003eidx] = fq;\\n     fq_table[fq-\u003eidx] = NULL;\\n\\nAnd adding some logs between qman_release_fqid() and\\nfq_table[fq-\u003eidx] = NULL makes the WARN_ON() trigger a lot more.\\n\\nTo prevent that, ensure that fq_table[fq-\u003eidx] is set to NULL before\\ngen_pool_free() is called by using smp_wmb().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/014077044e874e270ec480515edbc1cadb976cf2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/265e56714635c5dd1e5964bfd97fa6e73f62cde5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/751f60bd48edaf03f9d84ab09e5ce6705757d50f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/85dbbf7dc88b0a54f2e334daedf6f3f31fd004fa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9e3d47904b8153c8c3ad2f9b66d5008aad677aa8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d21923a8059fa896bfef016f55dd769299335cb4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…