cbcvebase.
CVE-2022-50724
published 2025-12-24

CVE-2022-50724: In the Linux kernel, the following vulnerability has been resolved: regulator: core: fix resource leak in regulator_register() I got some resource leak reports…

PriorityP419low5.5
EPSS
0.24%
14.6th percentile
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: [] kmalloc_trace+0x21/0x110 [] device_private_init+0x32/0xd0 [] device_add+0xb2d/0x1030 [] regulator_register+0xaf2/0x12a0 [] devm_regulator_register+0x57/0xb0 [] 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: [] __kmalloc_node_track_caller+0x44/0x1b0 [] kstrdup+0x3a/0x70 [] create_regulator+0xc0/0x4e0 [] regulator_resolve_supply+0x2d4/0x440 [] regulator_register+0x10b3/0x12a0 [] devm_regulator_register+0x57/0xb0 [] rt5190a_probe+0x52a/0x861 [rt5190a_regulator] After calling regulator_resolve_supply(), the 'rdev->supply' 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.

Affected

28 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.4-1 (bookworm)linux 6.1.4-1 (bookworm)
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux>= 0120ec32a7774b5061ced1a9a7ff833edd8b4cb6 < 35593d60b1622834984c43add7646d4069671aa935593d60b1622834984c43add7646d4069671aa9
linuxlinux>= 4.14.203 < 4.154.15
linuxlinux>= 4.19.153 < 4.204.20
linuxlinux>= 4.9.241 < 4.104.10
linuxlinux>= 5.4.73 < 5.4.2295.4.229
linuxlinux>= 5.8.17 < 5.95.9
linuxlinux>= 5.9.2 < 5.105.10
linuxlinux>= aea6cb99703e17019e025aa71643b4d3e0a24413 < 6a03c31d08f95dca9633a552de167b9e625833a86a03c31d08f95dca9633a552de167b9e625833a8
linuxlinux>= aea6cb99703e17019e025aa71643b4d3e0a24413 < c4c64d8abd656b9807b63178750fa91454602b86c4c64d8abd656b9807b63178750fa91454602b86
linuxlinux>= aea6cb99703e17019e025aa71643b4d3e0a24413 < 90b713aadc1240bf2dd03d610d6c1d016a9123a290b713aadc1240bf2dd03d610d6c1d016a9123a2
linuxlinux>= aea6cb99703e17019e025aa71643b4d3e0a24413 < f86b2f216636790d5922458578825e4628fb570ff86b2f216636790d5922458578825e4628fb570f
linuxlinux>= aea6cb99703e17019e025aa71643b4d3e0a24413 < ba62319a42c50e6254e98b3f316464fac8e77968ba62319a42c50e6254e98b3f316464fac8e77968
linuxlinux_kernel>= 0 < 5.10.178-15.10.178-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 0 < 6.1.4-16.1.4-1
linuxlinux_kernel>= 0 < 5.4.2295.4.229
linuxlinux_kernel>= 5.10.0 < 5.15.865.15.86
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.