Skip to content
Memory corruption Advisory Advanced CVE-2022-47518CVE-2022-47519CVE-2022-47520CVE-2022-47521

GHSL-2022-112_GHSL-2022-115: Remote denial of service in Linux kernel WILC1000 wireless driver - CVE-2022-47518, CVE-2022-47519, CVE-2022-47520, CVE-2022-47521

The Linux kernel's WILC1000 wireless driver fails to validate information elements in management frames and RSN elements in netlink packets, allowing remote attackers to trigger memory corruption and local users with CAP_NET_ADMIN to cause an out-of-bounds read and denial of service.

philipturnbull Follow

Originally disclosed on GitHub Security Lab

The Microchip WILC1000 802.11 wireless driver in the Linux kernel does not correctly validate information elements in management frames which can allow remote attackers to trigger memory corruption. In addition, the driver does not correctly validate Robust Security Network (RSN) elements when parsing netlink packets…

philipturnbull, on GitHub Security Lab

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely missing bounds checks on length fields in parsed information elements before using them to index into buffers.

Impact

Remote attackers can trigger memory corruption via malformed Wi-Fi frames, and local users with CAP_NET_ADMIN can cause an out-of-bounds read and denial of service via netlink; the out-of-bounds read cannot be used as an information leak.

What the attacker needed

Remote: Wi-Fi range; Local: CAP_NET_ADMIN capability

The fix

The issues were fixed by adding validation of length fields before use, and patches were included in Linux v6.1-rc8 and backported to stable kernels.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The driver that handles Wi-Fi for a certain chip processes data from nearby Wi-Fi frames without checking lengths properly. An attacker nearby can send crafted frames that make the driver read or write outside its buffer, crashing the system or corrupting memory.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by philipturnbull

View all

4 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.