CVE-2024-27067

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27067
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27067.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-27067
Downstream
Related
Published
2024-05-01T13:04:16.051Z
Modified
2025-11-14T21:09:21.593372Z
Summary
xen/evtchn: avoid WARN() when unbinding an event channel
Details

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

xen/evtchn: avoid WARN() when unbinding an event channel

When unbinding a user event channel, the related handler might be called a last time in case the kernel was built with CONFIGDEBUGSHIRQ. This might cause a WARN() in the handler.

Avoid that by adding an "unbinding" flag to struct user_event which will short circuit the handler.

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
3c8f5965a99397368d3762a9814a21a3e442e1a4
Fixed
99e425032c6ec13584d3cd33846e0c7307501b47
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9e90e58c11b74c2bddac4b2702cf79d36b981278
Fixed
35485dad6e28f9b17884764d4692b1655cb848d0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9e90e58c11b74c2bddac4b2702cf79d36b981278
Fixed
9e2d4b58c1da48a32905802aaeadba7084b46895
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9e90e58c11b74c2bddac4b2702cf79d36b981278
Fixed
51c23bd691c0f1fb95b29731c356c6fd69925d17

Affected versions

v6.*

v6.6
v6.6-rc7
v6.6.19
v6.6.20
v6.6.21
v6.6.22
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.7.1
v6.7.10
v6.7.2
v6.7.3
v6.7.4
v6.7.5
v6.7.6
v6.7.7
v6.7.8
v6.7.9
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.8.1

Database specific

vanir_signatures

[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99e425032c6ec13584d3cd33846e0c7307501b47",
        "target": {
            "file": "drivers/xen/evtchn.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "61403798162347648964967151874339394525",
                "196121339900766511980444796639439509137",
                "130070488638694500831390975079195968049",
                "185752359065261257085006628442752189696",
                "172853271369297686646106810274141770609",
                "323675282956886831343688707653127541011",
                "198005919352603785960394353145785117047",
                "257566923509631588293979239819290551931",
                "77062244987013842602756284164461502497",
                "111170434378442754919563152942210029454"
            ]
        },
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2024-27067-0c1dbc67",
        "signature_version": "v1"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35485dad6e28f9b17884764d4692b1655cb848d0",
        "target": {
            "file": "drivers/xen/evtchn.c",
            "function": "evtchn_interrupt"
        },
        "digest": {
            "length": 748.0,
            "function_hash": "138707405256833541012823882318651165190"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2024-27067-16b44b87",
        "signature_version": "v1"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35485dad6e28f9b17884764d4692b1655cb848d0",
        "target": {
            "file": "drivers/xen/evtchn.c",
            "function": "evtchn_unbind_from_user"
        },
        "digest": {
            "length": 179.0,
            "function_hash": "23350081338359173050388616083367488994"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2024-27067-3ab32f5e",
        "signature_version": "v1"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9e2d4b58c1da48a32905802aaeadba7084b46895",
        "target": {
            "file": "drivers/xen/evtchn.c",
            "function": "evtchn_unbind_from_user"
        },
        "digest": {
            "length": 179.0,
            "function_hash": "23350081338359173050388616083367488994"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2024-27067-4b02b9c0",
        "signature_version": "v1"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@51c23bd691c0f1fb95b29731c356c6fd69925d17",
        "target": {
            "file": "drivers/xen/evtchn.c",
            "function": "evtchn_unbind_from_user"
        },
        "digest": {
            "length": 179.0,
            "function_hash": "23350081338359173050388616083367488994"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2024-27067-821f1f60",
        "signature_version": "v1"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99e425032c6ec13584d3cd33846e0c7307501b47",
        "target": {
            "file": "drivers/xen/evtchn.c",
            "function": "evtchn_unbind_from_user"
        },
        "digest": {
            "length": 179.0,
            "function_hash": "23350081338359173050388616083367488994"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2024-27067-98d5060c",
        "signature_version": "v1"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@35485dad6e28f9b17884764d4692b1655cb848d0",
        "target": {
            "file": "drivers/xen/evtchn.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "61403798162347648964967151874339394525",
                "196121339900766511980444796639439509137",
                "130070488638694500831390975079195968049",
                "185752359065261257085006628442752189696",
                "172853271369297686646106810274141770609",
                "323675282956886831343688707653127541011",
                "198005919352603785960394353145785117047",
                "257566923509631588293979239819290551931",
                "77062244987013842602756284164461502497",
                "111170434378442754919563152942210029454"
            ]
        },
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2024-27067-9d315750",
        "signature_version": "v1"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@51c23bd691c0f1fb95b29731c356c6fd69925d17",
        "target": {
            "file": "drivers/xen/evtchn.c",
            "function": "evtchn_interrupt"
        },
        "digest": {
            "length": 748.0,
            "function_hash": "138707405256833541012823882318651165190"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2024-27067-b481e7e2",
        "signature_version": "v1"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@51c23bd691c0f1fb95b29731c356c6fd69925d17",
        "target": {
            "file": "drivers/xen/evtchn.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "61403798162347648964967151874339394525",
                "196121339900766511980444796639439509137",
                "130070488638694500831390975079195968049",
                "185752359065261257085006628442752189696",
                "172853271369297686646106810274141770609",
                "323675282956886831343688707653127541011",
                "198005919352603785960394353145785117047",
                "257566923509631588293979239819290551931",
                "77062244987013842602756284164461502497",
                "111170434378442754919563152942210029454"
            ]
        },
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2024-27067-ba8a6af3",
        "signature_version": "v1"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@99e425032c6ec13584d3cd33846e0c7307501b47",
        "target": {
            "file": "drivers/xen/evtchn.c",
            "function": "evtchn_interrupt"
        },
        "digest": {
            "length": 748.0,
            "function_hash": "138707405256833541012823882318651165190"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2024-27067-c41ab96e",
        "signature_version": "v1"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9e2d4b58c1da48a32905802aaeadba7084b46895",
        "target": {
            "file": "drivers/xen/evtchn.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "61403798162347648964967151874339394525",
                "196121339900766511980444796639439509137",
                "130070488638694500831390975079195968049",
                "185752359065261257085006628442752189696",
                "172853271369297686646106810274141770609",
                "323675282956886831343688707653127541011",
                "198005919352603785960394353145785117047",
                "257566923509631588293979239819290551931",
                "77062244987013842602756284164461502497",
                "111170434378442754919563152942210029454"
            ]
        },
        "deprecated": false,
        "signature_type": "Line",
        "id": "CVE-2024-27067-cd2edb70",
        "signature_version": "v1"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9e2d4b58c1da48a32905802aaeadba7084b46895",
        "target": {
            "file": "drivers/xen/evtchn.c",
            "function": "evtchn_interrupt"
        },
        "digest": {
            "length": 748.0,
            "function_hash": "138707405256833541012823882318651165190"
        },
        "deprecated": false,
        "signature_type": "Function",
        "id": "CVE-2024-27067-dbe7d5af",
        "signature_version": "v1"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.23
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.11
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.2