{"id":"DEBIAN-CVE-2022-50724","details":"In the Linux kernel, the following vulnerability has been resolved:  regulator: core: fix resource leak in regulator_register()  I got some resource leak reports while doing fault injection test:    OF: ERROR: memory leak, expected refcount 1 instead of 100,   of_node_get()/of_node_put() unbalanced - destroy cset entry:   attach overlay node /i2c/pmic@64/regulators/buck1  unreferenced object 0xffff88810deea000 (size 512):   comm \"490-i2c-rt5190a\", pid 253, jiffies 4294859840 (age 5061.046s)   hex dump (first 32 bytes):     00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00  .....N..........     ff ff ff ff ff ff ff ff a0 1e 00 a1 ff ff ff ff  ................   backtrace:     [\u003c00000000d78541e2\u003e] kmalloc_trace+0x21/0x110     [\u003c00000000b343d153\u003e] device_private_init+0x32/0xd0     [\u003c00000000be1f0c70\u003e] device_add+0xb2d/0x1030     [\u003c00000000e3e6344d\u003e] regulator_register+0xaf2/0x12a0     [\u003c00000000e2f5e754\u003e] devm_regulator_register+0x57/0xb0     [\u003c000000008b898197\u003e] rt5190a_probe+0x52a/0x861 [rt5190a_regulator]  unreferenced object 0xffff88810b617b80 (size 32):   comm \"490-i2c-rt5190a\", pid 253, jiffies 4294859904 (age 5060.983s)   hex dump (first 32 bytes):     72 65 67 75 6c 61 74 6f 72 2e 32 38 36 38 2d 53  regulator.2868-S     55 50 50 4c 59 00 ff ff 29 00 00 00 2b 00 00 00  UPPLY...)...+...   backtrace:     [\u003c000000009da9280d\u003e] __kmalloc_node_track_caller+0x44/0x1b0     [\u003c0000000025c6a4e5\u003e] kstrdup+0x3a/0x70     [\u003c00000000790efb69\u003e] create_regulator+0xc0/0x4e0     [\u003c0000000005ed203a\u003e] regulator_resolve_supply+0x2d4/0x440     [\u003c0000000045796214\u003e] regulator_register+0x10b3/0x12a0     [\u003c00000000e2f5e754\u003e] devm_regulator_register+0x57/0xb0     [\u003c000000008b898197\u003e] rt5190a_probe+0x52a/0x861 [rt5190a_regulator]  After calling regulator_resolve_supply(), the 'rdev-\u003esupply' is set by set_supply(), after this set, in the error path, the resources need be released, so call regulator_put() to avoid the leaks.","modified":"2026-09-01T16:05:36.174880679Z","published":"2025-12-24T13:15:59.057Z","upstream":["CVE-2022-50724"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-50724"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.4-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50724.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.4-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50724.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.4-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-50724.json"}}],"schema_version":"1.9.0"}