Skip to content
Heist/ feed
Back to feed
UnratedFix available

block: integrity: Do not call set_page_dirty_lock()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: block: integrity: Do not call set_page_dirty_lock() Placing multiple protection information buffers inside the same page can lead to oopses because set_page_dirty_lock() can't be called from interrupt context. Since a protection information buffer is not backed by a file there is no point in setting its page dirty, there is nothing to synchronize. Drop the call to set_page_dirty_lock() and remove the last argument to bio_integrity_unpin_bvec().

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.25, 6.14.4
CVEs
CVE-2025-37978
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 03:36 UTC · Revision 1

Source evidence

block: integrity: Do not call set_page_dirty_lock()

core-osv · Original source

Published 20 May 2025, 16:58 UTC

In the Linux kernel, the following vulnerability has been resolved: block: integrity: Do not call set_page_dirty_lock() Placing multiple protection information buffers inside the same page can lead to oopses because set_page_dirty_lock() can't be called from interrupt context. Since a protection information buffer is not backed by a file there is no point in setting its page dirty, there is nothing to synchronize. Drop the call to set_page_dirty_lock() and remove the last argument to bio_integrity_unpin_bvec().

osv:CVE-2025-37978

Kernel

Fixed versions: 6.12.25, 6.14.4

Complete source record
{
  "id": "4dd5d338f96047a68f25f1c0bd4c630c82422116b32e4acbbb0568e6d441fe79",
  "url": "https://osv.dev/vulnerability/CVE-2025-37978",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "block: integrity: Do not call set_page_dirty_lock()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: block: integrity: Do not call set_page_dirty_lock() Placing multiple protection information buffers inside the same page can lead to oopses because set_page_dirty_lock() can't be called from interrupt context. Since a protection information buffer is not backed by a file there is no point in setting its page dirty, there is nothing to synchronize. Drop the call to set_page_dirty_lock() and remove the last argument to bio_integrity_unpin_bvec().",
    "evidence": "osv:CVE-2025-37978",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.25",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.14.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-37978",
      "aliases": [
        "CVE-2025-37978"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "492c5d455969fc2e829f26ed4c83487b068f0dd7"
                },
                {
                  "fixed": "c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4"
                },
                {
                  "fixed": "9487fc1a10b3aa89feb24e7cedeccaaf63074617"
                },
                {
                  "fixed": "39e160505198ff8c158f11bce2ba19809a756e8b"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37978.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.8.0"
                },
                {
                  "fixed": "6.12.25"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.14.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37978.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.707648337Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/39e160505198ff8c158f11bce2ba19809a756e8b",
        "https://git.kernel.org/stable/c/9487fc1a10b3aa89feb24e7cedeccaaf63074617",
        "https://git.kernel.org/stable/c/c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37978.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-37978",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37978.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-37978",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 492225,
  "published_at": "2025-05-20T16:58:21.422+00:00"
}