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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2810825.mvXUDI8C0e@weasel>
Date: Thu, 18 Dec 2025 11:54:48 +0100
From: Christian Schoenebeck <linux_oss@...debyte.com>
To: ericvh@...nel.org, lucho@...kov.net, asmadeus@...ewreck.org,
 Tuo Li <islituo@...il.com>
Cc: v9fs@...ts.linux.dev, linux-kernel@...r.kernel.org,
 Tuo Li <islituo@...il.com>
Subject:
 Re: [PATCH] net: 9p: Fix a possible null-pointer dereference in
 p9_cm_event_handler()

On Thursday, 18 December 2025 08:10:12 CET Tuo Li wrote:
> In p9_cm_event_handler(), rdma is checked in the RDMA_CM_EVENT_DISCONNECTED
> case, indicating that it may be NULL. If this happens, a null-pointer
> dereference can occur when complete() is called:
> 
>   complete(&rdma->cm_done);
> 
> To prevent such a potential null-pointer dereference, add a defensive check
> before invoking complete().
> 
> Signed-off-by: Tuo Li <islituo@...il.com>
> ---

Reviewed-by: Christian Schoenebeck <linux_oss@...debyte.com>




Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ