{"api_version":"1","generated_at":"2026-11-20T07:30:02+00:00","cve":"CVE-2026-99719","urls":{"html":"https://cve.report/CVE-2026-99719","api":"https://cve.report/api/cve/CVE-2026-99719.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99719","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99719"},"summary":{"title":"hwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_store()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:08","updated_at":"2026-11-20 06:18:08"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/b3b6489a11966c2e3a50574b0f08ada55530c10d","name":"https://git.kernel.org/stable/c/b3b6489a11966c2e3a50574b0f08ada55530c10d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5b51ff0887b9f88d042b92dd07fcdda4132f0ebc","name":"https://git.kernel.org/stable/c/5b51ff0887b9f88d042b92dd07fcdda4132f0ebc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/25ff5f904e1cb55ac700ce88db3a5a6b735b12bc","name":"https://git.kernel.org/stable/c/25ff5f904e1cb55ac700ce88db3a5a6b735b12bc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8f5888c37a1a8f5462fdf72fb07d55f23fee5005","name":"https://git.kernel.org/stable/c/8f5888c37a1a8f5462fdf72fb07d55f23fee5005","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99719","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99719","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 00a0c905ab4b2b47372be8da6a8442dcd3681903 25ff5f904e1cb55ac700ce88db3a5a6b735b12bc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 00a0c905ab4b2b47372be8da6a8442dcd3681903 b3b6489a11966c2e3a50574b0f08ada55530c10d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 00a0c905ab4b2b47372be8da6a8442dcd3681903 8f5888c37a1a8f5462fdf72fb07d55f23fee5005 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 00a0c905ab4b2b47372be8da6a8442dcd3681903 5b51ff0887b9f88d042b92dd07fcdda4132f0ebc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.10","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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":"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":"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":"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->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."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:50:56.859Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"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-20T05:50:56.859Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:08","lastModifiedDate":"2026-11-20 06:18:08","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99719","Ordinal":"1","Title":"hwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_s","CVE":"CVE-2026-99719","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99719","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"hwmon: (lm87) Fix drvdata type confusion in vrm_show() and vrm_s"}]}}}