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] [day] [month] [year] [list]
Message-ID: <4fc2d5d5-61a5-49f1-b381-4ada37cf3c20@collabora.com>
Date: Wed, 25 Jun 2025 15:42:40 +0200
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
To: Henry Martin <bsdhenrymartin@...il.com>, huntazhang@...cent.com,
 jitxie@...cent.com, landonsun@...cent.com, nbd@....name, lorenzo@...nel.org,
 ryder.lee@...iatek.com, shayne.chen@...iatek.com, sean.wang@...iatek.com,
 matthias.bgg@...il.com
Cc: linux-wireless@...r.kernel.org, linux-mediatek@...ts.infradead.org,
 linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
 Henry Martin <bsdhenryma@...cent.com>
Subject: Re: [PATCH v1] wifi: mt76: mt7925: Fix null-ptr-deref in
 mt7925_thermal_init()

Il 25/06/25 14:49, Henry Martin ha scritto:
> devm_kasprintf() returns NULL on error. Currently, mt7925_thermal_init()
> does not check for this case, which results in a NULL pointer
> dereference.
> 
> Add NULL check after devm_kasprintf() to prevent this issue.
> 
> Fixes: 396e41a74a88 ("wifi: mt76: mt7925: support temperature sensor")
> Signed-off-by: Henry Martin <bsdhenryma@...cent.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ