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>] [day] [month] [year] [list]
Message-ID: <2025052058-CVE-2025-37910-bf5d@gregkh>
Date: Tue, 20 May 2025 17:22:07 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-37910: ptp: ocp: Fix NULL dereference in Adva board SMA sysfs operations

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ptp: ocp: Fix NULL dereference in Adva board SMA sysfs operations

On Adva boards, SMA sysfs store/get operations can call
__handle_signal_outputs() or __handle_signal_inputs() while the `irig`
and `dcf` pointers are uninitialized, leading to a NULL pointer
dereference in __handle_signal() and causing a kernel crash. Adva boards
don't use `irig` or `dcf` functionality, so add Adva-specific callbacks
`ptp_ocp_sma_adva_set_outputs()` and `ptp_ocp_sma_adva_set_inputs()` that
avoid invoking `irig` or `dcf` input/output routines.

The Linux kernel CVE team has assigned CVE-2025-37910 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.9 with commit ef61f5528fca6c3bbb2f8bc002fd1949c9d1f9b9 and fixed in 6.12.28 with commit 8a543d825e78b8d680d8f891381b83fbffdb0bb6
	Issue introduced in 6.9 with commit ef61f5528fca6c3bbb2f8bc002fd1949c9d1f9b9 and fixed in 6.14.6 with commit 5b349f9cdb4a9daa133bea267dfc0c383628387a
	Issue introduced in 6.9 with commit ef61f5528fca6c3bbb2f8bc002fd1949c9d1f9b9 and fixed in 6.15-rc5 with commit e98386d79a23c57cf179fe4138322e277aa3aa74

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-37910
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/ptp/ptp_ocp.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/8a543d825e78b8d680d8f891381b83fbffdb0bb6
	https://git.kernel.org/stable/c/5b349f9cdb4a9daa133bea267dfc0c383628387a
	https://git.kernel.org/stable/c/e98386d79a23c57cf179fe4138322e277aa3aa74

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ