Public bug reported:
On Ubuntu 24.04 (kernel 6.8.0-138-generic, Intel AX210 / iwlwifi), after
connecting to an access point whose beacon has no Country element, the
kernel never reports the network's SSID. Authentication, association,
the WPA handshake and DHCP all succeed. However, networkctl status shows
no "Wi-Fi access point", and systemd-networkd never logs "Connected WiFi
access point". Anything that checks the SSID treats the connection as
failed. Connecting to an AP that does send a Country element works
normally.
This is fixed upstream by:
- 577f690ce5dc "wifi: cfg80211: track SSID regardless of country data"
- Fixes: c38c70185101 "wifi: cfg80211: Set SSID if it is not already set"
(since v6.3)
In __cfg80211_connect_result(), the function returns early when it can't
find country data, which skips the SSID tracking. The fix moves the SSID
tracking ahead of that check. The fix has no Cc: stable tag, so 6.8
won't get it through the stable updates. Please cherry-pick it into the
Noble kernel.
Steps to reproduce:
1. Set up wpa_supplicant (-Dnl80211, default SME) through netplan and
systemd-networkd.
2. Connect to an AP whose beacon has no Country element. In our case that's a
consumer router.
3. Run networkctl status <iface>.
Expected: the SSID is shown under "Wi-Fi access point".
Actual: no SSID is shown, although the link is up with a DHCP lease.
Workaround: running wpa_supplicant with -p force_connect_cmd=1 avoids
the bug.
Attached: a redacted kernel, wpa_supplicant and systemd-networkd log of
one connection to each type of AP.
Release: Ubuntu 24.04.4 LTS (24.04)
Package: linux-image-6.8.0-138-generic 6.8.0-138.138
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "wifi-ssid.log"
https://bugs.launchpad.net/bugs/2175444/+attachment/6019832/+files/wifi-ssid.log
** Summary changed:
- cfg80211: SSID not reported after connecting to an AP without a Country
element (please backport 577f690ce5dc)
+ cfg80211: SSID not reported after connecting to an AP without a Country
element (please backport 577f690ce5dc to Noble)
** Description changed:
On Ubuntu 24.04 (kernel 6.8.0-138-generic, Intel AX210 / iwlwifi), after
connecting to an access point whose beacon has no Country element, the
kernel never reports the network's SSID. Authentication, association,
the WPA handshake and DHCP all succeed. However, networkctl status shows
no "Wi-Fi access point", and systemd-networkd never logs "Connected WiFi
access point". Anything that checks the SSID treats the connection as
failed. Connecting to an AP that does send a Country element works
normally.
This is fixed upstream by:
- 577f690ce5dc "wifi: cfg80211: track SSID regardless of country data"
- Fixes: c38c70185101 "wifi: cfg80211: Set SSID if it is not already set"
(since v6.3)
In __cfg80211_connect_result(), the function returns early when it can't
find country data, which skips the SSID tracking. The fix moves the SSID
tracking ahead of that check. The fix has no Cc: stable tag, so 6.8
won't get it through the stable updates. Please cherry-pick it into the
Noble kernel.
Steps to reproduce:
1. Set up wpa_supplicant (-Dnl80211, default SME) through netplan and
systemd-networkd.
2. Connect to an AP whose beacon has no Country element. In our case that's a
consumer router.
3. Run networkctl status <iface>.
Expected: the SSID is shown under "Wi-Fi access point".
Actual: no SSID is shown, although the link is up with a DHCP lease.
Workaround: running wpa_supplicant with -p force_connect_cmd=1 avoids
the bug.
Attached: a redacted kernel, wpa_supplicant and systemd-networkd log of
one connection to each type of AP.
+
+ Release: Ubuntu 24.04.4 LTS (24.04)
+ Package: linux-image-6.8.0-138-generic 6.8.0-138.138
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175444
Title:
cfg80211: SSID not reported after connecting to an AP without a
Country element (please backport 577f690ce5dc to Noble)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2175444/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs