openwrt / openwrt/mt76

[MT7628] 2.4 GHz packet injection causes kernel crash

Open
#825 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
888
Forks
436
PR merge metrics
No merged PRs in 30d

Description

Hello. I put the router into monitor mode, then try to deauthenticate via mac, after which the router immediately reboots

I found a similar report here
https://github.com/openwrt/openwrt/issues/5102
https://github.com/openwrt/mt76/issues/504

The crash occurs when trying to send deauthentication packets using aireplay, but also occurs when checking the driver with the command:

aireplay-ng-9 phy0-mon

I only get
05:27:48 Trying broadcast probe requests...
After which the router reboots

logread -f only captures
Thu Oct 5 05:27:48 2023 kern.info kernel: [542.910446] device phy0-mon0 entered promiscuous mode

Everything works fine at 5 GHz

Xiaomi Mi Router 4A (100M International Edition)
MediaTek MT7628AN ver:1 eco:2
ramips/mt76x8
OpenWrt SNAPSHOT r24072-a181b9f0f9 / LuCI Master git-23.266.27574-7744ad0
Kernel: 5.15.132

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash on the reported Xiaomi Mi Router 4A with MT7628AN using monitor mode and the aireplay-ng commands shown in the issue. Compare the behavior with the linked OpenWrt and mt76 reports, then inspect the MT7628 monitor-mode packet-injection path. Done means 2.4 GHz injection no longer reboots the router and the failure is covered by an appropriate regression test or reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.