← Back to CVE Explorer

CVE-2026-80695

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: hwmon: (sht3x) Fix unaligned accesses Sashiko reports: In sht3x_update_client(), the 16-bit temperature and humidity values are extracted from a stack-allocated byte array using be16_to_cpup(). The pointers passed to this function are calculated as buf and buf + 3. Since the difference between the two pointers is an odd number of bytes, at least one of them is guaranteed to be at an unaligned offset. This will trigger an alignment fault on strict-alignment architectures such as ARMv5 or SPARC, resulting in a kernel panic. Fix the problem by using get_unaligned_be16() instead of be16_to_cpup(), and put_unaligned_be16() instead of cpu_to_be16().

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-08-28 08:16:54.983000
Last modified
2026-10-30 13:20:10.343000
View original CVE JSON
{
  "id": "CVE-2026-80695",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-08-28T08:16:54.983",
  "lastModified": "2026-10-30T13:20:10.343",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (sht3x) Fix unaligned accesses\n\nSashiko reports:\n\nIn sht3x_update_client(), the 16-bit temperature and humidity values are\nextracted from a stack-allocated byte array using be16_to_cpup(). The\npointers passed to this function are calculated as buf and buf + 3. Since\nthe difference between the two pointers is an odd number of bytes, at\nleast one of them is guaranteed to be at an unaligned offset.\n\nThis will trigger an alignment fault on strict-alignment architectures\nsuch as ARMv5 or SPARC, resulting in a kernel panic.\n\nFix the problem by using get_unaligned_be16() instead of be16_to_cpup(),\nand put_unaligned_be16() instead of cpu_to_be16()."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/hwmon/sht3x.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "7c84f7f80d6fcea36246b793d06c3555ca53ddcd",
              "lessThan": "3eed79d882c98f1805dc537ed393d8e257a46017",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c84f7f80d6fcea36246b793d06c3555ca53ddcd",
              "lessThan": "c41fa44be44e452e7aec2081195488d685026761",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c84f7f80d6fcea36246b793d06c3555ca53ddcd",
              "lessThan": "81529add4a2e3cca9240e0e2342973d62f88f02e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c84f7f80d6fcea36246b793d06c3555ca53ddcd",
              "lessThan": "c498adfd4c3e85306ccdc19b76e639bfc215f0e7",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c84f7f80d6fcea36246b793d06c3555ca53ddcd",
              "lessThan": "1fb41650bc3e14d2a5ddb4bb25e96811e5afe881",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "7c84f7f80d6fcea36246b793d06c3555ca53ddcd",
              "lessThan": "f46d5ab43a572b84773015a76966f5da56fc1748",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/hwmon/sht3x.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.8",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.8",
              "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.103",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.44",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.1.8",
              "lessThanOrEqual": "7.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/1fb41650bc3e14d2a5ddb4bb25e96811e5afe881",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3eed79d882c98f1805dc537ed393d8e257a46017",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/81529add4a2e3cca9240e0e2342973d62f88f02e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c41fa44be44e452e7aec2081195488d685026761",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/c498adfd4c3e85306ccdc19b76e639bfc215f0e7",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f46d5ab43a572b84773015a76966f5da56fc1748",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}