| Name | CVE-2025-40066 |
| Description | In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: Check phy before init msta_link in mt7996_mac_sta_add_links() In order to avoid a possible NULL pointer dereference in mt7996_mac_sta_init_link routine, move the phy pointer check before running mt7996_mac_sta_init_link() in mt7996_mac_sta_add_links routine. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| linux (PTS) | bullseye | 5.10.223-1 | fixed |
| bullseye (security) | 5.10.244-1 | fixed |
| bookworm | 6.1.148-1 | fixed |
| bookworm (security) | 6.1.153-1 | fixed |
| trixie | 6.12.43-1 | fixed |
| trixie (security) | 6.12.48-1 | fixed |
| forky, sid | 6.16.12-2 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| linux | source | bullseye | (not affected) | | | |
| linux | source | bookworm | (not affected) | | | |
| linux | source | trixie | (not affected) | | | |
| linux | source | (unstable) | (unfixed) | | | |
Notes
[trixie] - linux <not-affected> (Vulnerable code not present)
[bookworm] - linux <not-affected> (Vulnerable code not present)
[bullseye] - linux <not-affected> (Vulnerable code not present)
https://git.kernel.org/linus/fe5fffadc6c77c56f122cf1042dc830f59e904bf (6.18-rc1)