lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <20231005094421.09a6a58f@kernel.org> Date: Thu, 5 Oct 2023 09:44:21 -0700 From: Jakub Kicinski <kuba@...nel.org> To: Marc Kleine-Budde <mkl@...gutronix.de>, Oleksij Rempel <o.rempel@...gutronix.de> Cc: netdev@...r.kernel.org, davem@...emloft.net, linux-can@...r.kernel.org, kernel@...gutronix.de, Sili Luo <rootlab@...wei.com>, stable@...r.kernel.org Subject: Re: [PATCH net 1/7] can: j1939: Fix UAF in j1939_sk_match_filter during setsockopt(SO_J1939_FILTER) On Thu, 5 Oct 2023 11:46:33 +0200 Marc Kleine-Budde wrote: > Lock jsk->sk to prevent UAF when setsockopt(..., SO_J1939_FILTER, ...) > modifies jsk->filters while receiving packets. Doesn't it potentially introduce sleep in atomic? j1939_sk_recv_match() spin_lock_bh(&priv->j1939_socks_lock); j1939_sk_recv_match_one() j1939_sk_match_filter() lock_sock() sleep
Powered by blists - more mailing lists