CVE-2026-99719 (GCVE-0-2026-99719)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:50 – Updated: 2026-11-23 08:06
VLAI
Title
hwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_store()
Summary
In the Linux kernel, the following vulnerability has been resolved: hwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_store() When an LM87 or ADM1024 device is probed with VID support enabled, reading from or writing to the vrm sysfs attribute triggers a driver data type confusion in vrm_show() and vrm_store() in drivers/hwmon/lm87.c. In lm87_probe(), the driver stores the struct lm87_data pointer on the I2C client via i2c_set_clientdata() and passes the struct i2c_client pointer as the drvdata argument to devm_hwmon_device_register_with_groups(), which attaches the attribute groups to the registered hwmon device with client as its driver_data. Unlike the other sysfs callbacks that retrieve client via dev_get_drvdata() and then obtain data via i2c_get_clientdata(), vrm_show() and vrm_store() assign dev_get_drvdata(dev) directly to struct lm87_data *. Dereferencing data->vrm therefore accesses the struct i2c_client instance at offsetof(struct lm87_data, vrm), causing vrm_show() to leak an unrelated byte from struct i2c_client to userspace and vrm_store() to corrupt a byte within struct i2c_client while failing to update the actual VRM value. Fix the problem by assigning the return value from dev_get_drvdata(dev) to struct i2c_client *client and using i2c_get_clientdata() to get the actual client data.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 00a0c905ab4b2b47372be8da6a8442dcd3681903 , < 3547b2ba62c663211da61670dc37684aa5fb86b8 (git)
Affected: 00a0c905ab4b2b47372be8da6a8442dcd3681903 , < aa1a9e462f67ed0e5677c9d881a96018cb250214 (git)
Affected: 00a0c905ab4b2b47372be8da6a8442dcd3681903 , < 7487e06e7f330dabf4059ac563be43e3525d3222 (git)
Affected: 00a0c905ab4b2b47372be8da6a8442dcd3681903 , < 0783b1fd85be407d4630477402ff8f399da8d144 (git)
Affected: 00a0c905ab4b2b47372be8da6a8442dcd3681903 , < 25ff5f904e1cb55ac700ce88db3a5a6b735b12bc (git)
Affected: 00a0c905ab4b2b47372be8da6a8442dcd3681903 , < b3b6489a11966c2e3a50574b0f08ada55530c10d (git)
Affected: 00a0c905ab4b2b47372be8da6a8442dcd3681903 , < 8f5888c37a1a8f5462fdf72fb07d55f23fee5005 (git)
Affected: 00a0c905ab4b2b47372be8da6a8442dcd3681903 , < 5b51ff0887b9f88d042b92dd07fcdda4132f0ebc (git)
Create a notification for this product.
Linux Linux Affected: 4.10
Unaffected: 0 , < 4.10 (semver)
Unaffected: 5.10.275 , ≤ 5.10.* (semver)
Unaffected: 5.15.226 , ≤ 5.15.* (semver)
Unaffected: 6.1.193 , ≤ 6.1.* (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/hwmon/lm87.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3547b2ba62c663211da61670dc37684aa5fb86b8",
              "status": "affected",
              "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
              "versionType": "git"
            },
            {
              "lessThan": "aa1a9e462f67ed0e5677c9d881a96018cb250214",
              "status": "affected",
              "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
              "versionType": "git"
            },
            {
              "lessThan": "7487e06e7f330dabf4059ac563be43e3525d3222",
              "status": "affected",
              "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
              "versionType": "git"
            },
            {
              "lessThan": "0783b1fd85be407d4630477402ff8f399da8d144",
              "status": "affected",
              "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
              "versionType": "git"
            },
            {
              "lessThan": "25ff5f904e1cb55ac700ce88db3a5a6b735b12bc",
              "status": "affected",
              "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
              "versionType": "git"
            },
            {
              "lessThan": "b3b6489a11966c2e3a50574b0f08ada55530c10d",
              "status": "affected",
              "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
              "versionType": "git"
            },
            {
              "lessThan": "8f5888c37a1a8f5462fdf72fb07d55f23fee5005",
              "status": "affected",
              "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
              "versionType": "git"
            },
            {
              "lessThan": "5b51ff0887b9f88d042b92dd07fcdda4132f0ebc",
              "status": "affected",
              "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/hwmon/lm87.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.10"
            },
            {
              "lessThan": "4.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.275",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.226",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.193",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "4.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_store()\n\nWhen an LM87 or ADM1024 device is probed with VID support enabled, reading\nfrom or writing to the vrm sysfs attribute triggers a driver data type\nconfusion in vrm_show() and vrm_store() in drivers/hwmon/lm87.c.\n\nIn lm87_probe(), the driver stores the struct lm87_data pointer on the I2C\nclient via i2c_set_clientdata() and passes the struct i2c_client pointer as\nthe drvdata argument to devm_hwmon_device_register_with_groups(), which\nattaches the attribute groups to the registered hwmon device with client as\nits driver_data. Unlike the other sysfs callbacks that retrieve client via\ndev_get_drvdata() and then obtain data via i2c_get_clientdata(), vrm_show()\nand vrm_store() assign dev_get_drvdata(dev) directly to struct lm87_data *.\nDereferencing data-\u003evrm therefore accesses the struct i2c_client instance\nat offsetof(struct lm87_data, vrm), causing vrm_show() to leak an unrelated\nbyte from struct i2c_client to userspace and vrm_store() to corrupt a byte\nwithin struct i2c_client while failing to update the actual VRM value.\n\nFix the problem by assigning the return value from dev_get_drvdata(dev) to\nstruct i2c_client *client and using i2c_get_clientdata() to get the actual\nclient data."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-23T08:06:30.155Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3547b2ba62c663211da61670dc37684aa5fb86b8"
        },
        {
          "url": "https://git.kernel.org/stable/c/aa1a9e462f67ed0e5677c9d881a96018cb250214"
        },
        {
          "url": "https://git.kernel.org/stable/c/7487e06e7f330dabf4059ac563be43e3525d3222"
        },
        {
          "url": "https://git.kernel.org/stable/c/0783b1fd85be407d4630477402ff8f399da8d144"
        },
        {
          "url": "https://git.kernel.org/stable/c/25ff5f904e1cb55ac700ce88db3a5a6b735b12bc"
        },
        {
          "url": "https://git.kernel.org/stable/c/b3b6489a11966c2e3a50574b0f08ada55530c10d"
        },
        {
          "url": "https://git.kernel.org/stable/c/8f5888c37a1a8f5462fdf72fb07d55f23fee5005"
        },
        {
          "url": "https://git.kernel.org/stable/c/5b51ff0887b9f88d042b92dd07fcdda4132f0ebc"
        }
      ],
      "title": "hwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_store()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99719",
    "datePublished": "2026-11-20T05:50:56.859Z",
    "dateReserved": "2026-09-25T10:25:14.430Z",
    "dateUpdated": "2026-11-23T08:06:30.155Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99719",
      "date": "2026-11-24",
      "epss": "0.00177",
      "percentile": "0.0719"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-25T01:10:24.000Z",
      "cve": "CVE-2026-99719",
      "id": "msrc_CVE-2026-99719",
      "initial_release_date": "2026-11-20T18:15:50.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "hwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_store()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99719.json",
      "version": "4"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/hwmon/lm87.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "3547b2ba62c663211da61670dc37684aa5fb86b8",
                    "status": "affected",
                    "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "aa1a9e462f67ed0e5677c9d881a96018cb250214",
                    "status": "affected",
                    "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7487e06e7f330dabf4059ac563be43e3525d3222",
                    "status": "affected",
                    "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0783b1fd85be407d4630477402ff8f399da8d144",
                    "status": "affected",
                    "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "25ff5f904e1cb55ac700ce88db3a5a6b735b12bc",
                    "status": "affected",
                    "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b3b6489a11966c2e3a50574b0f08ada55530c10d",
                    "status": "affected",
                    "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8f5888c37a1a8f5462fdf72fb07d55f23fee5005",
                    "status": "affected",
                    "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5b51ff0887b9f88d042b92dd07fcdda4132f0ebc",
                    "status": "affected",
                    "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/hwmon/lm87.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "4.10"
                  },
                  {
                    "lessThan": "4.10",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.275",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.226",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.193",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc2",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_store()\n\nWhen an LM87 or ADM1024 device is probed with VID support enabled, reading\nfrom or writing to the vrm sysfs attribute triggers a driver data type\nconfusion in vrm_show() and vrm_store() in drivers/hwmon/lm87.c.\n\nIn lm87_probe(), the driver stores the struct lm87_data pointer on the I2C\nclient via i2c_set_clientdata() and passes the struct i2c_client pointer as\nthe drvdata argument to devm_hwmon_device_register_with_groups(), which\nattaches the attribute groups to the registered hwmon device with client as\nits driver_data. Unlike the other sysfs callbacks that retrieve client via\ndev_get_drvdata() and then obtain data via i2c_get_clientdata(), vrm_show()\nand vrm_store() assign dev_get_drvdata(dev) directly to struct lm87_data *.\nDereferencing data-\u003evrm therefore accesses the struct i2c_client instance\nat offsetof(struct lm87_data, vrm), causing vrm_show() to leak an unrelated\nbyte from struct i2c_client to userspace and vrm_store() to corrupt a byte\nwithin struct i2c_client while failing to update the actual VRM value.\n\nFix the problem by assigning the return value from dev_get_drvdata(dev) to\nstruct i2c_client *client and using i2c_get_clientdata() to get the actual\nclient data."
          }
        ],
        "id": "CVE-2026-99719",
        "lastModified": "2026-11-23T08:18:12.583",
        "metrics": {},
        "published": "2026-11-20T06:18:08.533",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0783b1fd85be407d4630477402ff8f399da8d144"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/25ff5f904e1cb55ac700ce88db3a5a6b735b12bc"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/3547b2ba62c663211da61670dc37684aa5fb86b8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5b51ff0887b9f88d042b92dd07fcdda4132f0ebc"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7487e06e7f330dabf4059ac563be43e3525d3222"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8f5888c37a1a8f5462fdf72fb07d55f23fee5005"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/aa1a9e462f67ed0e5677c9d881a96018cb250214"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b3b6489a11966c2e3a50574b0f08ada55530c10d"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-24T23:22:02+00:00",
      "cve": "CVE-2026-99719",
      "id": "CVE-2026-99719",
      "initial_release_date": "2026-11-20T05:50:56.859000+00:00",
      "product_status:known_affected": "252",
      "product_status:known_not_affected": "28",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: memory corruption in lm87 driver via vrm sysfs attribute",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99719.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-25T00:59:52Z",
      "cve": "CVE-2026-99719",
      "id": "CVE-2026-99719",
      "initial_release_date": "2026-11-20T17:41:24Z",
      "product_status:known_affected": "260",
      "product_status:known_not_affected": "91",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99719",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99719.json",
      "version": "4"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…