{"id":"CVE-2026-53286","summary":"idpf: fix double free and use-after-free in aux device error paths","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nidpf: fix double free and use-after-free in aux device error paths\n\nWhen auxiliary_device_add() fails in idpf_plug_vport_aux_dev() or\nidpf_plug_core_aux_dev(), the err_aux_dev_add label calls\nauxiliary_device_uninit() and falls through to err_aux_dev_init.  The\nuninit call will trigger put_device(), which invokes the release\ncallback (idpf_vport_adev_release / idpf_core_adev_release) that frees\niadev.  The fall-through then reads adev-\u003eid from the freed iadev for\nida_free() and double-frees iadev with kfree().\n\nFree the IDA slot and clear the back-pointer before uninit, while adev\nis still valid, then return immediately.\n\nCommit 65637c3a1811 (\"idpf: fix UAF in RDMA core aux dev deinitialization\")\nfixed the same use-after-free in the matching unplug path in this file but\nmissed both probe error paths.","modified":"2026-07-15T01:49:15.071303824Z","published":"2026-06-26T19:40:47.210Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53286.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6c77b9510829a424d1b74409b7db9456e3522871"},{"type":"WEB","url":"https://git.kernel.org/stable/c/722b91d5086a249318c9d0e2b36aeac80ba8c808"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f319de7074e1728a9f9ff7134257360c694ec2b2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53286.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53286"},{"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":"f4312e6bfa2a98e94dacc75f96f916b76bdf4259"},{"fixed":"722b91d5086a249318c9d0e2b36aeac80ba8c808"},{"fixed":"f319de7074e1728a9f9ff7134257360c694ec2b2"},{"fixed":"6c77b9510829a424d1b74409b7db9456e3522871"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53286.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.17.0"},{"fixed":"6.18.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53286.json"}}],"schema_version":"1.7.5"}