{"id":"CVE-2026-142962","summary":"iio: gyro: bmg160: reject duplicate event disable","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: gyro: bmg160: reject duplicate event disable\n\nThe IIO core does not filter duplicate writes to the event enable\nattribute. bmg160_write_event_config() already ignores repeated enable\nrequests, but a repeated disable request still calls\nbmg160_set_power_state(data, false), dropping a runtime PM reference\nthat was not acquired for this request. This can underflow the runtime\nPM usage count and trigger a \"Runtime PM usage count underflow\" warning.\n\nReturn early when the requested state already matches ev_enable_state.","modified":"2026-12-03T11:00:31.508869896Z","published":"2026-12-03T09:16:51.370Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142962.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1b99242f0d00470363776a6eddf5606ae42308cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2c07497e23b911e3df75d88d738f45d23025b318"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3b20ae4582d9b8aefe2c6aed94e40fe531c41e50"},{"type":"WEB","url":"https://git.kernel.org/stable/c/84e8ce1fb690be4b4ee092b501348cf56435a6c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0c8bd5d18a492d64d05482f4b1700e14df7ff84"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f898069c933259c7f4461a9bd380111e30239cbe"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142962.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142962"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"22b46c45fb9be8ec1fcb4d9b74810e6a20ff67cc"},{"fixed":"84e8ce1fb690be4b4ee092b501348cf56435a6c4"},{"fixed":"2c07497e23b911e3df75d88d738f45d23025b318"},{"fixed":"1b99242f0d00470363776a6eddf5606ae42308cf"},{"fixed":"f898069c933259c7f4461a9bd380111e30239cbe"},{"fixed":"3b20ae4582d9b8aefe2c6aed94e40fe531c41e50"},{"fixed":"d0c8bd5d18a492d64d05482f4b1700e14df7ff84"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142962.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.18.0"},{"fixed":"5.10.276"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142962.json"}}],"schema_version":"1.9.2"}