{"id":"AZL-115588","summary":"CVE-2026-99719 affecting package kernel 6.6.161.1-1","details":"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.","modified":"2026-11-21T14:17:24.032348075Z","published":"2026-11-20T06:18:08Z","upstream":["CVE-2026-99719"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99719"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-115588.json"}}],"schema_version":"1.9.2"}