{"api_version":"1","generated_at":"2026-11-30T18:56:04+00:00","cve":"CVE-2026-139126","urls":{"html":"https://cve.report/CVE-2026-139126","api":"https://cve.report/api/cve/CVE-2026-139126.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139126","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139126"},"summary":{"title":"blk-mq: don't trust the cookie in blk_mq_poll()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: don't trust the cookie in blk_mq_poll()\n\nblk_mq_poll() indexes queue_hw_ctx[] with bio->bi_cookie unchecked. Zone\nwrite plugging keeps the segment count of a plugged write in\n__bi_nr_segments, which shares a union with the cookie, and clears\nREQ_POLLED, but bio_poll() only looks at the cookie. A plugged polled\nwrite with more segments than there are hardware queues reads past the\narray. The bio is also SLAB_TYPESAFE_BY_RCU, so a cookie from a bio\nreused for another device can meet the wrong array as well.\n\nIgnore a cookie that is out of range or doesn't name a poll queue.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:25","updated_at":"2026-11-30 14:18:25"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/7394fa1f5cba107a5b921e0b359af660a212bf7f","name":"https://git.kernel.org/stable/c/7394fa1f5cba107a5b921e0b359af660a212bf7f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f6d85fc206d58ac6d91e73e865329124ba57be60","name":"https://git.kernel.org/stable/c/f6d85fc206d58ac6d91e73e865329124ba57be60","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/24974185999fd80b676fbe2a6c7a97bbd38aaf3a","name":"https://git.kernel.org/stable/c/24974185999fd80b676fbe2a6c7a97bbd38aaf3a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e40dc9c454ef3fc136e2de2e69f365cc570bd7a6","name":"https://git.kernel.org/stable/c/e40dc9c454ef3fc136e2de2e69f365cc570bd7a6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139126","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139126","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3e08773c3841e9db7a520908cc2b136a77d275ff e40dc9c454ef3fc136e2de2e69f365cc570bd7a6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3e08773c3841e9db7a520908cc2b136a77d275ff 7394fa1f5cba107a5b921e0b359af660a212bf7f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3e08773c3841e9db7a520908cc2b136a77d275ff f6d85fc206d58ac6d91e73e865329124ba57be60 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3e08773c3841e9db7a520908cc2b136a77d275ff 24974185999fd80b676fbe2a6c7a97bbd38aaf3a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 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":["block/blk-mq.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e40dc9c454ef3fc136e2de2e69f365cc570bd7a6","status":"affected","version":"3e08773c3841e9db7a520908cc2b136a77d275ff","versionType":"git"},{"lessThan":"7394fa1f5cba107a5b921e0b359af660a212bf7f","status":"affected","version":"3e08773c3841e9db7a520908cc2b136a77d275ff","versionType":"git"},{"lessThan":"f6d85fc206d58ac6d91e73e865329124ba57be60","status":"affected","version":"3e08773c3841e9db7a520908cc2b136a77d275ff","versionType":"git"},{"lessThan":"24974185999fd80b676fbe2a6c7a97bbd38aaf3a","status":"affected","version":"3e08773c3841e9db7a520908cc2b136a77d275ff","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["block/blk-mq.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.16"},{"lessThan":"5.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","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":"6.12.120","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: don't trust the cookie in blk_mq_poll()\n\nblk_mq_poll() indexes queue_hw_ctx[] with bio->bi_cookie unchecked. Zone\nwrite plugging keeps the segment count of a plugged write in\n__bi_nr_segments, which shares a union with the cookie, and clears\nREQ_POLLED, but bio_poll() only looks at the cookie. A plugged polled\nwrite with more segments than there are hardware queues reads past the\narray. The bio is also SLAB_TYPESAFE_BY_RCU, so a cookie from a bio\nreused for another device can meet the wrong array as well.\n\nIgnore a cookie that is out of range or doesn't name a poll queue."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:31:49.271Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e40dc9c454ef3fc136e2de2e69f365cc570bd7a6"},{"url":"https://git.kernel.org/stable/c/7394fa1f5cba107a5b921e0b359af660a212bf7f"},{"url":"https://git.kernel.org/stable/c/f6d85fc206d58ac6d91e73e865329124ba57be60"},{"url":"https://git.kernel.org/stable/c/24974185999fd80b676fbe2a6c7a97bbd38aaf3a"}],"title":"blk-mq: don't trust the cookie in blk_mq_poll()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139126","datePublished":"2026-11-30T13:31:49.271Z","dateReserved":"2026-11-30T13:22:15.915Z","dateUpdated":"2026-11-30T13:31:49.271Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:25","lastModifiedDate":"2026-11-30 14:18:25","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139126","Ordinal":"1","Title":"blk-mq: don't trust the cookie in blk_mq_poll()","CVE":"CVE-2026-139126","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139126","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: don't trust the cookie in blk_mq_poll()\n\nblk_mq_poll() indexes queue_hw_ctx[] with bio->bi_cookie unchecked. Zone\nwrite plugging keeps the segment count of a plugged write in\n__bi_nr_segments, which shares a union with the cookie, and clears\nREQ_POLLED, but bio_poll() only looks at the cookie. A plugged polled\nwrite with more segments than there are hardware queues reads past the\narray. The bio is also SLAB_TYPESAFE_BY_RCU, so a cookie from a bio\nreused for another device can meet the wrong array as well.\n\nIgnore a cookie that is out of range or doesn't name a poll queue.","Type":"Description","Title":"blk-mq: don't trust the cookie in blk_mq_poll()"}]}}}