Re: [PATCH] wifi: cfg80211: Fix an error handling path in cfg80211_wext_siwscan()
Markus Elfring <[email protected]> Sat, 27 Jun 2026 13:45:50 +0200
| Newsgroups | org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <[email protected]> |
… > The PoC uses pthread barrier synchronization to force both paths through > the lockless check simultaneously. It runs on wlan0 created by > mac80211_hwsim (modprobe mac80211_hwsim radios=2). > > Full PoC (compile with: gcc -Wall -o poc poc.c -lpthread): Thanks for your test approach. … > pthread_barrier_init(&barrier_go, NULL, 2); > pthread_create(&nt, NULL, nl_thread, NULL); … Can there be a need to improve error detection and corresponding exception handling? https://cmu-sei.github.io/secure-coding-standards/sei-cert-c-coding-standard/rules/posix-pos/pos54-c Regards, Markus