{"id":"CVE-2026-23463","aliases":["CVE-2026-23463"],"related":[],"kind":"vulnerability","state":"published","title":"soc: fsl: qbman: fix race condition in qman_destroy_fq","summary":"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's a race condition between\nfq_table[fq->idx] state and freeing/allocating from the pool and\nWARN_ON(fq_table[fq->idx]) 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->fqid = fqid;\n                                           fq->idx = fqid * 2;\n                                           WARN_ON(fq_table[fq->idx]);\n                                           fq_table[fq->idx] = fq;\n     fq_table[fq->idx] = NULL;\n\nAnd adding some logs between qman_release_fqid() and\nfq_table[fq->idx] = NULL makes the WARN_ON() trigger a lot more.\n\nTo prevent that, ensure that fq_table[fq->idx] is set to NULL before\ngen_pool_free() is called by using smp_wmb().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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's a race condition between\nfq_table[fq->idx] state and freeing/allocating from the pool and\nWARN_ON(fq_table[fq->idx]) 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->fqid = fqid;\n                                           fq->idx = fqid * 2;\n                                           WARN_ON(fq_table[fq->idx]);\n                                           fq_table[fq->idx] = fq;\n     fq_table[fq->idx] = NULL;\n\nAnd adding some logs between qman_release_fqid() and\nfq_table[fq->idx] = NULL makes the WARN_ON() trigger a lot more.\n\nTo prevent that, ensure that fq_table[fq->idx] is set to NULL before\ngen_pool_free() is called by using smp_wmb().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nsoc: fsl: qbman: corregir condición de carrera en qman_destroy_fq\n\nCuando QMAN_FQ_FLAG_DYNAMIC_FQID está configurado, existe una condición de carrera entre el estado de fq_table[fq -> idx] y la liberación/asignación del pool, y WARN_ON(fq_table[fq -> idx]) en qman_create_fq() se activa.\n\nDe hecho, podemos tener:\n         Hilo A                               Hilo B\n    qman_destroy_fq()                    qman_create_fq()\n      qman_release_fqid()\n        qman_shutdown_fq()\n        gen_pool_free()\n           -- En este punto, el fqid está disponible de nuevo --\n                                           qman_alloc_fqid()\n           -- así, podemos obtener el fqid recién liberado en el hilo B --\n                                           fq -> fqid = fqid;\n                                           fq -> idx = fqid * 2;\n                                           WARN_ON(fq_table[fq -> idx]);\n                                           fq_table[fq -> idx] = fq;\n     fq_table[fq -> idx] = NULL;\n\nY añadir algunos registros entre qman_release_fqid() y fq_table[fq -> idx] = NULL hace que el WARN_ON() se active mucho más.\n\nPara evitar eso, asegúrese de que fq_table[fq -> idx] se establezca a NULL antes de que se llame a gen_pool_free() usando smp_wmb().","source":"nvd"}],"published":"2026-04-03T15:15:42.411Z","modified":"2026-11-10T13:18:48.507Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"c535e923bb97a4b361e89a6383693482057f8b0c","fixed":"66442cf9989bd4489fa80d9f37637d58ab016835","status":"affected"},{"type":"git","introduced":"c535e923bb97a4b361e89a6383693482057f8b0c","fixed":"d288fbe652ef43b7128e4bc0c0c2ef6bd03a2210","status":"affected"},{"type":"git","introduced":"c535e923bb97a4b361e89a6383693482057f8b0c","fixed":"9e3d47904b8153c8c3ad2f9b66d5008aad677aa8","status":"affected"},{"type":"git","introduced":"c535e923bb97a4b361e89a6383693482057f8b0c","fixed":"d21923a8059fa896bfef016f55dd769299335cb4","status":"affected"},{"type":"git","introduced":"c535e923bb97a4b361e89a6383693482057f8b0c","fixed":"751f60bd48edaf03f9d84ab09e5ce6705757d50f","status":"affected"},{"type":"git","introduced":"c535e923bb97a4b361e89a6383693482057f8b0c","fixed":"85dbbf7dc88b0a54f2e334daedf6f3f31fd004fa","status":"affected"},{"type":"git","introduced":"c535e923bb97a4b361e89a6383693482057f8b0c","fixed":"265e56714635c5dd1e5964bfd97fa6e73f62cde5","status":"affected"},{"type":"git","introduced":"c535e923bb97a4b361e89a6383693482057f8b0c","fixed":"014077044e874e270ec480515edbc1cadb976cf2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.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.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.78","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.20","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.10","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":"4.9","fixed":"5.10.253"},{"status":"affected","introduced":"5.11","fixed":"5.15.203"},{"status":"affected","introduced":"5.16","fixed":"6.1.167"},{"status":"affected","introduced":"6.2","fixed":"6.6.130"},{"status":"affected","introduced":"6.7","fixed":"6.12.78"},{"status":"affected","introduced":"6.13","fixed":"6.18.20"},{"status":"affected","introduced":"6.19","fixed":"6.19.10"},{"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/66442cf9989bd4489fa80d9f37637d58ab016835","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d288fbe652ef43b7128e4bc0c0c2ef6bd03a2210","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e3d47904b8153c8c3ad2f9b66d5008aad677aa8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d21923a8059fa896bfef016f55dd769299335cb4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/751f60bd48edaf03f9d84ab09e5ce6705757d50f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/85dbbf7dc88b0a54f2e334daedf6f3f31fd004fa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/265e56714635c5dd1e5964bfd97fa6e73f62cde5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/014077044e874e270ec480515edbc1cadb976cf2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23463","url":"https://www.cve.org/CVERecord?id=CVE-2026-23463","licence":"CVE Terms of Use","modified":"2026-11-10T12:43:33.730Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23463","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23463","licence":"Public domain","modified":"2026-11-10T13:18:48.507Z"}],"updatedAt":"2026-11-25T22:59:17.891Z","epss":{"score":0.00133,"percentile":0.03015,"date":"2026-12-01T12:00:22.000Z"}}