[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050957-CVE-2025-37866-47d2@gregkh>
Date: Fri, 9 May 2025 08:44:00 +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-37866: mlxbf-bootctl: use sysfs_emit_at() in secure_boot_fuse_state_show()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mlxbf-bootctl: use sysfs_emit_at() in secure_boot_fuse_state_show()
A warning is seen when running the latest kernel on a BlueField SOC:
[251.512704] ------------[ cut here ]------------
[251.512711] invalid sysfs_emit: buf:0000000003aa32ae
[251.512720] WARNING: CPU: 1 PID: 705264 at fs/sysfs/file.c:767 sysfs_emit+0xac/0xc8
The warning is triggered because the mlxbf-bootctl driver invokes
"sysfs_emit()" with a buffer pointer that is not aligned to the
start of the page. The driver should instead use "sysfs_emit_at()"
to support non-zero offsets into the destination buffer.
The Linux kernel CVE team has assigned CVE-2025-37866 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.14 with commit 9886f575de5aefcfab537467c72e5176e5301df0 and fixed in 6.14.4 with commit 5e1dcc5bfd7a2896178c604bc69d6ab9650967da
Issue introduced in 6.14 with commit 9886f575de5aefcfab537467c72e5176e5301df0 and fixed in 6.15-rc3 with commit b129005ddfc0e6daf04a6d3b928a9e474f9b3918
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-37866
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/platform/mellanox/mlxbf-bootctl.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/5e1dcc5bfd7a2896178c604bc69d6ab9650967da
https://git.kernel.org/stable/c/b129005ddfc0e6daf04a6d3b928a9e474f9b3918
Powered by blists - more mailing lists