CVE-2026-43476 (GCVE-0-2026-43476)
Vulnerability from cvelistv5
Published
2026-05-13 15:08
Modified
2026-08-05 12:28
Summary
In the Linux kernel, the following vulnerability has been resolved: iio: chemical: sps30_i2c: fix buffer size in sps30_i2c_read_meas() sizeof(num) evaluates to sizeof(size_t) (8 bytes on 64-bit) instead of the intended __be32 element size (4 bytes). Use sizeof(*meas) to correctly match the buffer element type.
Impacted products
Vendor Product Version
Linux Linux Version: 8f3f130852785dac0759843835ca97c3bacc2b10
Version: 8f3f130852785dac0759843835ca97c3bacc2b10
Version: 8f3f130852785dac0759843835ca97c3bacc2b10
Version: 8f3f130852785dac0759843835ca97c3bacc2b10
Version: 8f3f130852785dac0759843835ca97c3bacc2b10
Version: 8f3f130852785dac0759843835ca97c3bacc2b10
Version: 8f3f130852785dac0759843835ca97c3bacc2b10
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/iio/chemical/sps30_i2c.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9aff2e9c2927ecd9652872a43a0725f101128104",
              "status": "affected",
              "version": "8f3f130852785dac0759843835ca97c3bacc2b10",
              "versionType": "git"
            },
            {
              "lessThan": "08881d82f94deaa51800360029908863e5c4c39d",
              "status": "affected",
              "version": "8f3f130852785dac0759843835ca97c3bacc2b10",
              "versionType": "git"
            },
            {
              "lessThan": "dcdf1e92674efb6692f4ebe189e0aa9fde23a541",
              "status": "affected",
              "version": "8f3f130852785dac0759843835ca97c3bacc2b10",
              "versionType": "git"
            },
            {
              "lessThan": "2a4d111a6a34afb8bb4f118009e7728ed2ec7e10",
              "status": "affected",
              "version": "8f3f130852785dac0759843835ca97c3bacc2b10",
              "versionType": "git"
            },
            {
              "lessThan": "90e978ace598567e6e30de79805bddf37cf892ac",
              "status": "affected",
              "version": "8f3f130852785dac0759843835ca97c3bacc2b10",
              "versionType": "git"
            },
            {
              "lessThan": "165f12b40901c6a7aca15796da239726ddcdc5ad",
              "status": "affected",
              "version": "8f3f130852785dac0759843835ca97c3bacc2b10",
              "versionType": "git"
            },
            {
              "lessThan": "216345f98cae7fcc84f49728c67478ac00321c87",
              "status": "affected",
              "version": "8f3f130852785dac0759843835ca97c3bacc2b10",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/iio/chemical/sps30_i2c.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.14"
            },
            {
              "lessThan": "5.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.203",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.167",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.130",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.78",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.203",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.167",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.130",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.78",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.19",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.9",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "5.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: chemical: sps30_i2c: fix buffer size in sps30_i2c_read_meas()\n\nsizeof(num) evaluates to sizeof(size_t) (8 bytes on 64-bit) instead\nof the intended __be32 element size (4 bytes). Use sizeof(*meas) to\ncorrectly match the buffer element type."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - An attacker reaches the vulnerable path by locally reading world-readable IIO sysfs channel attributes for the SPS30 I2C device, which invoke the driver read path. The bug is not exposed through a network protocol or adjacent wireless interface.\nAC:L - Triggering requires only a normal measurement read once an affected SPS30 I2C device is present; there is no race and the attacker controls repeated attempts. The 64-bit size_t condition is a common affected platform property, not an exploitation hurdle.\nPR:L - The raw IIO channel attributes are created read-only with mode 0444, so any basic local unprivileged user can trigger the vulnerable read. No CAP_SYS_ADMIN, CAP_NET_ADMIN, root-only ioctl, or user-namespace capability path is required.\nUI:N - No victim action is required after the attacker has local access. The attacker can directly read the exposed sysfs attribute.\nS:U - The memory corruption occurs in kernel driver context and affects the same kernel security authority. This is a standard local kernel compromise scenario, not a VM, IOMMU, or sandbox boundary crossing that changes scope.\nC:H - The old sizeof(num) calculation causes decoded I2C measurement data to be copied past the caller\u0027s 32-bit measurement buffer on the kernel stack. As an out-of-bounds stack write, this memory corruption is defensibly treated as capable of enabling kernel information disclosure.\nI:H - The bug is an out-of-bounds kernel stack write of up to 16 bytes on the PM10/read-buffer path, and repeated local triggering is possible. Kernel OOB writes are treated as high integrity impact because they can plausibly corrupt control data or other sensitive stack state.\nA:H - The stack corruption can crash or oops the kernel, especially with stack protector or corrupted adjacent state. Repeated unprivileged reads can therefore cause high availability impact."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:28:11.813Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9aff2e9c2927ecd9652872a43a0725f101128104"
        },
        {
          "url": "https://git.kernel.org/stable/c/08881d82f94deaa51800360029908863e5c4c39d"
        },
        {
          "url": "https://git.kernel.org/stable/c/dcdf1e92674efb6692f4ebe189e0aa9fde23a541"
        },
        {
          "url": "https://git.kernel.org/stable/c/2a4d111a6a34afb8bb4f118009e7728ed2ec7e10"
        },
        {
          "url": "https://git.kernel.org/stable/c/90e978ace598567e6e30de79805bddf37cf892ac"
        },
        {
          "url": "https://git.kernel.org/stable/c/165f12b40901c6a7aca15796da239726ddcdc5ad"
        },
        {
          "url": "https://git.kernel.org/stable/c/216345f98cae7fcc84f49728c67478ac00321c87"
        }
      ],
      "title": "iio: chemical: sps30_i2c: fix buffer size in sps30_i2c_read_meas()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-43476",
    "datePublished": "2026-05-13T15:08:26.152Z",
    "dateReserved": "2026-05-01T14:12:56.011Z",
    "dateUpdated": "2026-08-05T12:28:11.813Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…