{"api_version":"1","generated_at":"2026-12-02T11:59:32+00:00","cve":"CVE-2026-138847","urls":{"html":"https://cve.report/CVE-2026-138847","api":"https://cve.report/api/cve/CVE-2026-138847.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-138847","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-138847"},"summary":{"title":"xen-blkfront: Fix IO race during unplug","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen-blkfront: Fix IO race during unplug\n\nDuring unplug, blkfront stops the hw queues and marks the disk as dead,\nthen later during removal calls del_gendisk(). However, IO issued after\nthe hw queues are stopped but before the call to del_gendisk() will be\nqueued but never handled. This causes del_gendisk() to hang forever\nwaiting for the queue refcount to drop to zero.\n\nThis can be reproduced by issuing IO during an artificial delay after\nstopping the hw queues.\n\nFix this by simply not stopping the hw queues directly. Marking the disk\nas dead already freezes the queue which prevents new requests being\nadded and it synchronously runs the hw queues to clear anything pending.\nIf the hw queues are stopped when calling blk_mark_disk_dead(), running\nthe hw queues is a no-op and can leave queued requests unprocessed.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:40","updated_at":"2026-12-02 10:17:17"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/07fc8d43742a0e5a6f114c39999112ea165bfa51","name":"https://git.kernel.org/stable/c/07fc8d43742a0e5a6f114c39999112ea165bfa51","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b83510f2053446bc291ded824b8042e42c1febf8","name":"https://git.kernel.org/stable/c/b83510f2053446bc291ded824b8042e42c1febf8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/499be56511b46ad154051e202a5e9731a35a0ac0","name":"https://git.kernel.org/stable/c/499be56511b46ad154051e202a5e9731a35a0ac0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/61b6d1df1d6234c38a6ea7e4f58e7da035ef6ab4","name":"https://git.kernel.org/stable/c/61b6d1df1d6234c38a6ea7e4f58e7da035ef6ab4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/24f7f97d3051299bc58f5366182662a7e31a5a24","name":"https://git.kernel.org/stable/c/24f7f97d3051299bc58f5366182662a7e31a5a24","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5522da98153e39a9ddd0a59a41604a14114b63b4","name":"https://git.kernel.org/stable/c/5522da98153e39a9ddd0a59a41604a14114b63b4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8815f5221e993d16674bae18e4d7363f0c036adf","name":"https://git.kernel.org/stable/c/8815f5221e993d16674bae18e4d7363f0c036adf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-138847","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138847","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 8815f5221e993d16674bae18e4d7363f0c036adf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 499be56511b46ad154051e202a5e9731a35a0ac0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e b83510f2053446bc291ded824b8042e42c1febf8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 07fc8d43742a0e5a6f114c39999112ea165bfa51 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 24f7f97d3051299bc58f5366182662a7e31a5a24 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 5522da98153e39a9ddd0a59a41604a14114b63b4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 05d69d950d9d84218fc9beafd02dea1f6a70e09e 61b6d1df1d6234c38a6ea7e4f58e7da035ef6ab4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/block/xen-blkfront.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"8815f5221e993d16674bae18e4d7363f0c036adf","status":"affected","version":"05d69d950d9d84218fc9beafd02dea1f6a70e09e","versionType":"git"},{"lessThan":"499be56511b46ad154051e202a5e9731a35a0ac0","status":"affected","version":"05d69d950d9d84218fc9beafd02dea1f6a70e09e","versionType":"git"},{"lessThan":"b83510f2053446bc291ded824b8042e42c1febf8","status":"affected","version":"05d69d950d9d84218fc9beafd02dea1f6a70e09e","versionType":"git"},{"lessThan":"07fc8d43742a0e5a6f114c39999112ea165bfa51","status":"affected","version":"05d69d950d9d84218fc9beafd02dea1f6a70e09e","versionType":"git"},{"lessThan":"24f7f97d3051299bc58f5366182662a7e31a5a24","status":"affected","version":"05d69d950d9d84218fc9beafd02dea1f6a70e09e","versionType":"git"},{"lessThan":"5522da98153e39a9ddd0a59a41604a14114b63b4","status":"affected","version":"05d69d950d9d84218fc9beafd02dea1f6a70e09e","versionType":"git"},{"lessThan":"61b6d1df1d6234c38a6ea7e4f58e7da035ef6ab4","status":"affected","version":"05d69d950d9d84218fc9beafd02dea1f6a70e09e","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/block/xen-blkfront.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.14"},{"lessThan":"5.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen-blkfront: Fix IO race during unplug\n\nDuring unplug, blkfront stops the hw queues and marks the disk as dead,\nthen later during removal calls del_gendisk(). However, IO issued after\nthe hw queues are stopped but before the call to del_gendisk() will be\nqueued but never handled. This causes del_gendisk() to hang forever\nwaiting for the queue refcount to drop to zero.\n\nThis can be reproduced by issuing IO during an artificial delay after\nstopping the hw queues.\n\nFix this by simply not stopping the hw queues directly. Marking the disk\nas dead already freezes the queue which prevents new requests being\nadded and it synchronously runs the hw queues to clear anything pending.\nIf the hw queues are stopped when calling blk_mark_disk_dead(), running\nthe hw queues is a no-op and can leave queued requests unprocessed."}],"providerMetadata":{"dateUpdated":"2026-12-02T09:21:27.494Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/8815f5221e993d16674bae18e4d7363f0c036adf"},{"url":"https://git.kernel.org/stable/c/499be56511b46ad154051e202a5e9731a35a0ac0"},{"url":"https://git.kernel.org/stable/c/b83510f2053446bc291ded824b8042e42c1febf8"},{"url":"https://git.kernel.org/stable/c/07fc8d43742a0e5a6f114c39999112ea165bfa51"},{"url":"https://git.kernel.org/stable/c/24f7f97d3051299bc58f5366182662a7e31a5a24"},{"url":"https://git.kernel.org/stable/c/5522da98153e39a9ddd0a59a41604a14114b63b4"},{"url":"https://git.kernel.org/stable/c/61b6d1df1d6234c38a6ea7e4f58e7da035ef6ab4"}],"title":"xen-blkfront: Fix IO race during unplug","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-138847","datePublished":"2026-11-30T13:25:32.258Z","dateReserved":"2026-11-30T13:22:15.898Z","dateUpdated":"2026-12-02T09:21:27.494Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:40","lastModifiedDate":"2026-12-02 10:17:17","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"138847","Ordinal":"1","Title":"xen-blkfront: Fix IO race during unplug","CVE":"CVE-2026-138847","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"138847","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen-blkfront: Fix IO race during unplug\n\nDuring unplug, blkfront stops the hw queues and marks the disk as dead,\nthen later during removal calls del_gendisk(). However, IO issued after\nthe hw queues are stopped but before the call to del_gendisk() will be\nqueued but never handled. This causes del_gendisk() to hang forever\nwaiting for the queue refcount to drop to zero.\n\nThis can be reproduced by issuing IO during an artificial delay after\nstopping the hw queues.\n\nFix this by simply not stopping the hw queues directly. Marking the disk\nas dead already freezes the queue which prevents new requests being\nadded and it synchronously runs the hw queues to clear anything pending.\nIf the hw queues are stopped when calling blk_mark_disk_dead(), running\nthe hw queues is a no-op and can leave queued requests unprocessed.","Type":"Description","Title":"xen-blkfront: Fix IO race during unplug"}]}}}