{"id":"DEBIAN-CVE-2021-47455","details":"In the Linux kernel, the following vulnerability has been resolved:  ptp: Fix possible memory leak in ptp_clock_register()  I got memory leak as follows when doing fault injection test:  unreferenced object 0xffff88800906c618 (size 8):   comm \"i2c-idt82p33931\", pid 4421, jiffies 4294948083 (age 13.188s)   hex dump (first 8 bytes):     70 74 70 30 00 00 00 00                          ptp0....   backtrace:     [\u003c00000000312ed458\u003e] __kmalloc_track_caller+0x19f/0x3a0     [\u003c0000000079f6e2ff\u003e] kvasprintf+0xb5/0x150     [\u003c0000000026aae54f\u003e] kvasprintf_const+0x60/0x190     [\u003c00000000f323a5f7\u003e] kobject_set_name_vargs+0x56/0x150     [\u003c000000004e35abdd\u003e] dev_set_name+0xc0/0x100     [\u003c00000000f20cfe25\u003e] ptp_clock_register+0x9f4/0xd30 [ptp]     [\u003c000000008bb9f0de\u003e] idt82p33_probe.cold+0x8b6/0x1561 [ptp_idt82p33]  When posix_clock_register() returns an error, the name allocated in dev_set_name() will be leaked, the put_device() should be used to give up the device reference, then the name will be freed in kobject_cleanup() and other memory will be freed in ptp_clock_release().","modified":"2026-09-15T09:02:35.892417267Z","published":"2024-05-22T07:15:10.530Z","upstream":["CVE-2021-47455"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2021-47455"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:12","purl":"pkg:deb/debian/linux?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.14.16-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-47455.json"}},{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.14.16-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-47455.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.14.16-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-47455.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}