← Back to CVE Explorer

CVE-2026-98664

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: iio: imu: adis16400: fix unprotected debugfs reads adis16400_serial_number_fops is open coded and never calls debugfs_file_get(), so debugfs_remove_recursive() does not wait for a read in progress and unbind frees the iio_dev underneath it. Commit ae1d37a9bb4b ("iio: imu: adis16400: use DEFINE_DEBUGFS_ATTRIBUTE instead of DEFINE_SIMPLE_ATTRIBUTE") converted product_id and flash_count to DEFINE_DEBUGFS_ATTRIBUTE, which protects itself, but moved all three files to debugfs_create_file_unsafe(). serial_number prints three registers as "%.4x-%.4x-%.4x" and DEFINE_DEBUGFS_ATTRIBUTE() formats a single u64, so it cannot be converted without changing what the file returns. adis16475 and adis16550 already use debugfs_create_file() for their open coded files. Use it here too.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:19.697000
Last modified
2026-10-30 13:21:16.930000
View original CVE JSON
{
  "id": "CVE-2026-98664",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-18T16:17:19.697",
  "lastModified": "2026-10-30T13:21:16.930",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: imu: adis16400: fix unprotected debugfs reads\n\nadis16400_serial_number_fops is open coded and never calls\ndebugfs_file_get(), so debugfs_remove_recursive() does not wait for a\nread in progress and unbind frees the iio_dev underneath it.\n\nCommit ae1d37a9bb4b (\"iio: imu: adis16400: use DEFINE_DEBUGFS_ATTRIBUTE\ninstead of DEFINE_SIMPLE_ATTRIBUTE\") converted product_id and\nflash_count to DEFINE_DEBUGFS_ATTRIBUTE, which protects itself, but\nmoved all three files to debugfs_create_file_unsafe().\n\nserial_number prints three registers as \"%.4x-%.4x-%.4x\" and\nDEFINE_DEBUGFS_ATTRIBUTE() formats a single u64, so it cannot be\nconverted without changing what the file returns. adis16475 and\nadis16550 already use debugfs_create_file() for their open coded\nfiles. Use it here too."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/iio/imu/adis16400.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "ae1d37a9bb4bd8d9091a40d153143e99b115ee37",
              "lessThan": "48bb3c9b4a2fac64cb17c357418ebfbd4c9ac8ff",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ae1d37a9bb4bd8d9091a40d153143e99b115ee37",
              "lessThan": "69cc001761894c65a0eef1bb6df911b39d30d71e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ae1d37a9bb4bd8d9091a40d153143e99b115ee37",
              "lessThan": "d32eb2161b452a25b03f915f431bdcb9722cd92c",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ae1d37a9bb4bd8d9091a40d153143e99b115ee37",
              "lessThan": "d3078aaef8af4648f94eeafde4b7b36efd9838d1",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ae1d37a9bb4bd8d9091a40d153143e99b115ee37",
              "lessThan": "e9b4c00f775a915b759b08bfe2c5e806a8301a59",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ae1d37a9bb4bd8d9091a40d153143e99b115ee37",
              "lessThan": "50e8d70ba0743f88afd7e49f9cebd1841ee677f5",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ae1d37a9bb4bd8d9091a40d153143e99b115ee37",
              "lessThan": "f501302ebb9e1504162351b951fe3ae331c852ab",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "ae1d37a9bb4bd8d9091a40d153143e99b115ee37",
              "lessThan": "d94787287a113a1326211647d5e0deed1e9de105",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/iio/imu/adis16400.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "5.8",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "5.8",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.273",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.224",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.113",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.56",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.10",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/48bb3c9b4a2fac64cb17c357418ebfbd4c9ac8ff",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/50e8d70ba0743f88afd7e49f9cebd1841ee677f5",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/69cc001761894c65a0eef1bb6df911b39d30d71e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d3078aaef8af4648f94eeafde4b7b36efd9838d1",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d32eb2161b452a25b03f915f431bdcb9722cd92c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d94787287a113a1326211647d5e0deed1e9de105",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e9b4c00f775a915b759b08bfe2c5e806a8301a59",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f501302ebb9e1504162351b951fe3ae331c852ab",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}