CVE-2025-37978

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37978
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37978.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37978
Downstream
Related
Published
2025-05-20T16:58:21Z
Modified
2025-10-18T01:32:44.555794Z
Summary
block: integrity: Do not call set_page_dirty_lock()
Details

In the Linux kernel, the following vulnerability has been resolved:

block: integrity: Do not call setpagedirty_lock()

Placing multiple protection information buffers inside the same page can lead to oopses because setpagedirty_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 setpagedirtylock() and remove the last argument to biointegrityunpinbvec().

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
492c5d455969fc2e829f26ed4c83487b068f0dd7
Fixed
c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
492c5d455969fc2e829f26ed4c83487b068f0dd7
Fixed
9487fc1a10b3aa89feb24e7cedeccaaf63074617
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
492c5d455969fc2e829f26ed4c83487b068f0dd7
Fixed
39e160505198ff8c158f11bce2ba19809a756e8b

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1
v6.12.10
v6.12.11
v6.12.12
v6.12.13
v6.12.14
v6.12.15
v6.12.16
v6.12.17
v6.12.18
v6.12.19
v6.12.2
v6.12.20
v6.12.21
v6.12.22
v6.12.23
v6.12.24
v6.12.3
v6.12.4
v6.12.5
v6.12.6
v6.12.7
v6.12.8
v6.12.9
v6.13
v6.13-rc1
v6.13-rc2
v6.13-rc3
v6.13-rc4
v6.13-rc5
v6.13-rc6
v6.13-rc7
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.14.1
v6.14.2
v6.14.3
v6.7
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

vanir_signatures

[
    {
        "id": "CVE-2025-37978-0518d382",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_unmap_user"
        },
        "digest": {
            "function_hash": "242161422020849866531937825874958421050",
            "length": 301.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4"
    },
    {
        "id": "CVE-2025-37978-0eede4dd",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_copy_user"
        },
        "digest": {
            "function_hash": "151508963136389720073879515377032640010",
            "length": 1035.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39e160505198ff8c158f11bce2ba19809a756e8b"
    },
    {
        "id": "CVE-2025-37978-374adb4b",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_copy_user"
        },
        "digest": {
            "function_hash": "151508963136389720073879515377032640010",
            "length": 1035.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9487fc1a10b3aa89feb24e7cedeccaaf63074617"
    },
    {
        "id": "CVE-2025-37978-40f19417",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_unpin_bvec"
        },
        "digest": {
            "function_hash": "59094188535095028989006215853996041526",
            "length": 259.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39e160505198ff8c158f11bce2ba19809a756e8b"
    },
    {
        "id": "CVE-2025-37978-6704e07a",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_map_user"
        },
        "digest": {
            "function_hash": "325203012997822978022509244452856621643",
            "length": 1396.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4"
    },
    {
        "id": "CVE-2025-37978-68aebe98",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_map_user"
        },
        "digest": {
            "function_hash": "335110688851084520357962495066388592687",
            "length": 1310.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9487fc1a10b3aa89feb24e7cedeccaaf63074617"
    },
    {
        "id": "CVE-2025-37978-72c17a0b",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_unpin_bvec"
        },
        "digest": {
            "function_hash": "59094188535095028989006215853996041526",
            "length": 259.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9487fc1a10b3aa89feb24e7cedeccaaf63074617"
    },
    {
        "id": "CVE-2025-37978-78ffded0",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "block/bio-integrity.c"
        },
        "digest": {
            "line_hashes": [
                "136902846557129805557670502196313119816",
                "332300099241457873943774782899573525262",
                "227167118936565130004083589379611535101",
                "182704894009484551336454827773458028735",
                "93781387173936313655266525192002522907",
                "123588919145371948424949614051381299202",
                "83062568448600534119248785321640873625",
                "229223631317837801058013175104810275268",
                "199558637614607999887407484683994641553",
                "273719184056294700404449723738528407968",
                "222334618684770151776876999154458117015",
                "74034819169573375743108471475385495302",
                "192626181990529173702898858886438765240",
                "88896767750323660996956273731335429851",
                "291819349152396740004970925827910157501",
                "29949066682141650379059367126992863322",
                "183898840961459214551148012954978281222",
                "268077461205744931641242674263969689163",
                "254686024480915367287889871926637657778",
                "262287342253110126609083109846824562292",
                "214363658342604070406806117042544852675",
                "300293214772280030737724791945545566936",
                "173511721952451315562176404735380769366",
                "133982095985696194579638029628229051598",
                "260719295310795283819386628561370267031",
                "144678221084583968526549684033188368635",
                "223697070988244091427403907144077302242",
                "302726246913597365661187544708045420127",
                "192954083863324006042052188869690977466"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39e160505198ff8c158f11bce2ba19809a756e8b"
    },
    {
        "id": "CVE-2025-37978-85eb134f",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_map_user"
        },
        "digest": {
            "function_hash": "335110688851084520357962495066388592687",
            "length": 1310.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39e160505198ff8c158f11bce2ba19809a756e8b"
    },
    {
        "id": "CVE-2025-37978-94a8bcc5",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_uncopy_user"
        },
        "digest": {
            "function_hash": "64171229988879825716276311083569209748",
            "length": 387.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9487fc1a10b3aa89feb24e7cedeccaaf63074617"
    },
    {
        "id": "CVE-2025-37978-b054b2ee",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_unpin_bvec"
        },
        "digest": {
            "function_hash": "59094188535095028989006215853996041526",
            "length": 259.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4"
    },
    {
        "id": "CVE-2025-37978-d0f8dfd7",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_uncopy_user"
        },
        "digest": {
            "function_hash": "64171229988879825716276311083569209748",
            "length": 387.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4"
    },
    {
        "id": "CVE-2025-37978-d356ddde",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_unmap_user"
        },
        "digest": {
            "function_hash": "242161422020849866531937825874958421050",
            "length": 301.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9487fc1a10b3aa89feb24e7cedeccaaf63074617"
    },
    {
        "id": "CVE-2025-37978-de04b868",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "block/bio-integrity.c"
        },
        "digest": {
            "line_hashes": [
                "189408481827461509328449979972764224752",
                "332300099241457873943774782899573525262",
                "227167118936565130004083589379611535101",
                "182704894009484551336454827773458028735",
                "93781387173936313655266525192002522907",
                "123588919145371948424949614051381299202",
                "83062568448600534119248785321640873625",
                "229223631317837801058013175104810275268",
                "199558637614607999887407484683994641553",
                "273719184056294700404449723738528407968",
                "222334618684770151776876999154458117015",
                "74034819169573375743108471475385495302",
                "192626181990529173702898858886438765240",
                "88896767750323660996956273731335429851",
                "291819349152396740004970925827910157501",
                "29949066682141650379059367126992863322",
                "183898840961459214551148012954978281222",
                "268077461205744931641242674263969689163",
                "254686024480915367287889871926637657778",
                "262287342253110126609083109846824562292",
                "214363658342604070406806117042544852675",
                "300293214772280030737724791945545566936",
                "173511721952451315562176404735380769366",
                "133982095985696194579638029628229051598",
                "260719295310795283819386628561370267031",
                "144678221084583968526549684033188368635",
                "223697070988244091427403907144077302242",
                "302726246913597365661187544708045420127",
                "192954083863324006042052188869690977466"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9487fc1a10b3aa89feb24e7cedeccaaf63074617"
    },
    {
        "id": "CVE-2025-37978-df929a1d",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_uncopy_user"
        },
        "digest": {
            "function_hash": "64171229988879825716276311083569209748",
            "length": 387.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39e160505198ff8c158f11bce2ba19809a756e8b"
    },
    {
        "id": "CVE-2025-37978-ee687bc3",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Line",
        "target": {
            "file": "block/bio-integrity.c"
        },
        "digest": {
            "line_hashes": [
                "189408481827461509328449979972764224752",
                "332300099241457873943774782899573525262",
                "227167118936565130004083589379611535101",
                "182704894009484551336454827773458028735",
                "93781387173936313655266525192002522907",
                "123588919145371948424949614051381299202",
                "83062568448600534119248785321640873625",
                "229223631317837801058013175104810275268",
                "199558637614607999887407484683994641553",
                "273719184056294700404449723738528407968",
                "222334618684770151776876999154458117015",
                "74034819169573375743108471475385495302",
                "192626181990529173702898858886438765240",
                "88896767750323660996956273731335429851",
                "291819349152396740004970925827910157501",
                "29949066682141650379059367126992863322",
                "183898840961459214551148012954978281222",
                "268077461205744931641242674263969689163",
                "254686024480915367287889871926637657778",
                "262287342253110126609083109846824562292",
                "214363658342604070406806117042544852675",
                "300293214772280030737724791945545566936",
                "173511721952451315562176404735380769366",
                "133982095985696194579638029628229051598",
                "260719295310795283819386628561370267031",
                "144678221084583968526549684033188368635",
                "223697070988244091427403907144077302242",
                "302726246913597365661187544708045420127",
                "192954083863324006042052188869690977466"
            ],
            "threshold": 0.9
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4"
    },
    {
        "id": "CVE-2025-37978-f670be6c",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_unmap_user"
        },
        "digest": {
            "function_hash": "242161422020849866531937825874958421050",
            "length": 301.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@39e160505198ff8c158f11bce2ba19809a756e8b"
    },
    {
        "id": "CVE-2025-37978-ffabd770",
        "deprecated": false,
        "signature_version": "v1",
        "signature_type": "Function",
        "target": {
            "file": "block/bio-integrity.c",
            "function": "bio_integrity_copy_user"
        },
        "digest": {
            "function_hash": "43353336504506507352139015329611933704",
            "length": 1087.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c38a005e6efb9ddfa06bd8353b82379d6fd5d6c4"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.12.25
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.14.4