CVE-2025-37866 (GCVE-0-2025-37866)
Vulnerability from cvelistv5
Published
2025-05-09 06:43
Modified
2025-05-26 05:22
Severity ?
Summary
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.
Impacted products
Vendor Product Version
Linux Linux Version: 9886f575de5aefcfab537467c72e5176e5301df0
Version: 9886f575de5aefcfab537467c72e5176e5301df0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/platform/mellanox/mlxbf-bootctl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5e1dcc5bfd7a2896178c604bc69d6ab9650967da",
              "status": "affected",
              "version": "9886f575de5aefcfab537467c72e5176e5301df0",
              "versionType": "git"
            },
            {
              "lessThan": "b129005ddfc0e6daf04a6d3b928a9e474f9b3918",
              "status": "affected",
              "version": "9886f575de5aefcfab537467c72e5176e5301df0",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/platform/mellanox/mlxbf-bootctl.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.14"
            },
            {
              "lessThan": "6.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.14.*",
              "status": "unaffected",
              "version": "6.14.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14.4",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmlxbf-bootctl: use sysfs_emit_at() in secure_boot_fuse_state_show()\n\nA warning is seen when running the latest kernel on a BlueField SOC:\n[251.512704] ------------[ cut here ]------------\n[251.512711] invalid sysfs_emit: buf:0000000003aa32ae\n[251.512720] WARNING: CPU: 1 PID: 705264 at fs/sysfs/file.c:767 sysfs_emit+0xac/0xc8\n\nThe warning is triggered because the mlxbf-bootctl driver invokes\n\"sysfs_emit()\" with a buffer pointer that is not aligned to the\nstart of the page. The driver should instead use \"sysfs_emit_at()\"\nto support non-zero offsets into the destination buffer."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-26T05:22:37.272Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5e1dcc5bfd7a2896178c604bc69d6ab9650967da"
        },
        {
          "url": "https://git.kernel.org/stable/c/b129005ddfc0e6daf04a6d3b928a9e474f9b3918"
        }
      ],
      "title": "mlxbf-bootctl: use sysfs_emit_at() in secure_boot_fuse_state_show()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-37866",
    "datePublished": "2025-05-09T06:43:56.128Z",
    "dateReserved": "2025-04-16T04:51:23.959Z",
    "dateUpdated": "2025-05-26T05:22:37.272Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-37866\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-05-09T07:16:07.647\",\"lastModified\":\"2025-05-12T17:32:32.760\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmlxbf-bootctl: use sysfs_emit_at() in secure_boot_fuse_state_show()\\n\\nA warning is seen when running the latest kernel on a BlueField SOC:\\n[251.512704] ------------[ cut here ]------------\\n[251.512711] invalid sysfs_emit: buf:0000000003aa32ae\\n[251.512720] WARNING: CPU: 1 PID: 705264 at fs/sysfs/file.c:767 sysfs_emit+0xac/0xc8\\n\\nThe warning is triggered because the mlxbf-bootctl driver invokes\\n\\\"sysfs_emit()\\\" with a buffer pointer that is not aligned to the\\nstart of the page. The driver should instead use \\\"sysfs_emit_at()\\\"\\nto support non-zero offsets into the destination buffer.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mlxbf-bootctl: use sysfs_emit_at() en secure_boot_fuse_state_show() Se ve una advertencia al ejecutar el kernel m\u00e1s reciente en un SOC BlueField: [251.512704] ------------[ cortar aqu\u00ed ]------------ [251.512711] sysfs_emit no v\u00e1lido: buf:0000000003aa32ae [251.512720] ADVERTENCIA: CPU: 1 PID: 705264 en fs/sysfs/file.c:767 sysfs_emit+0xac/0xc8 La advertencia se activa porque el controlador mlxbf-bootctl invoca \\\"sysfs_emit()\\\" con un puntero de b\u00fafer que no est\u00e1 alineado con el inicio de la p\u00e1gina. En su lugar, el controlador deber\u00eda utilizar \\\"sysfs_emit_at()\\\" para admitir desplazamientos distintos de cero en el b\u00fafer de destino.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/5e1dcc5bfd7a2896178c604bc69d6ab9650967da\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b129005ddfc0e6daf04a6d3b928a9e474f9b3918\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…