{"id":"CVE-2025-37978","state":"PUBLISHED","title":"block: integrity: Do not call set_page_dirty_lock()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: integrity: Do not call set_page_dirty_lock()\n\nPlacing multiple protection information buffers inside the same page\ncan lead to oopses because set_page_dirty_lock() can't be called from\ninterrupt context.\n\nSince a protection information buffer is not backed by a file there is\nno point in setting its page dirty, there is nothing to synchronize.\nDrop the call to set_page_dirty_lock() and remove the last argument to\nbio_integrity_unpin_bvec().","publishedAt":"2025-05-20T16:58:21.422Z","updatedAt":"2026-05-11T21:18:53.989Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"492c5d455969fc2e829f26ed4c83487b068f0dd7","status":"affected","lessThan":"c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4","versionType":"git"},{"version":"492c5d455969fc2e829f26ed4c83487b068f0dd7","status":"affected","lessThan":"9487fc1a10b3aa89feb24e7cedeccaaf63074617","versionType":"git"},{"version":"492c5d455969fc2e829f26ed4c83487b068f0dd7","status":"affected","lessThan":"39e160505198ff8c158f11bce2ba19809a756e8b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/bio-integrity.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.25","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.4","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/bio-integrity.c"]}],"references":["https://git.kernel.org/stable/c/c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4","https://git.kernel.org/stable/c/9487fc1a10b3aa89feb24e7cedeccaaf63074617","https://git.kernel.org/stable/c/39e160505198ff8c158f11bce2ba19809a756e8b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:03.054Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/37xxx/CVE-2025-37978.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-37978","state":"PUBLISHED","datePublished":"2025-05-20T16:58:21.422Z","dateUpdated":"2026-05-11T21:18:53.989Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:23.975Z"},"containers":{"cna":{"title":"block: integrity: Do not call set_page_dirty_lock()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: integrity: Do not call set_page_dirty_lock()\n\nPlacing multiple protection information buffers inside the same page\ncan lead to oopses because set_page_dirty_lock() can't be called from\ninterrupt context.\n\nSince a protection information buffer is not backed by a file there is\nno point in setting its page dirty, there is nothing to synchronize.\nDrop the call to set_page_dirty_lock() and remove the last argument to\nbio_integrity_unpin_bvec()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"492c5d455969fc2e829f26ed4c83487b068f0dd7","status":"affected","lessThan":"c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4","versionType":"git"},{"version":"492c5d455969fc2e829f26ed4c83487b068f0dd7","status":"affected","lessThan":"9487fc1a10b3aa89feb24e7cedeccaaf63074617","versionType":"git"},{"version":"492c5d455969fc2e829f26ed4c83487b068f0dd7","status":"affected","lessThan":"39e160505198ff8c158f11bce2ba19809a756e8b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/bio-integrity.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.8","versionType":"semver"},{"version":"6.12.25","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.4","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/bio-integrity.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4"},{"url":"https://git.kernel.org/stable/c/9487fc1a10b3aa89feb24e7cedeccaaf63074617"},{"url":"https://git.kernel.org/stable/c/39e160505198ff8c158f11bce2ba19809a756e8b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:18:53.989Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.12.25"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.14.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.8","versionEndExcluding":"6.15"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}