CVE-2024-27049

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27049
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27049.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-27049
Downstream
Related
Published
2024-05-01T12:54:32Z
Modified
2025-10-17T02:05:58.751280Z
Summary
wifi: mt76: mt7925e: fix use-after-free in free_irq()
Details

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

wifi: mt76: mt7925e: fix use-after-free in free_irq()

From commit a304e1b82808 ("[PATCH] Debug shared irqs"), there is a test to make sure the shared irq handler should be able to handle the unexpected event after deregistration. For this case, let's apply MT76_REMOVED flag to indicate the device was removed and do not run into the resource access anymore.

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
c948b5da6bbec742b433138e3e3f9537a85af2e5
Fixed
84470b48af03a818039d587478b415cbcb264ff5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c948b5da6bbec742b433138e3e3f9537a85af2e5
Fixed
6d9930096e1f13cf6d9aabfbf95d0e05fb04144f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c948b5da6bbec742b433138e3e3f9537a85af2e5
Fixed
a5a5f4413d91f395cb2d89829d376d7393ad48b9

Affected versions

v6.*

v6.5
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
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

[
    {
        "digest": {
            "function_hash": "110939045375814040277840709596430819004",
            "length": 274.0
        },
        "id": "CVE-2024-27049-46ef103d",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@84470b48af03a818039d587478b415cbcb264ff5",
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7925/pci.c",
            "function": "mt7925_pci_remove"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "deprecated": false
    },
    {
        "digest": {
            "function_hash": "110939045375814040277840709596430819004",
            "length": 274.0
        },
        "id": "CVE-2024-27049-9176ed6d",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a5a5f4413d91f395cb2d89829d376d7393ad48b9",
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7925/pci.c",
            "function": "mt7925_pci_remove"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "deprecated": false
    },
    {
        "digest": {
            "function_hash": "110939045375814040277840709596430819004",
            "length": 274.0
        },
        "id": "CVE-2024-27049-c6ea21c7",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d9930096e1f13cf6d9aabfbf95d0e05fb04144f",
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7925/pci.c",
            "function": "mt7925_pci_remove"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "deprecated": false
    },
    {
        "digest": {
            "line_hashes": [
                "99965427233462160854004427426443546546",
                "101257153403901985949264467149027909572",
                "228452493977556747109003249894185794715",
                "167056461535923962435280882256035247019"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-27049-dae72364",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@84470b48af03a818039d587478b415cbcb264ff5",
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7925/pci.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "deprecated": false
    },
    {
        "digest": {
            "line_hashes": [
                "99965427233462160854004427426443546546",
                "101257153403901985949264467149027909572",
                "228452493977556747109003249894185794715",
                "167056461535923962435280882256035247019"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-27049-e7a18dbe",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a5a5f4413d91f395cb2d89829d376d7393ad48b9",
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7925/pci.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "deprecated": false
    },
    {
        "digest": {
            "line_hashes": [
                "99965427233462160854004427426443546546",
                "101257153403901985949264467149027909572",
                "228452493977556747109003249894185794715",
                "167056461535923962435280882256035247019"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2024-27049-e8a64846",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d9930096e1f13cf6d9aabfbf95d0e05fb04144f",
        "target": {
            "file": "drivers/net/wireless/mediatek/mt76/mt7925/pci.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "deprecated": false
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.11
Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.8.2