{"id":"CVE-2026-31759","summary":"usb: ulpi: fix double free in ulpi_register_interface() error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: ulpi: fix double free in ulpi_register_interface() error path\n\nWhen device_register() fails, ulpi_register() calls put_device() on\nulpi-\u003edev.\n\nThe device release callback ulpi_dev_release() drops the OF node\nreference and frees ulpi, but the current error path in\nulpi_register_interface() then calls kfree(ulpi) again, causing a\ndouble free.\n\nLet put_device() handle the cleanup through ulpi_dev_release() and\navoid freeing ulpi again in ulpi_register_interface().","modified":"2026-09-15T18:26:45.795937549Z","published":"2026-05-01T14:14:51.895Z","related":["SUSE-SU-2026:22433-1","SUSE-SU-2026:22436-1","SUSE-SU-2026:22458-1","SUSE-SU-2026:22460-1","SUSE-SU-2026:23066-1","SUSE-SU-2026:23068-1","SUSE-SU-2026:23193-1","SUSE-SU-2026:23194-1","SUSE-SU-2026:23221-1","SUSE-SU-2026:23231-1","SUSE-SU-2026:23237-1","SUSE-SU-2026:23241-1","SUSE-SU-2026:23244-1","SUSE-SU-2026:23266-1","SUSE-SU-2026:23267-1","SUSE-SU-2026:23268-1","SUSE-SU-2026:23269-1","SUSE-SU-2026:23270-1","SUSE-SU-2026:23271-1","SUSE-SU-2026:23272-1","SUSE-SU-2026:23287-1","SUSE-SU-2026:23288-1","SUSE-SU-2026:23290-1","SUSE-SU-2026:23291-1","SUSE-SU-2026:23292-1","SUSE-SU-2026:23293-1","SUSE-SU-2026:23296-1","SUSE-SU-2026:23336-1","SUSE-SU-2026:23337-1","SUSE-SU-2026:23338-1","SUSE-SU-2026:23339-1","SUSE-SU-2026:23340-1","SUSE-SU-2026:23341-1","SUSE-SU-2026:23343-1","SUSE-SU-2026:23368-1","SUSE-SU-2026:23369-1","SUSE-SU-2026:23370-1","SUSE-SU-2026:23371-1","SUSE-SU-2026:23372-1","SUSE-SU-2026:23373-1","SUSE-SU-2026:23383-1","SUSE-SU-2026:23384-1","SUSE-SU-2026:23385-1","SUSE-SU-2026:23386-1","SUSE-SU-2026:23387-1","SUSE-SU-2026:23388-1","SUSE-SU-2026:23389-1","SUSE-SU-2026:23418-1","SUSE-SU-2026:23419-1","SUSE-SU-2026:23421-1","SUSE-SU-2026:23422-1","SUSE-SU-2026:23423-1","SUSE-SU-2026:23424-1","SUSE-SU-2026:23425-1","SUSE-SU-2026:23426-1","SUSE-SU-2026:23427-1","SUSE-SU-2026:23428-1","SUSE-SU-2026:23429-1","SUSE-SU-2026:23430-1","SUSE-SU-2026:23431-1","SUSE-SU-2026:23482-1","SUSE-SU-2026:23541-1","SUSE-SU-2026:2450-1","SUSE-SU-2026:2630-1","SUSE-SU-2026:2631-1","SUSE-SU-2026:2632-1","SUSE-SU-2026:2638-1","SUSE-SU-2026:2658-1","SUSE-SU-2026:2722-1","SUSE-SU-2026:2799-1","SUSE-SU-2026:3593-1","SUSE-SU-2026:3594-1","SUSE-SU-2026:3595-1","SUSE-SU-2026:3602-1","SUSE-SU-2026:3616-1","SUSE-SU-2026:3617-1","SUSE-SU-2026:3689-1","SUSE-SU-2026:3696-1","SUSE-SU-2026:3697-1","SUSE-SU-2026:3702-1","SUSE-SU-2026:3703-1","SUSE-SU-2026:3704-1","SUSE-SU-2026:3706-1","SUSE-SU-2026:3707-1","SUSE-SU-2026:3708-1","SUSE-SU-2026:3709-1","SUSE-SU-2026:3710-1","SUSE-SU-2026:3715-1","SUSE-SU-2026:3719-1","SUSE-SU-2026:3721-1","SUSE-SU-2026:3722-1","SUSE-SU-2026:3723-1","SUSE-SU-2026:3724-1","SUSE-SU-2026:3726-1","SUSE-SU-2026:3728-1","SUSE-SU-2026:3729-1","SUSE-SU-2026:3739-1","SUSE-SU-2026:3740-1","SUSE-SU-2026:3743-1","SUSE-SU-2026:3744-1","SUSE-SU-2026:3747-1","SUSE-SU-2026:3748-1","SUSE-SU-2026:3749-1","SUSE-SU-2026:3750-1","SUSE-SU-2026:3754-1","SUSE-SU-2026:3756-1","SUSE-SU-2026:3757-1","SUSE-SU-2026:3759-1","SUSE-SU-2026:3760-1","SUSE-SU-2026:3761-1","SUSE-SU-2026:3766-1","SUSE-SU-2026:3768-1","SUSE-SU-2026:3771-1","SUSE-SU-2026:3775-1","SUSE-SU-2026:3776-1","SUSE-SU-2026:3790-1","SUSE-SU-2026:3810-1","SUSE-SU-2026:3826-1","openSUSE-SU-2026:21555-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31759.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/01af542392b5d41fd659d487015a71f627accce3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/272a9b26c336a295e4e209157fed809706c1b1f7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f70ba9dae13a190673cc3f9b4aad52179738f60"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38c28fe25611099230f0965c925499bfcf46a795"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8763f8317bb389aded32a32b08f6751cfff657d2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a6e5461f076c2ef63159f18e5cdbd30b50f0bc15"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aaeae6533d77e6ed4def85baec01e2815ebbef61"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee248e6e941e4f2e634df2bd43e5f1ef810ab6df"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31759.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31759"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"289fcff4bcdb1dcc0ce8788b7ea0f58a9e4a495f"},{"fixed":"2f70ba9dae13a190673cc3f9b4aad52179738f60"},{"fixed":"ee248e6e941e4f2e634df2bd43e5f1ef810ab6df"},{"fixed":"272a9b26c336a295e4e209157fed809706c1b1f7"},{"fixed":"aaeae6533d77e6ed4def85baec01e2815ebbef61"},{"fixed":"8763f8317bb389aded32a32b08f6751cfff657d2"},{"fixed":"38c28fe25611099230f0965c925499bfcf46a795"},{"fixed":"a6e5461f076c2ef63159f18e5cdbd30b50f0bc15"},{"fixed":"01af542392b5d41fd659d487015a71f627accce3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31759.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"fixed":"5.10.253"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.203"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.168"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.134"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.81"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.22"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31759.json"}}],"schema_version":"1.9.0"}