[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172717177514.3057794.16241311556115087833.b4-ty@datenfreihafen.org>
Date: Tue, 24 Sep 2024 12:00:39 +0200
From: Stefan Schmidt <stefan@...enfreihafen.org>
To: Jiawei Ye <jiawei.ye@...mail.com>
Cc: Stefan Schmidt <stefan@...enfreihafen.org>,
alex.aring@...il.com,
davem@...emloft.net,
david.girault@...vo.com,
edumazet@...gle.com,
kuba@...nel.org,
linux-kernel@...r.kernel.org,
linux-wpan@...r.kernel.org,
miquel.raynal@...tlin.com,
netdev@...r.kernel.org,
pabeni@...hat.com,
przemyslaw.kitszel@...el.com,
stable@...r.kernel.org
Subject: Re: [PATCH v3] mac802154: Fix potential RCU dereference issue in mac802154_scan_worker
Hello Jiawei Ye.
On Tue, 24 Sep 2024 06:58:05 +0000, Jiawei Ye wrote:
> In the `mac802154_scan_worker` function, the `scan_req->type` field was
> accessed after the RCU read-side critical section was unlocked. According
> to RCU usage rules, this is illegal and can lead to unpredictable
> behavior, such as accessing memory that has been updated or causing
> use-after-free issues.
>
> This possible bug was identified using a static analysis tool developed
> by myself, specifically designed to detect RCU-related issues.
>
> [...]
Applied to wpan/wpan.git, thanks!
[1/1] mac802154: Fix potential RCU dereference issue in mac802154_scan_worker
https://git.kernel.org/wpan/wpan/c/bff1709b3980
regards,
Stefan Schmidt
Powered by blists - more mailing lists