{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "2e315dc07df009c3e29d6926871f62a30cfae394"
            },
            {
              "fixed": "98b2dabb092e2ce8591d977b45efc47d665bd5fe"
            },
            {
              "fixed": "a1babfa5627cc95ae51d12aad8215d02ed3be444"
            },
            {
              "fixed": "ea7cddd9f8cadb075b9fc9cb40f62f9dae8e7ccd"
            },
            {
              "fixed": "60c6f63a062ccf84b27b997be11cf305c5a4ae33"
            },
            {
              "fixed": "204a406cd53537cb89a75582c3264c471e842577"
            },
            {
              "fixed": "67c43ceaa29e9b904216651697adf20445b219fc"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "a3362ff0433b9cbd545c35baae59c5788b766e53"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "ea13467cf803a6a03652d1518ae8c14d07ce4eee"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0c0e6cd55d8762c8faaa7bd007905fffcc04c311"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.10.50"
            },
            {
              "fixed": "5.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.12.17"
            },
            {
              "fixed": "5.13"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.13.2"
            },
            {
              "fixed": "5.14"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.14.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139127.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nblock: don't lose the status of a failed flush request\n\nflush_end_io() stores the status in fq-\u003erq_status for whoever drops the\nlast reference to finish the flush sequence. blk_mq_put_rq_ref() calls\nit with BLK_STS_OK from tag iterators and the timeout handler and\noverwrites an error the real completion stored. With two extra\nreferences, reading /sys/block/\u003cdisk\u003e/inflight is enough for that, a\nfailed flush completes everything waiting on it with success and fsync()\nlies to the application.\n\nOnly store a status that is an error.",
  "id": "CVE-2026-139127",
  "modified": "2026-12-01T20:46:08.615096102Z",
  "published": "2026-11-30T13:31:49.845Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/204a406cd53537cb89a75582c3264c471e842577"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/60c6f63a062ccf84b27b997be11cf305c5a4ae33"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/67c43ceaa29e9b904216651697adf20445b219fc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/98b2dabb092e2ce8591d977b45efc47d665bd5fe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a1babfa5627cc95ae51d12aad8215d02ed3be444"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ea7cddd9f8cadb075b9fc9cb40f62f9dae8e7ccd"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139127.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139127"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "block: don't lose the status of a failed flush request"
}