RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1888050 - Wlan's in a bridge won't do authentication properly when operating in AP mode
Summary: Wlan's in a bridge won't do authentication properly when operating in AP mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: wpa_supplicant
Version: CentOS Stream
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Davide Caratti
QA Contact: Ken Benoit
URL:
Whiteboard:
Depends On:
Blocks: 1888051 1888610 1915236
TreeView+ depends on / blocked
 
Reported: 2020-10-13 21:47 UTC by Philip Prindeville
Modified: 2021-05-18 15:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1915236 (view as bug list)
Environment:
Last Closed: 2021-05-18 15:07:07 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Backport of upstream fix to 1.27.3 (5.91 KB, patch)
2020-10-13 21:47 UTC, Philip Prindeville
no flags Details | Diff
Upstream fix on master (5.91 KB, patch)
2020-10-13 22:02 UTC, Philip Prindeville
no flags Details | Diff

Description Philip Prindeville 2020-10-13 21:47:54 UTC
Created attachment 1721325 [details]
Backport of upstream fix to 1.27.3

Description of problem:

When creating a bridge, and putting an Ethernet slave and a Wlan slave (which has been configured as an AP), authentication will always fail when connecting to that AP.


Version-Release number of selected component (if applicable):

2.9-2

How reproducible:

nmcli conn add con-name "Bridge 0" \
    type bridge ifname br0 \
    connection.autoconnect true \
    ipv4.method "manual" \
    ipv4.address "$LOCALIP/$LOCALPREFIX" \
    +ipv4.routes "224.0.0.0/4"

nmcli conn delete "Bridge slave 0"

nmcli conn add con-name "Bridge slave 0" \
    master "Bridge 0" \
    type ethernet ifname eth1

nmcli conn delete "Bridge slave 1"

nmcli conn add con-name "Bridge slave 1" \
    master "Bridge 0" \
    type wifi ifname wlan0 \
    mode ap ssid "$ssid" \
    802-11-wireless.band "bg" \
    802-11-wireless-security.key-mgmt "wpa-psk" \
    802-11-wireless-security.psk "$passphrase"

nmcli conn up "Bridge 0"

and now try to authenticate to that AP.

Steps to Reproduce:
1. Create bridge.
2. Add Ethernet and WLAN slaves (WLAN must be configured as AP).
3. Bring up bridge and try to connect to it.

Actual results:

Authentication fails.

Expected results:

Authentication should succeed.

Additional info:

Upstream commit is 1c58317f.

Comment 1 Philip Prindeville 2020-10-13 21:51:28 UTC
Sorry, mixing up NM and wpa_supplicant. Fix is to 2.9.

Comment 2 Philip Prindeville 2020-10-13 22:02:31 UTC
Created attachment 1721327 [details]
Upstream fix on master

Comment 6 Ken Benoit 2020-12-15 17:35:59 UTC
Using the setup steps provided in the description I configured an ethernet/wlan slave bridge as described on RHEL-8.4.0-20201212.n.0. After bringing up the bridge I was able to connect to the AP from a separate system and had no issues with communication. Marking as verified.

Comment 10 errata-xmlrpc 2021-05-18 15:07:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: wpa_supplicant security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1686


Note You need to log in before you can comment on or make changes to this bug.