{"id":"CVE-2026-138882","aliases":["CVE-2026-138882"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: mt76: mt7996: fix PCI device reference leak in mt7996_pci_init_hif2()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7996: fix PCI device reference leak in mt7996_pci_init_hif2()\n\npci_get_device() increments the reference count on the returned\nstruct pci_dev. In mt7996_pci_init_hif2(), three pci_get_device()\ncalls are made but their return values are only checked for NULL\nand then discarded. pci_dev_put() is never called, causing a PCI\ndevice reference count leak.\n\nFix this by storing the return value and calling pci_dev_put()\nbefore returning, following the same pattern already used in the\nsibling driver mt7915/pci.c.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7996: fix PCI device reference leak in mt7996_pci_init_hif2()\n\npci_get_device() increments the reference count on the returned\nstruct pci_dev. In mt7996_pci_init_hif2(), three pci_get_device()\ncalls are made but their return values are only checked for NULL\nand then discarded. pci_dev_put() is never called, causing a PCI\ndevice reference count leak.\n\nFix this by storing the return value and calling pci_dev_put()\nbefore returning, following the same pattern already used in the\nsibling driver mt7915/pci.c.","source":"cvelist"}],"published":"2026-11-30T13:25:52.086Z","modified":"2026-11-30T14:17:45.543Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"98686cd21624c75a043e96812beadddf4f6f48e5","fixed":"1483a35ee8deecf8edabf0f86e7935d0a8df5aeb","status":"affected"},{"type":"git","introduced":"98686cd21624c75a043e96812beadddf4f6f48e5","fixed":"88a93ec95c90de07c51d483e947567e010dde4c1","status":"affected"},{"type":"git","introduced":"98686cd21624c75a043e96812beadddf4f6f48e5","fixed":"b63fac9e76caf2586609d6728882254962cf7672","status":"affected"},{"type":"git","introduced":"98686cd21624c75a043e96812beadddf4f6f48e5","fixed":"efd6cb0f3c91ddb28847b7f9ea6a7cf3503d3109","status":"affected"},{"type":"git","introduced":"98686cd21624c75a043e96812beadddf4f6f48e5","fixed":"d92bac6b6af2602516ee82ae112709c71af27cf6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.2","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/1483a35ee8deecf8edabf0f86e7935d0a8df5aeb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/88a93ec95c90de07c51d483e947567e010dde4c1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b63fac9e76caf2586609d6728882254962cf7672","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/efd6cb0f3c91ddb28847b7f9ea6a7cf3503d3109","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d92bac6b6af2602516ee82ae112709c71af27cf6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138882","url":"https://www.cve.org/CVERecord?id=CVE-2026-138882","licence":"CVE Terms of Use","modified":"2026-11-30T13:25:52.086Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138882","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138882","licence":"Public domain","modified":"2026-11-30T14:17:45.543Z"}],"updatedAt":"2026-11-30T14:32:18.090Z","epss":{"score":0.00209,"percentile":0.1175,"date":"2026-12-01T12:00:22.000Z"}}