{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31606","published":"2026-04-24T15:16:39.830000Z","last_modified":"2026-11-11T23:10:00.263000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":[],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.19","version_end_excluding":"6.12.83"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.18.24"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"6.19.14"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"7.0","version_end_excluding":"7.0.1"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2026-31606/","html_en":"/en/cve/CVE-2026-31606/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31606","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31606"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_hid: don't call cdev_init while cdev in use\n\nWhen calling unbind, then bind again, cdev_init reinitialized the cdev,\neven though there may still be references to it. That's the case when\nthe /dev/hidg* device is still opened. This obviously unsafe behavior\nlike oopes.\n\nThis fixes this by using cdev_alloc to put the cdev on the heap. That\nway, we can simply allocate a new one in hidg_bind.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/3aa77f5da0ecb00895411f4246d8a3e4db0343c2","tags":[]},{"url":"https://git.kernel.org/stable/c/5a229016ca3ac551294ec59770be9da94ec4bf63","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/75ecc46828ec377dd5692c677168ef6d64fd7123","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/81ebd43cc0d6d106ce7b6ccbf7b5e40ca7f5503d","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/92f23ab86d9524bc51dae25ed916d0e69dce5992","tags":[]},{"url":"https://git.kernel.org/stable/c/c6c0d13db5d0f8d465eabc14bd23d2b6a7247a43","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/eb6ef6185f2054a341ec70d7e2165f5381744215","tags":["Patch"]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:21555-1","url":"https://www.suse.com/support/update/","published":"2026-08-12T01:09:28+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:23237-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623237-1/","published":"2026-08-11T21:34:22+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:23068-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202623068-1/","published":"2026-08-11T21:26:34+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}}]}