← Back to CVE Explorer

CVE-2025-40177

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Fix bootlog initialization ordering As soon as we queue MHI buffers to receive the bootlog from the device, we could be receiving data. Therefore all the resources needed to process that data need to be setup prior to queuing the buffers. We currently initialize some of the resources after queuing the buffers which creates a race between the probe() and any data that comes back from the device. If the uninitialized resources are accessed, we could see page faults. Fix the init ordering to close the race.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Deferred
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-11-12 11:15:48.253000
Last modified
2026-10-19 21:10:00.160000
View original CVE JSON
{
  "id": "CVE-2025-40177",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2025-11-12T11:15:48.253",
  "lastModified": "2026-10-19T21:10:00.160",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\naccel/qaic: Fix bootlog initialization ordering\n\nAs soon as we queue MHI buffers to receive the bootlog from the device,\nwe could be receiving data. Therefore all the resources needed to\nprocess that data need to be setup prior to queuing the buffers.\n\nWe currently initialize some of the resources after queuing the buffers\nwhich creates a race between the probe() and any data that comes back\nfrom the device. If the uninitialized resources are accessed, we could\nsee page faults.\n\nFix the init ordering to close the race."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\naccel/qaic: Solución del orden de inicialización del bootlog\n\nTan pronto como encolamos los búferes MHI para recibir el bootlog del dispositivo, podríamos estar recibiendo datos. Por lo tanto, todos los recursos necesarios para procesar esos datos deben configurarse antes de encolar los búferes.\n\nActualmente inicializamos algunos de los recursos después de encolar los búferes, lo que crea una condición de carrera entre la función probe() y cualquier dato que provenga del dispositivo. Si se accede a los recursos no inicializados, podríamos ver fallos de página.\n\nSe corrige el orden de inicialización para cerrar la condición de carrera."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/accel/qaic/qaic_debugfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5f8df5c6def641c164ed1b673d47a41fdd0013f8",
              "lessThan": "646868e6962b14e25ae7462fdd1fb061b40c1f16",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "5f8df5c6def641c164ed1b673d47a41fdd0013f8",
              "lessThan": "48814afc7372f96a9584125c8508dffc88d1d378",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "5f8df5c6def641c164ed1b673d47a41fdd0013f8",
              "lessThan": "fd6e385528d8f85993b7bfc6430576136bb14c65",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/accel/qaic/qaic_debugfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.10",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.10",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.55",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.17.5",
              "lessThanOrEqual": "6.17.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/48814afc7372f96a9584125c8508dffc88d1d378",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/646868e6962b14e25ae7462fdd1fb061b40c1f16",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/fd6e385528d8f85993b7bfc6430576136bb14c65",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}