« Volver al listado

CVE-2023-54027

Estado: AplazadaSin puntuar—

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

iio: core: Prevent invalid memory access when there is no parent

Commit 813665564b3d ("iio: core: Convert to use firmware node handle instead of OF node") switched the kind of nodes to use for label retrieval in device registration. Probably an unwanted change in that commit was that if the device has no parent then NULL pointer is accessed. This is what happens in the stock IIO dummy driver when a new entry is created in configfs:

Since there seems to be no reason to make a parent device of an IIO dummy device mandatory, let’s prevent the invalid memory access in __iio_device_register when the parent device is NULL. With this change, the IIO dummy driver works fine with configfs.

Detalles técnicos trazas, registros y código del informe original
  # mkdir /sys/kernel/config/iio/devices/dummy/foo
  BUG: kernel NULL pointer dereference, address: ...
  ...
  Call Trace:
  __iio_device_register
  iio_dummy_probe

CVSS

NVD no ha asignado puntuación CVSS a esta CVE (habitual desde el cambio de política de abril de 2026).

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

Tecnologías afectadas (1)

⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2023-54027",
  "cveTags": [],
  "metrics": {},
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "813665564b3d7c74412fe2877520f1d254ce948a",
              "lessThan": "312f04ede209f0a186799fe8e64a19b49700d5dc",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "813665564b3d7c74412fe2877520f1d254ce948a",
              "lessThan": "a4b34cccff14ce74bb7d77fbfd56e7c9d7c28a97",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "813665564b3d7c74412fe2877520f1d254ce948a",
              "lessThan": "b2a69969908fcaf68596dfc04369af0fe2e1d2f7",
              "versionType": "git"
            }
          ],
          "programFiles": [
            "drivers/iio/industrialio-core.c"
          ],
          "defaultStatus": "unaffected"
        },
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.19"
            },
            {
              "status": "unaffected",
              "version": "0",
              "lessThan": "5.19",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "6.1.46",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "status": "unaffected",
              "version": "6.4.11",
              "versionType": "semver",
              "lessThanOrEqual": "6.4.*"
            },
            {
              "status": "unaffected",
              "version": "6.5",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ],
          "programFiles": [
            "drivers/iio/industrialio-core.c"
          ],
          "defaultStatus": "affected"
        }
      ]
    }
  ],
  "published": "2025-12-24T11:15:55.707",
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/312f04ede209f0a186799fe8e64a19b49700d5dc",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a4b34cccff14ce74bb7d77fbfd56e7c9d7c28a97",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b2a69969908fcaf68596dfc04369af0fe2e1d2f7",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "vulnStatus": "Deferred",
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: core: Prevent invalid memory access when there is no parent\n\nCommit 813665564b3d (\"iio: core: Convert to use firmware node handle\ninstead of OF node\") switched the kind of nodes to use for label\nretrieval in device registration.  Probably an unwanted change in that\ncommit was that if the device has no parent then NULL pointer is\naccessed.  This is what happens in the stock IIO dummy driver when a\nnew entry is created in configfs:\n\n  # mkdir /sys/kernel/config/iio/devices/dummy/foo\n  BUG: kernel NULL pointer dereference, address: ...\n  ...\n  Call Trace:\n  __iio_device_register\n  iio_dummy_probe\n\nSince there seems to be no reason to make a parent device of an IIO\ndummy device mandatory, let’s prevent the invalid memory access in\n__iio_device_register when the parent device is NULL.  With this\nchange, the IIO dummy driver works fine with configfs."
    }
  ],
  "lastModified": "2026-06-17T06:46:33.830",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}