{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-99719", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2026-09-25T10:25:14.430Z", "datePublished": "2026-11-20T05:50:56.859Z", "dateUpdated": "2026-11-23T08:06:30.155Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-11-23T08:06:30.155Z" }, "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->vrm 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." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/hwmon/lm87.c" ], "versions": [ { "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903", "lessThan": "3547b2ba62c663211da61670dc37684aa5fb86b8", "status": "affected", "versionType": "git" }, { "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903", "lessThan": "aa1a9e462f67ed0e5677c9d881a96018cb250214", "status": "affected", "versionType": "git" }, { "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903", "lessThan": "7487e06e7f330dabf4059ac563be43e3525d3222", "status": "affected", "versionType": "git" }, { "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903", "lessThan": "0783b1fd85be407d4630477402ff8f399da8d144", "status": "affected", "versionType": "git" }, { "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903", "lessThan": "25ff5f904e1cb55ac700ce88db3a5a6b735b12bc", "status": "affected", "versionType": "git" }, { "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903", "lessThan": "b3b6489a11966c2e3a50574b0f08ada55530c10d", "status": "affected", "versionType": "git" }, { "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903", "lessThan": "8f5888c37a1a8f5462fdf72fb07d55f23fee5005", "status": "affected", "versionType": "git" }, { "version": "00a0c905ab4b2b47372be8da6a8442dcd3681903", "lessThan": "5b51ff0887b9f88d042b92dd07fcdda4132f0ebc", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/hwmon/lm87.c" ], "versions": [ { "version": "4.10", "status": "affected" }, { "version": "0", "lessThan": "4.10", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.275", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.226", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.193", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.163", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.12.118", "lessThanOrEqual": "6.12.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.18.64", "lessThanOrEqual": "6.18.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.3.5", "lessThanOrEqual": "7.3.*", "status": "unaffected", "versionType": "semver" }, { "version": "7.4-rc2", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "5.10.275" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "5.15.226" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "6.1.193" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "6.6.163" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "6.12.118" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "6.18.64" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "7.3.5" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.10", "versionEndExcluding": "7.4-rc2" } ] } ] } ], "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" } } } }